Skip to main content

Get the status of a task

gethttps://api-atlas.nomic.ai/v1/task/{task_id}

Get the status of a task (parsing, extraction).

Request​

task_idstring | path*required

Responses​

200The status of the task.
statusstring*required

The status of the task.

Possible values: COMPLETED, FAILED, BUILDING, WAITING

errorstring

An error message if the task failed.

resultobject

The result of the task.

task_idstring*required

The ID of the task.

durationnumber*required

The time taken to complete the task, in seconds.

result_urlstring*required

A URL to access the results (e.g., parsed file, extracted information).

403The user is not authorized to perform this action.
422Validation Error

Examples​

curl
curl -X 'GET' \
'https://api-atlas.nomic.ai/v1/task/{task_id}' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <token>'