Skip to main content

Get a task

Getting a task returns one document in one step, with its status and what Send AI found on its pages.

GET https://api.send.ai/v2/{team_id}/project/{project_id}/task/{task_id}

Scope: Tasks › Read.

Response​

{
"payload": {
"id": "task_Zp4Rk2Wn8Qx1Lc7Vb3M",
"name": "order-4471.pdf",
"status": "REVIEWING",
"step_type": "EXTRACT",
"upload_id": "upld_7Hq2LmX9aB3cD4eF5gH",
"project_id": "p3irz",
"meta": [{ "name": "customer", "value": "Acme" }],
"approved": false,
"failure_reason": null,
"soft_fail_reason": "VALIDATION_FAILED",
"filter_verdict": "keep",
"filter_score": 0.97,
"created_at": "2026-11-02T09:12:44.000Z",
"exported_at": null,
"export_failed_at": null,
"last_opened_at": null,
"pages": [
{
"id": "page_1",
"width": 1654,
"height": 2339,
"annotations": [{ "entity_id": "e1Order", "content": "4471", "confidence": 0.94 }]
}
]
}
}

step_type is the step: GROUP for Split, SEGMENT for Segmentation, CLASSIFY for the Router and EXTRACT for a task. The annotations on each page carry the ID of their field in entity_id, not its name. The extracted data, with field names, reaches your system through an export action. See Actions.

Status​

The status of a task is one of these:

StatusMeaning
PROCESSINGSend AI is working on the document.
REVIEWINGThe document waits for a person. soft_fail_reason says why, such as VALIDATION_FAILED.
COMPLETEDThe document is done in this step.
DISCARDEDThe document was discarded.
FILTEREDThe File filter took the document out. filter_verdict and filter_score say how sure it was.
FAILEDProcessing failed. failure_reason is PARSING_FAILED, TIMED_OUT or UNKNOWN.
UNPROCESSABLEThe file could not be read.

approved is true when the document is marked for training. See Approve a task.

Errors​

StatusErrorCause
404Task not foundThe task does not exist.