Skip to content

Get schedule

GET
/api/v1/schedules/{id}
curl -X GET 'https://dashboard.justcrawl.io/api/v1/schedules/sch_01ABC' \
-H 'Authorization: Bearer $JUSTCRAWL_API_KEY'

Returns the schedule including its cron expression, timezone, tag filters, next-run timestamp, and resolved workflow name (or "Automatic" when no workflowId is set). 404 if the ID belongs to another org — the response shape matches “not found” so cross-org enumeration is not possible.

id
required
string

Schedule ID.

Schedule detail.

Media type application/json
object
id
string format: uuid
name
string
workflowId
string format: uuid
nullable
tagFilters
Array<string>
frequency
string
Allowed values: hourly daily weekly monthly custom
cronExpr
string
timezone
string
isEnabled
boolean
nextRunAt
string format: date-time
lastRunAt
string format: date-time
nullable
createdAt
string format: date-time
Example
{
"frequency": "hourly"
}

Missing or invalid authentication token

Media type application/json
object
error
string
Example
{
"error": "Missing or invalid authentication token"
}

Insufficient permissions for this operation

Media type application/json
object
error
string
Example
{
"error": "No organization. Complete onboarding first."
}

Schedule not found.

Unexpected server error. Logs and PostHog $exception capture

Media type application/json
object
error
string
Example
{
"error": "Something went wrong"
}