For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/ko/api/latest/agent-observability/trigger-a-patterns-run.md. A documentation index is available at /llms.txt.
Language
Datadog site

패턴 실행 트리거

경고Note: This endpoint is in preview and is subject to change. If you have any feedback, contact Datadog support.
POSThttps://api.datadoghq.com/api/v2/llm-obs/v1/topic-discovery-runshttps://api.us3.datadoghq.com/api/v2/llm-obs/v1/topic-discovery-runshttps://api.us5.datadoghq.com/api/v2/llm-obs/v1/topic-discovery-runshttps://api.datadoghq.eu/api/v2/llm-obs/v1/topic-discovery-runshttps://api.ap1.datadoghq.com/api/v2/llm-obs/v1/topic-discovery-runshttps://api.ap2.datadoghq.com/api/v2/llm-obs/v1/topic-discovery-runshttps://api.uk1.datadoghq.com/api/v2/llm-obs/v1/topic-discovery-runshttps://api.ddog-gov.com/api/v2/llm-obs/v1/topic-discovery-runshttps://api.us2.ddog-gov.com/api/v2/llm-obs/v1/topic-discovery-runs

개요

지정된 구성에 대한 패턴 실행을 시작합니다. 실행은 비동기적으로 수행됩니다.

요청

Body Data (required)

패턴 트리거 페이로드입니다.

항목
유형
설명
data [required]
object

Agent Observability 패턴 실행을 트리거하도록 요청합니다.

응답

Accepted

Response after triggering an Agent Observability patterns run.

항목
유형
설명
data [required]
object

Data object of an Agent Observability patterns trigger response.

코드 예시

# 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 POST "https://api.${DD_SITE}/api/v2/llm-obs/v1/topic-discovery-runs" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "config_id": "a7c8d9e0-1234-5678-9abc-def012345678"
    },
    "type": "topic_discovery"
  }
}
EOF
# 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 POST "https://api.${DD_SITE}/api/v2/llm-obs/v1/topic-discovery-runs" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "config_id": "a7c8d9e0-1234-5678-9abc-def012345678"
    },
    "type": "topic_discovery"
  }
}
EOF
# 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 POST "https://api.${DD_SITE}/api/v2/llm-obs/v1/topic-discovery-runs" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "config_id": "a7c8d9e0-1234-5678-9abc-def012345678"
    },
    "type": "topic_discovery"
  }
}
EOF
# 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 POST "https://api.${DD_SITE}/api/v2/llm-obs/v1/topic-discovery-runs" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "config_id": "a7c8d9e0-1234-5678-9abc-def012345678"
    },
    "type": "topic_discovery"
  }
}
EOF
# 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 POST "https://api.${DD_SITE}/api/v2/llm-obs/v1/topic-discovery-runs" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "config_id": "a7c8d9e0-1234-5678-9abc-def012345678"
    },
    "type": "topic_discovery"
  }
}
EOF
# 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 POST "https://api.${DD_SITE}/api/v2/llm-obs/v1/topic-discovery-runs" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "config_id": "a7c8d9e0-1234-5678-9abc-def012345678"
    },
    "type": "topic_discovery"
  }
}
EOF
# 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 POST "https://api.${DD_SITE}/api/v2/llm-obs/v1/topic-discovery-runs" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "config_id": "a7c8d9e0-1234-5678-9abc-def012345678"
    },
    "type": "topic_discovery"
  }
}
EOF
# 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 POST "https://api.${DD_SITE}/api/v2/llm-obs/v1/topic-discovery-runs" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "config_id": "a7c8d9e0-1234-5678-9abc-def012345678"
    },
    "type": "topic_discovery"
  }
}
EOF
# 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 POST "https://api.${DD_SITE}/api/v2/llm-obs/v1/topic-discovery-runs" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "config_id": "a7c8d9e0-1234-5678-9abc-def012345678"
    },
    "type": "topic_discovery"
  }
}
EOF