Tasks

List tasks

GET
/v2/tasks

Retrieve a paginated list of tasks for the authenticated account.

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

cursor?string

Cursor for pagination. Use the next_cursor from the previous response.

Formatuuid
limit?integer

Number of tasks to return per page.

Range1 <= value <= 9007199254740991
Default100

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v2/tasks"
{  "data": [    {      "_query": null,      "account_name": "string",      "api_type": "web",      "batch_id": "4b0a90bf-c951-42e4-95b3-a95a65ba69fc",      "created_at": "2024-01-15T10:30:00Z",      "download_url": "https://api.webit.live/api/v2/tasks/123e4567-e89b-12d3-a456-426614174000/results",      "error": "Connection timeout",      "error_type": "timeout_error",      "id": "123e4567-e89b-12d3-a456-426614174000",      "input": null,      "modified_at": "2024-01-15T10:35:00Z",      "output_url": "string",      "queue": "string",      "state": "pending",      "status_code": 200,      "status_url": "https://api.webit.live/api/v2/tasks/123e4567-e89b-12d3-a456-426614174000"    }  ],  "pagination": {    "has_next": true,    "next_cursor": "string",    "total": 0  }}