Skip to content

List schedules

GET
/api/v1/schedules
curl -X GET 'https://api.justcrawl.io/api/v1/schedules?page=1&pageSize=25&isEnabled=true' \
-H 'Authorization: Bearer $JUSTCRAWL_API_KEY'

Returns a paginated slice of the org’s schedules, each enriched server-side with workflowName (resolved from the bound workflow or "Automatic" when no workflowId is set), urlCount (matching URLs at request time), and estCost (domain-aware per-thousand-URL cost projection in cents). The cost projection uses the schedule’s bound workflow DAG plus the org’s per-provider pricing table — so it reflects what the next run will actually charge under current credentials. This endpoint backs the MCP server’s jc_schedules_list tool.

page
integer
default: 1 >= 1
pageSize
integer
default: 25 <= 100
frequency
string
Allowed values: every_5_minutes every_10_minutes every_15_minutes every_30_minutes hourly every_2_hours every_3_hours every_4_hours every_6_hours every_8_hours every_12_hours daily weekly monthly custom

Filter to schedules with this cadence (e.g. hourly, daily).

isEnabled
boolean

Filter by active state.

domain
string

Filter to schedules whose tag filters resolve URLs on this domain.

tag
string

Filter to schedules carrying this tag in tagFilters.

search
string

Case-insensitive literal substring of the schedule name.

sort
string
Allowed values: name frequency nextRun lastRun created enabled

Sort across the filtered set. Frequency sorts by cadence and missing last runs sort last.

order
string
Allowed values: asc desc

Direction for the selected sort. With no sort, schedules remain newest first.

Paginated list of schedules, enriched with workflow name, URL count, and cost projection.

Media typeapplication/json
object
items
Array<object>
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
total
integer
Example
{
"items": [
{
"frequency": "hourly"
}
]
}

Validation failed — request body or query is missing/invalid

Media typeapplication/json
object
error
string
Example
{
"error": "Missing or invalid \"url\" field"
}

Missing or invalid authentication token

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

Insufficient permissions for this operation

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

Unexpected server error. Logs and PostHog $exception capture

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