Response containing a list of Agent Observability annotation queues.
Expand All
항목
유형
설명
data [required]
[object]
List of annotation queues.
attributes [required]
object
Attributes of an Agent Observability annotation queue.
annotation_schema
object
Schema defining the labels for an annotation queue.
label_schemas [required]
[object]
List of label schema definitions.
description
string
Description of the label.
has_assessment
boolean
Whether this label includes an assessment field.
has_reasoning
boolean
Whether this label includes a reasoning field.
id
string
Unique identifier of the label schema. Assigned by the server if not provided.
is_assessment
boolean
Whether the boolean label represents an assessment. Requires has_assessment to be true.
is_integer
boolean
Whether score values must be integers. Applicable to score-type labels.
is_required
boolean
Whether this label is required for an annotation.
max
double
Maximum value for score-type labels.
min
double
Minimum value for score-type labels.
name [required]
string
Name of the label. Must match the pattern ^[a-zA-Z0-9_-]+$ and be unique within the queue.
type [required]
enum
Type of a label in an annotation queue label schema.
Allowed enum values: score,categorical,boolean,text
values
[string]
Allowed values for categorical-type labels. Must contain at least one non-empty, unique value.
can_manage_access [required]
boolean
Whether the current caller can manage access for the annotation queue.
created_at [required]
date-time
Timestamp when the queue was created.
created_by [required]
string
Identifier of the user who created the queue.
description [required]
string
Description of the annotation queue.
modified_at [required]
date-time
Timestamp when the queue was last modified.
modified_by [required]
string
Identifier of the user who last modified the queue.
name [required]
string
Name of the annotation queue.
owned_by [required]
string
Identifier of the user who owns the queue.
project_id [required]
string
Identifier of the project this queue belongs to.
restrict_to_assignees [required]
boolean
Whether annotation access is restricted to assigned users.
restrict_to_reviewers [required]
boolean
Whether annotation access is restricted to queue reviewers.
reviewer_emails
[string]
Email addresses of reviewers for the annotation queue. Returned only
when the caller can manage queue access.
id [required]
string
Unique identifier of the annotation queue.
type [required]
enum
Resource type of an Agent Observability annotation queue.
Allowed enum values: queues
{"data":[{"attributes":{"annotation_schema":{"label_schemas":[{"description":"Rating of the response quality.","has_assessment":false,"has_reasoning":false,"id":"abc-123","is_assessment":false,"is_integer":false,"is_required":true,"max":5,"min":0,"name":"quality","type":"score","values":["good","bad","neutral"]}]},"can_manage_access":true,"created_at":"2024-01-15T10:30:00Z","created_by":"00000000-0000-0000-0000-000000000002","description":"Queue for annotating customer support traces","modified_at":"2024-01-15T10:30:00Z","modified_by":"00000000-0000-0000-0000-000000000002","name":"My annotation queue","owned_by":"00000000-0000-0000-0000-000000000002","project_id":"00000000-0000-0000-0000-000000000002","restrict_to_assignees":false,"restrict_to_reviewers":true,"reviewer_emails":["reviewer@example.com"]},"id":"00000000-0000-0000-0000-000000000001","type":"queues"}]}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"python3"example.py"
# List Agent Observability annotation queues returns "OK" responserequire"datadog_api_client"DatadogAPIClient.configuredo|config|config.access_token=ENV["DD_BEARER_TOKEN"]config.unstable_operations["v2.list_llm_obs_annotation_queues".to_sym]=trueendapi_instance=DatadogAPIClient::V2::AgentObservabilityAPI.newpapi_instance.list_llm_obs_annotation_queues()
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"rb"example.rb"
// List Agent Observability annotation queues returns "OK" responsepackagemainimport("context""encoding/json""fmt""os""github.com/DataDog/datadog-api-client-go/v2/api/datadog""github.com/DataDog/datadog-api-client-go/v2/api/datadogV2")funcmain(){ctx:=datadog.NewDefaultContext(context.Background())ctx=context.WithValue(ctx,datadog.ContextAccessToken,os.Getenv("DD_BEARER_TOKEN"))configuration:=datadog.NewConfiguration()configuration.SetUnstableOperationEnabled("v2.ListLLMObsAnnotationQueues",true)apiClient:=datadog.NewAPIClient(configuration)api:=datadogV2.NewAgentObservabilityApi(apiClient)resp,r,err:=api.ListLLMObsAnnotationQueues(ctx,*datadogV2.NewListLLMObsAnnotationQueuesOptionalParameters())iferr!=nil{fmt.Fprintf(os.Stderr,"Error when calling `AgentObservabilityApi.ListLLMObsAnnotationQueues`: %v\n",err)fmt.Fprintf(os.Stderr,"Full HTTP response: %v\n",r)}responseContent,_:=json.MarshalIndent(resp,""," ")fmt.Fprintf(os.Stdout,"Response from `AgentObservabilityApi.ListLLMObsAnnotationQueues`:\n%s\n",responseContent)}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"go run"main.go"
// List Agent Observability annotation queues returns "OK" responseimportcom.datadog.api.client.ApiClient;importcom.datadog.api.client.ApiException;importcom.datadog.api.client.v2.api.AgentObservabilityApi;importcom.datadog.api.client.v2.model.LLMObsAnnotationQueuesResponse;publicclassExample{publicstaticvoidmain(String[]args){ApiClientdefaultClient=ApiClient.getDefaultApiClient();defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN"));defaultClient.setUnstableOperationEnabled("v2.listLLMObsAnnotationQueues",true);AgentObservabilityApiapiInstance=newAgentObservabilityApi(defaultClient);try{LLMObsAnnotationQueuesResponseresult=apiInstance.listLLMObsAnnotationQueues();System.out.println(result);}catch(ApiExceptione){System.err.println("Exception when calling AgentObservabilityApi#listLLMObsAnnotationQueues");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace();}}}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"java"Example.java"
// List Agent Observability annotation queues returns "OK" response
usedatadog_api_client::datadog;usedatadog_api_client::datadogV2::api_agent_observability::AgentObservabilityAPI;usedatadog_api_client::datadogV2::api_agent_observability::ListLLMObsAnnotationQueuesOptionalParams;#[tokio::main]asyncfnmain(){letmutconfiguration=datadog::Configuration::new();configuration.set_unstable_operation_enabled("v2.ListLLMObsAnnotationQueues",true);letapi=AgentObservabilityAPI::with_config(configuration);letresp=api.list_llm_obs_annotation_queues(ListLLMObsAnnotationQueuesOptionalParams::default()).await;ifletOk(value)=resp{println!("{:#?}",value);}else{println!("{:#?}",resp.unwrap_err());}}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_API_KEY="<DD_API_KEY>"DD_APP_KEY="<DD_APP_KEY>"cargo run
/**
* List Agent Observability annotation queues returns "OK" response
*/import{client,v2}from"@datadog/datadog-api-client";constconfiguration=client.createConfiguration({authMethods:{AuthZ:{accessToken: process.env.DD_BEARER_TOKENasstring,},},});configuration.unstableOperations["v2.listLLMObsAnnotationQueues"]=true;constapiInstance=newv2.AgentObservabilityApi(configuration);apiInstance.listLLMObsAnnotationQueues().then((data: v2.LLMObsAnnotationQueuesResponse)=>{console.log("API called successfully. Returned data: "+JSON.stringify(data));}).catch((error: any)=>console.error(error));
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"tsc"example.ts"
맞춤형 데모 요청
Datadog 시작하기
Ask AI
AI-generated responses may be inaccurate. Verify important info.