Supercheck LogoSupercheck
Jobs API

List jobs

List all jobs in the current project with pagination.

GET
/api/jobs

Authorization

bearerAuth
AuthorizationBearer <token>

CLI token (sck_live_*) for full API access, or trigger key (sck_trigger_* / legacy job_*) for job trigger endpoint only.

In: header

Query Parameters

page?integer

Page number for pagination

Default1
Range1 <= value
limit?integer

Items per page

Default20
Range1 <= value <= 100

Response Body

application/json

application/json

curl -X GET "https://demo.supercheck.dev/api/jobs"
{
  "pagination": {
    "total": 0,
    "page": 0,
    "limit": 0,
    "totalPages": 0,
    "hasNextPage": true,
    "hasPrevPage": true
  },
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "description": "string",
      "status": "active",
      "cronSchedule": "string",
      "timeoutSeconds": 0,
      "retryCount": 0,
      "tests": [
        {}
      ],
      "lastRunAt": "2019-08-24T14:15:22Z",
      "nextRunAt": "2019-08-24T14:15:22Z",
      "alertConfig": {},
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "error": "Unauthorized"
}