Tasks API
Get Task Status
Retrieve the current status and result of a specific task.
GET
Get Task Status
Check the status, progress, and output of an asynchronous task by providing its unique task ID. Tasks may take anywhere from a few seconds to several hours to complete, depending on the size of the request.
Endpoint
Path Parameters
Response
string
Unique identifier of the task
string
Type of the task — currently one of
"export_job_data" (job exports) or "export_expired_jobs" (expired-job exports)string
Current state of the task. The API returns these values lowercase:
queued— task accepted and waiting to be processed.processing— task is currently being executed by a worker.finished— task finished successfully;resultis populated.failed— task execution failed; see theerrorfield for details.
number
Task progress as a float between 0.0 and 1.0
string
ISO timestamp of when the task was created
string
ISO timestamp of the last task update
string
ISO timestamp of when the task began processing
string
ISO timestamp of when the task finished processing
string
ID of the user who initiated the task
string
Error message if the task failed, otherwise
nullstring
ID of the worker node that processed the task
integer
Priority level of the task (higher means more urgent)
boolean
Whether a completion email will be sent to the account address for this task (set via the
notify parameter on the export request)object
Parameters passed to the task
object
Output result from the task
Example Request
Example Response
Error Responses
403 Forbidden
403 Forbidden
{"detail": "Not authorized to view this task"} — the task exists but belongs to a different account. Tasks are only visible to the API key that created them.404 Not Found
404 Not Found
Returns when the provided
task_id is not valid.500 Internal Server Error
500 Internal Server Error
Returns when an unexpected error occurs on the server.
- Occurs during unhandled server-side failures or bugs that prevent the request from being processed.