Retrieve Queue Ingestion Task
GEThttps://api.confident-ai.com/v1/annotation-queues/{queueId}/queue-ingestion-tasks/{queueIngestionTaskId}
Retrieves a single ingestion task on an annotation queue, with its full configuration and the reviewers items are assigned to. Requires the Starter plan or above.
curl -X GET "https://api.confident-ai.com/v1/annotation-queues/{queueId}/queue-ingestion-tasks/{queueIngestionTaskId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"queueIngestionTask": {
"id": "QUEUE-INGESTION-TASK-ID",
"name": "Review failed traces",
"enabled": true,
"sampleRate": 0.05,
"dataModel": "TRACE",
"assignmentStrategy": "ROUND_ROBIN",
"reviewers": []
}
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/annotation-queues/<QUEUE-ID>"
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
queueIdstringRequiredThe unique identifier of the annotation queue.
queueIngestionTaskIdstringRequiredThe unique identifier of the ingestion task.
Response
successbooleanIndicates if the request was successful.
dataobjectShow 1 propertyHide 1 property
queueIngestionTaskobjectShow 12 propertiesHide 12 properties
idstringThe unique identifier of the ingestion task.
namestringThe name of the ingestion task.
dataModelenumWhat kind of item the task routes.
Show 3 enum valuesHide 3 enum values
TRACESPANTHREAD
reviewerslist of objectsThe reviewers queued items are assigned to.
Show 1 propertyHide 1 property
userobjectShow 4 propertiesHide 4 properties
idstringThe id of the user.
emailstringThe email address of the user.
namestringThe name of the user.
imagestringThe image of the user.
queueItemsCountintegerHow many items this task has queued so far.
descriptionstringA note about what the task routes.
enabledbooleanWhether the task runs. Disabling it unschedules the job; items already queued are kept.
sampleRatenumberThe fraction of matching items to queue. Defaults to 1 (all of them).
filtersobjectA set of filter groups combined by a top-level operator.
Show 2 propertiesHide 2 properties
operatorenumHow filters or groups are combined.
Show 2 enum valuesHide 2 enum values
ANDOR
groupslist of objectsThe filter groups.
Show 2 propertiesHide 2 properties
operatorenumHow filters or groups are combined.
Show 2 enum valuesHide 2 enum values
ANDOR
filterslist of objectsThe filter rows in this group.
Show 4 propertiesHide 4 properties
categorystringThe property a filter row matches on (e.g. "Name", "User Id", "Model", "Metadata"). The set of valid values depends on the line's dataModel.
conditionenumThe comparison a filter row applies. Valid conditions depend on the category.
Show 18 enum valuesHide 18 enum values
IsIs notIs equal toDoes not equalIs less thanIs equal or less thanIs greater thanIs equal or greater thanHasHas notContainsContains onlyDoes not containHas increased by more thanHas increased by less thanHas decreased by more thanHas decreased by less thanHas changed from
valuestring | number | list of stringsThe value to match against.
keystringThe property key. Auto-populated from category when omitted; required for Metadata, Metric, and Classifier filters.
maxItemsintegerThe maximum number of items this task will ever queue. Send
nullto remove the cap.assignmentStrategyenumHow queued items are assigned.
SINGLE_USERsends everything to one reviewer;ROUND_ROBINandRANDOMspread them across a pool. Defaults toSINGLE_USER.Show 3 enum valuesHide 3 enum values
SINGLE_USERROUND_ROBINRANDOM
reviewerEmailslist of stringsThe reviewers, by email. They must already be members of the project.
SINGLE_USERaccepts at most one;ROUND_ROBINandRANDOMrequire at least one. Re-sending the same reviewers preserves their existing assignment counts, so load balancing carries over an edit.
linkstringA link to the annotation queue.