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.
Task reads have their own rate limit of 600 requests per minute per key, separate from the 100 per minute shared by every other endpoint, so polling never slows down your searches and submits. To follow many tasks at once, use List Tasks.
Endpoint
Path Parameters
Response
string
Unique identifier of the task
string
Type of the task. One of:
export_job_data— a job export. Paid historical exports use this type too, withinput.collectionset to"jobs_expired".export_expired_jobs— an expired-jobs export.contacts_extraction— hiring-contact research for a posting, from Hiring Manager Contacts.enrich_contact— a work email and/or phone lookup for one contact, from Reveal Contact.salary_benchmark— a posted-salary benchmark, from Salary Benchmark.
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; seeerror,error_codeandretryable.canceled— the task was canceled before it finished.
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
Machine-readable failure reason if the task failed, otherwise
null. For
contacts tasks the values are listed under
Why a task failed; every
task type can also fail with temporary or internal.boolean
If the task failed:
true when submitting the same request again can
succeed, false when it won’t. Otherwise null.string
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.