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/simple-search-experimentation-entities.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/experimentation/simple-searchhttps://api.us3.datadoghq.com/api/v2/llm-obs/v1/experimentation/simple-searchhttps://api.us5.datadoghq.com/api/v2/llm-obs/v1/experimentation/simple-searchhttps://api.datadoghq.eu/api/v2/llm-obs/v1/experimentation/simple-searchhttps://api.ap1.datadoghq.com/api/v2/llm-obs/v1/experimentation/simple-searchhttps://api.ap2.datadoghq.com/api/v2/llm-obs/v1/experimentation/simple-searchhttps://api.uk1.datadoghq.com/api/v2/llm-obs/v1/experimentation/simple-searchhttps://api.ddog-gov.com/api/v2/llm-obs/v1/experimentation/simple-searchhttps://api.us2.ddog-gov.com/api/v2/llm-obs/v1/experimentation/simple-search

개요

오프셋 기반(페이지 번호) 페이지 매김을 사용하여 Agent Observability 실험 엔터티를 검색합니다. 총 페이지 수가 필요하거나 특정 페이지 번호로 이동하려는 경우 이 엔드포인트를 사용합니다.

filter.scope 필드는 반환될 엔터티 유형을 제어합니다. 최소 하나의 유효한 범위가 제공되어야 합니다.

요청

Body Data (required)

단순 검색 페이로드입니다.

항목
유형
설명
data [required]
object

오프셋 기반 페이지 매김을 사용하여 Agent Observability 실험 엔터티 간에 검색하도록 요청합니다.

응답

OK

Response to an offset-based experimentation simple search.

항목
유형
설명
data [required]
object

JSON:API data object for a simple search response.

meta
object

Pagination metadata for a simple search 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/experimentation/simple-search" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "filter": {
        "query": "@project_id:a33671aa-24fd-4dcd-9b33-a8ec7dde7751",
        "scope": [
          "experiments"
        ]
      },
      "page": {
        "limit": 50,
        "number": 1
      },
      "sort": [
        {
          "direction": "desc",
          "field": "created_at"
        }
      ]
    },
    "type": "experimentation"
  }
}
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/experimentation/simple-search" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "filter": {
        "query": "@project_id:a33671aa-24fd-4dcd-9b33-a8ec7dde7751",
        "scope": [
          "experiments"
        ]
      },
      "page": {
        "limit": 50,
        "number": 1
      },
      "sort": [
        {
          "direction": "desc",
          "field": "created_at"
        }
      ]
    },
    "type": "experimentation"
  }
}
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/experimentation/simple-search" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "filter": {
        "query": "@project_id:a33671aa-24fd-4dcd-9b33-a8ec7dde7751",
        "scope": [
          "experiments"
        ]
      },
      "page": {
        "limit": 50,
        "number": 1
      },
      "sort": [
        {
          "direction": "desc",
          "field": "created_at"
        }
      ]
    },
    "type": "experimentation"
  }
}
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/experimentation/simple-search" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "filter": {
        "query": "@project_id:a33671aa-24fd-4dcd-9b33-a8ec7dde7751",
        "scope": [
          "experiments"
        ]
      },
      "page": {
        "limit": 50,
        "number": 1
      },
      "sort": [
        {
          "direction": "desc",
          "field": "created_at"
        }
      ]
    },
    "type": "experimentation"
  }
}
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/experimentation/simple-search" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "filter": {
        "query": "@project_id:a33671aa-24fd-4dcd-9b33-a8ec7dde7751",
        "scope": [
          "experiments"
        ]
      },
      "page": {
        "limit": 50,
        "number": 1
      },
      "sort": [
        {
          "direction": "desc",
          "field": "created_at"
        }
      ]
    },
    "type": "experimentation"
  }
}
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/experimentation/simple-search" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "filter": {
        "query": "@project_id:a33671aa-24fd-4dcd-9b33-a8ec7dde7751",
        "scope": [
          "experiments"
        ]
      },
      "page": {
        "limit": 50,
        "number": 1
      },
      "sort": [
        {
          "direction": "desc",
          "field": "created_at"
        }
      ]
    },
    "type": "experimentation"
  }
}
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/experimentation/simple-search" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "filter": {
        "query": "@project_id:a33671aa-24fd-4dcd-9b33-a8ec7dde7751",
        "scope": [
          "experiments"
        ]
      },
      "page": {
        "limit": 50,
        "number": 1
      },
      "sort": [
        {
          "direction": "desc",
          "field": "created_at"
        }
      ]
    },
    "type": "experimentation"
  }
}
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/experimentation/simple-search" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "filter": {
        "query": "@project_id:a33671aa-24fd-4dcd-9b33-a8ec7dde7751",
        "scope": [
          "experiments"
        ]
      },
      "page": {
        "limit": 50,
        "number": 1
      },
      "sort": [
        {
          "direction": "desc",
          "field": "created_at"
        }
      ]
    },
    "type": "experimentation"
  }
}
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/experimentation/simple-search" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "filter": {
        "query": "@project_id:a33671aa-24fd-4dcd-9b33-a8ec7dde7751",
        "scope": [
          "experiments"
        ]
      },
      "page": {
        "limit": 50,
        "number": 1
      },
      "sort": [
        {
          "direction": "desc",
          "field": "created_at"
        }
      ]
    },
    "type": "experimentation"
  }
}
EOF