List Tasks
GEThttps://api.confident-ai.com/v2/datasets/{datasetId}/dataset-ingestion-tasks
Lists the ingestion tasks on the dataset, newest first, as summary rows. Get a single task for its full configuration. Requires the Starter plan or above.
curl -X GET "https://api.confident-ai.com/v2/datasets/{datasetId}/dataset-ingestion-tasks" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"datasetIngestionTasks": [
{
"id": "<DATASET-INGESTION-TASK-ID>",
"name": "Harvest failed lookups",
"enabled": true,
"dataModel": "TRACE"
}
]
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/workflows",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
datasetIdstringRequiredThe unique id of the dataset.
Query parameters
dataModelenumOnly return tasks harvesting this kind of item. Omit it to return all of them.
Response
List Tasks succeeded.
successbooleanIndicates if the request was successful.
dataobjectShow 1 propertyHide 1 property
datasetIngestionTaskslist of objectsThis is the list of ingestion tasks on the dataset, newest first, as summary rows.
Show 4 propertiesHide 4 properties
idstringThe unique id of the ingestion task.
namestringThe name of the ingestion task, unique within the dataset.
enabledbooleanWhether the task is currently harvesting.
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
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.