For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ko/api/latest/agent-observability/update-an-agent-observability-annotation-queue.md. A documentation index is available at /llms.txt.
Language
Datadog site

Agent Observability 주석 대기열 업데이트

경고Note: This endpoint is in preview and is subject to change. If you have any feedback, contact Datadog support.
PATCHhttps://api.datadoghq.com/api/v2/llm-obs/v1/annotation-queues/{queue_id}https://api.us3.datadoghq.com/api/v2/llm-obs/v1/annotation-queues/{queue_id}https://api.us5.datadoghq.com/api/v2/llm-obs/v1/annotation-queues/{queue_id}https://api.datadoghq.eu/api/v2/llm-obs/v1/annotation-queues/{queue_id}https://api.ap1.datadoghq.com/api/v2/llm-obs/v1/annotation-queues/{queue_id}https://api.ap2.datadoghq.com/api/v2/llm-obs/v1/annotation-queues/{queue_id}https://api.uk1.datadoghq.com/api/v2/llm-obs/v1/annotation-queues/{queue_id}https://api.ddog-gov.com/api/v2/llm-obs/v1/annotation-queues/{queue_id}https://api.us2.ddog-gov.com/api/v2/llm-obs/v1/annotation-queues/{queue_id}

개요

주석 대기열을 부분적으로 업데이트합니다. name, description, annotation_schema, reviewer_emails, restrict_to_reviewers 및 restrict_to_assignees 필드는 업데이트할 수 있습니다.

인수

경로 파라미터

이름
유형
설명
queue_id [required]
string

The ID of the Agent Observability annotation queue.

요청

Body Data (required)

주석 대기열 페이로드를 업데이트합니다.

항목
유형
설명
data [required]
object

Agent Observability 주석 대기열 업데이트 요청입니다.

응답

OK

Response containing a single Agent Observability annotation queue.

항목
유형
설명
data [required]
object

Data object for an Agent Observability annotation queue.

코드 예시

Agent Observability 주석 대기열 업데이트
# Path parameters
export queue_id="00000000-0000-0000-0000-000000000001"

# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/llm-obs/v1/annotation-queues/${queue_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "description": "Updated description",
      "name": "Updated queue name",
      "restrict_to_assignees": false,
      "restrict_to_reviewers": true,
      "reviewer_emails": [
        "reviewer@example.com"
      ]
    },
    "type": "queues"
  }
}
EOF
# Path parameters
export queue_id="00000000-0000-0000-0000-000000000001"

# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/llm-obs/v1/annotation-queues/${queue_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "description": "Updated description",
      "name": "Updated queue name",
      "restrict_to_assignees": false,
      "restrict_to_reviewers": true,
      "reviewer_emails": [
        "reviewer@example.com"
      ]
    },
    "type": "queues"
  }
}
EOF
# Path parameters
export queue_id="00000000-0000-0000-0000-000000000001"

# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/llm-obs/v1/annotation-queues/${queue_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "description": "Updated description",
      "name": "Updated queue name",
      "restrict_to_assignees": false,
      "restrict_to_reviewers": true,
      "reviewer_emails": [
        "reviewer@example.com"
      ]
    },
    "type": "queues"
  }
}
EOF
# Path parameters
export queue_id="00000000-0000-0000-0000-000000000001"

# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/llm-obs/v1/annotation-queues/${queue_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "description": "Updated description",
      "name": "Updated queue name",
      "restrict_to_assignees": false,
      "restrict_to_reviewers": true,
      "reviewer_emails": [
        "reviewer@example.com"
      ]
    },
    "type": "queues"
  }
}
EOF
# Path parameters
export queue_id="00000000-0000-0000-0000-000000000001"

# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/llm-obs/v1/annotation-queues/${queue_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "description": "Updated description",
      "name": "Updated queue name",
      "restrict_to_assignees": false,
      "restrict_to_reviewers": true,
      "reviewer_emails": [
        "reviewer@example.com"
      ]
    },
    "type": "queues"
  }
}
EOF
# Path parameters
export queue_id="00000000-0000-0000-0000-000000000001"

# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/llm-obs/v1/annotation-queues/${queue_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "description": "Updated description",
      "name": "Updated queue name",
      "restrict_to_assignees": false,
      "restrict_to_reviewers": true,
      "reviewer_emails": [
        "reviewer@example.com"
      ]
    },
    "type": "queues"
  }
}
EOF
# Path parameters
export queue_id="00000000-0000-0000-0000-000000000001"

# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/llm-obs/v1/annotation-queues/${queue_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "description": "Updated description",
      "name": "Updated queue name",
      "restrict_to_assignees": false,
      "restrict_to_reviewers": true,
      "reviewer_emails": [
        "reviewer@example.com"
      ]
    },
    "type": "queues"
  }
}
EOF
# Path parameters
export queue_id="00000000-0000-0000-0000-000000000001"

# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/llm-obs/v1/annotation-queues/${queue_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "description": "Updated description",
      "name": "Updated queue name",
      "restrict_to_assignees": false,
      "restrict_to_reviewers": true,
      "reviewer_emails": [
        "reviewer@example.com"
      ]
    },
    "type": "queues"
  }
}
EOF
# Path parameters
export queue_id="00000000-0000-0000-0000-000000000001"

# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/llm-obs/v1/annotation-queues/${queue_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "description": "Updated description",
      "name": "Updated queue name",
      "restrict_to_assignees": false,
      "restrict_to_reviewers": true,
      "reviewer_emails": [
        "reviewer@example.com"
      ]
    },
    "type": "queues"
  }
}
EOF