Help us improve these docs. Take our quick survey.
curl --request POST \
--url https://api.example.com/annotation_queues/{queue_id}/items/query \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"filter": {
"id": "<string>",
"call_id": "<string>",
"call_op_name": "<string>",
"call_trace_id": "<string>",
"added_by": "<string>",
"annotation_states": [
"unstarted",
"in_progress"
]
},
"sort_by": [
{
"field": "<string>",
"direction": "asc"
}
],
"limit": 50,
"offset": 0,
"include_position": false
}
'{
"items": [
{
"id": "<string>",
"project_id": "<string>",
"queue_id": "<string>",
"call_id": "<string>",
"call_started_at": "2023-11-07T05:31:56Z",
"call_op_name": "<string>",
"call_trace_id": "<string>",
"display_fields": [
"<string>"
],
"annotation_state": "unstarted",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"call_ended_at": "2023-11-07T05:31:56Z",
"added_by": "<string>",
"annotator_user_id": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"position_in_queue": 123
}
]
}Interroger les éléments d’une file d’attente d’annotation avec pagination et tri.
curl --request POST \
--url https://api.example.com/annotation_queues/{queue_id}/items/query \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"filter": {
"id": "<string>",
"call_id": "<string>",
"call_op_name": "<string>",
"call_trace_id": "<string>",
"added_by": "<string>",
"annotation_states": [
"unstarted",
"in_progress"
]
},
"sort_by": [
{
"field": "<string>",
"direction": "asc"
}
],
"limit": 50,
"offset": 0,
"include_position": false
}
'{
"items": [
{
"id": "<string>",
"project_id": "<string>",
"queue_id": "<string>",
"call_id": "<string>",
"call_started_at": "2023-11-07T05:31:56Z",
"call_op_name": "<string>",
"call_trace_id": "<string>",
"display_fields": [
"<string>"
],
"annotation_state": "unstarted",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"call_ended_at": "2023-11-07T05:31:56Z",
"added_by": "<string>",
"annotator_user_id": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"position_in_queue": 123
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
Use this file to discover all available pages before exploring further.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Corps de la requête pour interroger les éléments d’une file d'attente d'annotation (queue_id provient du chemin).
"entity/project"
Filtrer les éléments de la file d'attente par métadonnées d’appel et état d’annotation
Show child attributes
Trier par plusieurs champs (par ex. created_at, updated_at)
Show child attributes
50
0
Inclure le champ position_in_queue (index commençant à 1 dans la file d'attente complète)
Réponse réussie
Réponse à l’interrogation des éléments de la file d'attente d'annotation.
Show child attributes
Cette page vous a-t-elle été utile ?