API Reference
Find Task
GET
/
tasks
/
{task_id}
Authorizations
Authorization
string
headerrequiredThe Mergent API uses API keys to authenticate requests. Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Path Parameters
task_id
string
requiredThe ID of the task.
Response
200 - application/json
A task.
id
string
requiredThe unique ID for the task.
queue
string
default: defaultrequireddeprecatedThe name of the of the task queue.
status
enum<string>
requiredThe status of the task. Additional statuses may be added over time.
Available options:
queued
, working
, success
, failure
request
object
requiredA task request.
created_at
string
requiredThe ISO 8601 timestamp representing when the task was created.
name
string | null
The name of the task.
scheduled_for
string | null
The ISO 8601 timestamp for when the task is scheduled to be executed.
Was this page helpful?