Jobs API
Create a job
Create a new job with optional scheduling and test configuration.
POST
bearerAuthheader
AuthorizationBearer <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.
application/json- body
name*stringdescription?stringcronSchedule?stringStandard 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
Items
1 <= itemsjobType?stringDefault
"playwright"Value in
"playwright""k6"alertConfig?Job created
application/json- response
success?booleanjob?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" }}