List schedule runs
curl -X GET 'https://api.justcrawl.io/api/v1/schedules/runs?limit=20' \ -H 'Authorization: Bearer $JUSTCRAWL_API_KEY'Returns recent schedule executions across the org, newest first, as the existing array. kind=batch rows carry runId=id, current phase/outcome, skip reason/blocker and live counters. kind=legacy rows retain frozen job counts with null runId/phase/outcome/skip fields and no job drill-down. scheduleId is null after deletion; new runs keep their frozen schedule name. jobsCreated/domainJobsCreated remain history counters, never trigger acceptance output. runId filters either ID space; domain counts new rows through durable run membership.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Only return runs of this schedule.
Look up one batch run or legacy history row by its ID.
Include a domain-specific job count for batch rows through run membership; legacy domain counts are null.
Free-text match against the schedule name.
Include only this kind of history row before applying the requested limit.
Maximum runs to return. Values above 200 are clamped.
Responses
Section titled “Responses”Matching schedule runs, newest first.
object
Example
[ { "kind": "batch", "phase": "preparing", "outcome": "completed", "skipReason": "overlap" }]Invalid scheduleId, runId, kind or limit.
Missing or invalid authentication token
object
Example
{ "error": "Missing or invalid authentication token"}Insufficient permissions for this operation
object
Example
{ "error": "No organization. Complete onboarding first."}Unexpected server error. Logs and PostHog $exception capture
object
Example
{ "error": "Something went wrong"}