Skip to main content
GET
/
v1
/
tasks
/
{request_id}
Get task status
curl --request GET \
  --url https://api.example.com/v1/tasks/{request_id} \
  --header 'x-apikey: <x-apikey>'
{
  "request_id": "abc123",
  "status": "processing"
}

Headers

x-apikey
any
required

API Key for authentication

Path Parameters

request_id
string
required

The unique identifier of the request whose status you are querying.

Response

The request status along with any associated data or errors.

request_id
string

Unique identifier of the request.

status
string

Current status of the request. Can be 'processing', 'completed', or 'failed'.

data

Resulting data if the request is completed. Can be a dictionary or null.

error

Error message if the request has failed.