GET
/
tasks
/
{task_id}

Authorizations

Authorization
string
headerrequired

The 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
required

The ID of the task.

Response

200 - application/json

A task.

id
string
required

The unique ID for the task.

queue
string
default: defaultrequireddeprecated

The name of the of the task queue.

status
enum<string>
required

The status of the task. Additional statuses may be added over time.

Available options:
queued,
working,
success,
failure
request
object
required

A task request.

created_at
string
required

The 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.