Supercheck LogoSupercheck
Jobs API

Create a job

Create a new job with optional scheduling and test configuration.

POST
/api/jobs

Authorization

bearerAuth
headerAuthorizationBearer <token>

Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.

Request Body

application/json
  1. body
name*string
description?string
cronSchedule?string

Standard five-field cron expression (one-minute minimum interval). Six-field and invalid expressions are rejected with 400.

tests*array<>

Array of test references to include in this job

Items1 <= items
jobType?string
Default"playwright"
Value in"playwright""k6"
alertConfig?

Response Body

Job created

application/json
  1. response
success?boolean
job?
Example Request
curl -X POST 'https://demo.supercheck.dev/api/jobs' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "tests": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"    }  ]}'
Example Response
{  "success": true,  "job": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "description": "string",    "cronSchedule": "string",    "nextRunAt": "2019-08-24T14:15:22Z",    "scheduledJobId": "string",    "jobType": "playwright"  }}