Get Task
GEThttps://api.confident-ai.com/v2/annotation-queues/{annotationQueueId}/queue-ingestion-tasks/{queueIngestionTaskId}
Retrieves an ingestion task by id, with the filters an item must match to be queued and the reviewers harvested items are assigned to.
curl -X GET "https://api.confident-ai.com/v2/annotation-queues/{annotationQueueId}/queue-ingestion-tasks/{queueIngestionTaskId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<QUEUE-INGESTION-TASK-ID>",
"name": "Failed capital lookups",
"description": "Traces where the assistant failed to name a capital.",
"enabled": true,
"sampleRate": 0.1,
"dataModel": "TRACE",
"filters": {
"operator": "AND",
"groups": [
{
"operator": "AND",
"filters": [
{
"category": "User Id",
"condition": "Is less than",
"value": "string",
"key": "string"
}
]
}
]
},
"maxItems": 500,
"assignmentStrategy": "SINGLE_USER",
"reviewers": [
{
"id": "<USER-ID>",
"email": "jane@acme.com",
"name": "Jane Doe",
"image": null
}
],
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-16T09:00:00.000Z"
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/annotation-queues/<ANNOTATION-QUEUE-ID>",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
annotationQueueIdstringRequiredThe id of the annotation queue the task fills.
queueIngestionTaskIdstringRequiredThe id of the queue ingestion task.
Response
Get Task succeeded.
successbooleanIndicates if the request was successful.
dataobjectA rule that keeps an annotation queue filled from your production data.
Show 12 propertiesHide 12 properties
idstringThe id of the task, generated by Confident AI.
namestringThe name of the task.
descriptionstring | nullA note about what the task harvests.
enabledbooleanWhether the task is running.
sampleRatenumberThe fraction of matching items the task queues.
dataModelenumWhat kind of production item an ingestion task harvests. THREAD tasks fill multi-turn datasets; TRACE and SPAN tasks fill single-turn ones.
Show 3 enum valuesHide 3 enum values
TRACESPANTHREAD
filtersobject | nullA set of filter groups combined by a top-level operator. Each group combines its filter rows by its own operator, and each row matches one property, such as
NameorUser Id, against a value with a condition such asIsorContains.Show 2 propertiesHide 2 properties
operatorenumShow 2 enum valuesHide 2 enum values
ANDOR
groupslist of objectsShow 2 propertiesHide 2 properties
operatorenumShow 2 enum valuesHide 2 enum values
ANDOR
filterslist of objectsShow 4 propertiesHide 4 properties
categoryenumShow 80 enum valuesHide 80 enum values
User IdThread IdTrace UuidTrace NameTrace VersionTrace StatusTrace TagsTraceSpan UuidNameSpan NameSpan TypeSpan StatusMetrics StatusError StatusNameModelProviderIntegrationEmbedderChunk SizeTop-KHyperparameterDatasetDataset NameTest Run IDIdentifierTest FileStatusOfficialEvals ModeTests PassedTests FailedPass RateFail RateStar RatingThumbs RatingExplanationExpected OutputExpected OutcomeAnnotatorEnd UserAnnotation TypeAnnotation NameCriteriaAnnotation DateMetric ScoreMetric StatusNameMetadataClassifierMetricMetric NameTrace CountTest Case IDRequested review fromAssigned toTagsLabelsTools CalledFinalizedGolden IDIngestion TaskLatencyEnvironmentReview flagVulnerabilityVulnerability TypeAttack MethodRisk CategoryFrameworkAssessment IDPrompt AliasPrompt VersionPrompt LabelPrompt Commit HashPromptAnnotationsStatus CodeActor Type
conditionenum | enum | enum | enum | enum | enum | enum | enum | enum | enumShow 10 variantsHide 10 variants
enum
Show 6 enum valuesHide 6 enum values
Is less thanIs equal or less thanIs greater thanIs equal or greater thanIs equal toDoes not equal
- OR
enum
Show 2 enum valuesHide 2 enum values
HasHas not
- OR
enum
Show 2 enum valuesHide 2 enum values
IsIs not
- OR
enum
Show 2 enum valuesHide 2 enum values
Is one ofIs not one of
- OR
enum
Show 4 enum valuesHide 4 enum values
IsIs notIs emptyIs not empty
- OR
enum
Show 2 enum valuesHide 2 enum values
ContainsDoes not contain
- OR
enum
Show 3 enum valuesHide 3 enum values
ContainsContains onlyDoes not contain
- OR
enum
Show 4 enum valuesHide 4 enum values
Has decreased by more thanHas decreased by less thanHas increased by more thanHas increased by less than
- OR
enum
Show 1 enum valueHide 1 enum value
Has changed from
- OR
enum
Show 1 enum valueHide 1 enum value
Is between
valuestring | number | list of stringsShow 3 variantsHide 3 variants
string
- OR
number
- OR
list of strings
keystring
maxItemsinteger | nullThe maximum number of items this task will queue, or null when it is uncapped.
assignmentStrategyenumHow harvested items are shared out among the reviewers: SINGLE_USER gives every item to one reviewer, ROUND_ROBIN deals them out in turn, and RANDOM assigns each one at random.
Show 3 enum valuesHide 3 enum values
SINGLE_USERROUND_ROBINRANDOM
reviewerslist of objectsThe project members harvested items are assigned to, in the order the strategy deals them out.
Show 4 propertiesHide 4 properties
idstringThis is the id of the user.
emailstringThis is the email address of the user.
namestring | nullThis is the display name of the user, or null when they have not set one.
imagestring | nullThis is the URL of the user's avatar, or null when they have none.
createdAtstringWhen the task was created.
updatedAtstringWhen the task was last changed.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.