Get task statuses

GET
/api/v2/status/tasks

Get a paginated list of scheduled task statuses.

Sortable fields (pass via sort_by, case-insensitive):

  • name – Task name
  • schedule – Schedule name
  • isactive – Enabled/disabled flag
  • status – Execution status
  • lastexecution – Last execution date
  • nextexecution – Next scheduled execution date

Default sort: name ascending.

AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'

In: header

Query Parameters

sort_by?string

Sort by field name (optional). Supported fields: "title", "source", "outputformats", "status", "lastexecution", "nextexecution".

page?integer

Page number (1-based). Default is 1. Ignored when get_all = true.

Formatint32
Range1 <= value <= 2147483647
page_size?integer

Number of items per page. Default is 10. Maximum is 100. Ignored when get_all = true.

Formatint32
Range1 <= value <= 50
get_all?boolean

When true, pagination is disabled and all items are returned.

sort_direction?string

Sort direction: "asc" or "desc". Default is "asc" (optional)

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v2/status/tasks"
{  "isSuccess": true,  "error": {},  "errorDetails": "string",  "message": "string",  "data": [    {      "taskScheduleId": "a3ee8463-a02f-4303-b1b0-f3e3a31162f1",      "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",      "task": "string",      "schedule": "string",      "status": "string",      "lastExecutionDate": "2019-08-24T14:15:22Z",      "nextExecutionDate": "2019-08-24T14:15:22Z",      "timeZoneOfset": "string",      "executionEndDate": "2019-08-24T14:15:22Z",      "isActive": true,      "logFile": "string",      "createdDate": "2019-08-24T14:15:22Z",      "modifiedDate": "2019-08-24T14:15:22Z"    }  ],  "resultInfo": {    "page": 0,    "perPage": 0,    "totalCount": 0,    "totalPages": 0,    "hasPreviousPage": true,    "hasNextPage": true  }}