Docs
API 1.39
Status
Schedules

List the runs of a schedule

GET /v1/schedules/{id}/runs: List the runs of a schedule

GET /v1/schedules/{id}/runs
Operation idlistScheduleRuns
Key scoperead: every key
SectionSchedules

#Parameters

NameInTypeRequiredDescription
idpathstringyespattern ^sch_[0-9a-hjkmnp-tv-z]{26}$
limitqueryinteger≥ 1 · ≤ 100 · default 25
cursorquerystringmin length 1

#Example request

curl -X GET "https://api.kaab.ist/v1/schedules/{id}/runs" \
  -H "Authorization: Bearer $KAAB_API_KEY"

#Responses

#200

Run page

FieldTypeRequiredDescription
dataobjectyes
data[].job_idstring or nullyespattern ^job_[0-9a-hjkmnp-tv-z]{26}$
data[].scheduled_forstring or null (date-time)yes
data[].started_atstring (date-time)yes
data[].finished_atstring or null (date-time)yes
data[].statusenum (8 values)yesone of "queued", "running", "awaiting_input", "needs_attention", "succeeded", "failed", "canceled", null
data[].skippedbooleanyes
data[].skip_reasonenum (8 values)yesone of "overlap", "missed", "no_credits", "program_unavailable", "test_quota", "byo_unavailable", "fire_failed", null
data[].changedboolean or nullyes
data[].diff_urlstring or nullyes
next_cursorstring or nullyes

#Errors

Every error answers with the error envelope; its code is one of the error codes.

StatusWhen
400request_invalid: request validation failed
401Missing or invalid API key
403The key's scope does not cover this operation
404Resource not found
429Rate limited; see Retry-After
500internal: unexpected server error

Was this page helpful?