Jobs API
Update a job
Update job configuration. Only provided fields are changed.
PATCH
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.
id*stringJob ID
Format
uuidapplication/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<>Items
1 <= itemsalertConfig?Job updated
application/json- response
id?stringFormat
uuidname?stringdescription?stringcronSchedule?stringnextRunAt?stringFormat
date-timescheduledJobId?stringtestCount?integercurl -X PATCH 'https://demo.supercheck.dev/api/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "cronSchedule": "string", "nextRunAt": "2019-08-24T14:15:22Z", "scheduledJobId": "string", "testCount": 0}