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/list-events-for-an-agent-observability-experiment.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.
GEThttps://api.datadoghq.com/api/v2/llm-obs/v3/experiments/{experiment_id}/eventshttps://api.us3.datadoghq.com/api/v2/llm-obs/v3/experiments/{experiment_id}/eventshttps://api.us5.datadoghq.com/api/v2/llm-obs/v3/experiments/{experiment_id}/eventshttps://api.datadoghq.eu/api/v2/llm-obs/v3/experiments/{experiment_id}/eventshttps://api.ap1.datadoghq.com/api/v2/llm-obs/v3/experiments/{experiment_id}/eventshttps://api.ap2.datadoghq.com/api/v2/llm-obs/v3/experiments/{experiment_id}/eventshttps://api.uk1.datadoghq.com/api/v2/llm-obs/v3/experiments/{experiment_id}/eventshttps://api.ddog-gov.com/api/v2/llm-obs/v3/experiments/{experiment_id}/eventshttps://api.us2.ddog-gov.com/api/v2/llm-obs/v3/experiments/{experiment_id}/events

개요

커서 기반 페이지 매김을 사용하여 특정 실험에 대한 스팬 및 실험 수준 요약 메트릭을 검색합니다.

인수

경로 파라미터

이름
유형
설명
experiment_id [required]
string

The ID of the Agent Observability experiment.

쿼리 문자열

이름
유형
설명
page[limit]
integer

Maximum number of spans to return per page. Defaults to 5000.

Default: 5000
page[cursor]
string

Opaque cursor from a previous response to fetch the next page of results.

응답

OK

Response for listing experiment events (v2/v3). Returns spans and summary metrics in a single resource.

항목
유형
설명
data [required]
object

JSON:API data object for an experiment events response.

meta
object

Pagination cursor metadata.

코드 예시

# Path parameters
export experiment_id="3fd6b5e0-8910-4b1c-a7d0-5b84de329012"

# 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 GET "https://api.${DD_SITE}/api/v2/llm-obs/v3/experiments/${experiment_id}/events" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Path parameters
export experiment_id="3fd6b5e0-8910-4b1c-a7d0-5b84de329012"

# 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 GET "https://api.${DD_SITE}/api/v2/llm-obs/v3/experiments/${experiment_id}/events" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Path parameters
export experiment_id="3fd6b5e0-8910-4b1c-a7d0-5b84de329012"

# 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 GET "https://api.${DD_SITE}/api/v2/llm-obs/v3/experiments/${experiment_id}/events" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Path parameters
export experiment_id="3fd6b5e0-8910-4b1c-a7d0-5b84de329012"

# 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 GET "https://api.${DD_SITE}/api/v2/llm-obs/v3/experiments/${experiment_id}/events" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Path parameters
export experiment_id="3fd6b5e0-8910-4b1c-a7d0-5b84de329012"

# 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 GET "https://api.${DD_SITE}/api/v2/llm-obs/v3/experiments/${experiment_id}/events" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Path parameters
export experiment_id="3fd6b5e0-8910-4b1c-a7d0-5b84de329012"

# 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 GET "https://api.${DD_SITE}/api/v2/llm-obs/v3/experiments/${experiment_id}/events" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Path parameters
export experiment_id="3fd6b5e0-8910-4b1c-a7d0-5b84de329012"

# 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 GET "https://api.${DD_SITE}/api/v2/llm-obs/v3/experiments/${experiment_id}/events" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Path parameters
export experiment_id="3fd6b5e0-8910-4b1c-a7d0-5b84de329012"

# 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 GET "https://api.${DD_SITE}/api/v2/llm-obs/v3/experiments/${experiment_id}/events" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Path parameters
export experiment_id="3fd6b5e0-8910-4b1c-a7d0-5b84de329012"

# 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 GET "https://api.${DD_SITE}/api/v2/llm-obs/v3/experiments/${experiment_id}/events" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"