Skip to content

List schedules

GET
/api/v1/schedules
curl -X GET 'https://dashboard.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

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.

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

Media type application/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 type application/json
object
error
string
Example
{
"error": "Missing or invalid \"url\" field"
}

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."
}

Unexpected server error. Logs and PostHog $exception capture

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