Skip to content

List jobs

GET
/api/v1/jobs
curl -X GET 'https://api.justcrawl.io/api/v1/jobs?status=completed&pageSize=10' \
-H 'Authorization: Bearer $JUSTCRAWL_API_KEY'

Paginated list of scrape jobs in the current org. Filters compose: pass any combination of status, search, workflowId, scheduleId, scheduleRunId, domain, tag, providerId, plus the timestamp range filters (createdAfter/createdBefore/updatedAfter/updatedBefore). Without sort, running and waiting-retry jobs come first, then jobs are ordered by creation time, newest first. Job id breaks all sort ties in the same direction. scheduleRunId filters durable run membership; a legacy history ID has no job drill-down. scheduleId filters through the run. Jobs retain runId after schedule deletion. Heavy fields (executionTrace, nodeState) are stripped from list responses — fetch the single-job endpoint to get them. Each item carries cost derived from the org’s vendor-cost table, plus the credit line (creditsCharged, creditOutcome, creditNote) so a failed row says whether its charge came back.

page
integer

Page number (default 1)

pageSize
integer

Items per page (default 25, max 100)

status
string
Allowed values: pending running completed failed waiting_retry extracting extraction_done

Filter by job status

workflowId
string format: uuid

Filter by workflow ID

scheduleRunId
string format: uuid

Filter by BatchJob run membership. Legacy history IDs return no jobs.

scheduleId
string format: uuid

Filter by the schedule still linked to the durable run.

providerId
string

Exact identifier of the provider recorded on the job.

search
string

Case-insensitive substring match against the job URL.

domain
string

Match jobs whose library URL belongs to this domain.

tag
string

Match jobs whose library URL carries this tag.

createdAfter
string

Inclusive creation-time lower bound as an ISO date or timestamp.

createdBefore
string

Inclusive creation-time upper bound as an ISO date or timestamp. A bare date includes that whole UTC day.

updatedAfter
string

Inclusive update-time lower bound as an ISO date or timestamp.

updatedBefore
string

Inclusive update-time upper bound as an ISO date or timestamp. A bare date includes that whole UTC day.

sort
string
Allowed values: created updated status

Sort the filtered list by creation time, update time, or the job status enum.

order
string
default: desc
Allowed values: asc desc

Direction of the selected sort.

Paginated list of jobs

Media typeapplication/json
object
items
Array<object>
object
id
string format: uuid
status
string
Allowed values: pending running completed failed waiting_retry extracting extraction_done
url
string
workflowId
string format: uuid
version
integer
providerId
string
nullable
statusCode
integer
nullable
latencyMs
integer
nullable
errorType
string
nullable
errorMessage
string
nullable
runId

Durable BatchJob run membership. Null for jobs outside a run.

string format: uuid
nullable
purpose

Whether this is a customer crawl or an auxiliary Playground preview capture.

string
Allowed values: crawl preview_capture
parentJobId

Parent crawl ID for a preview capture. Null for ordinary crawl jobs.

string format: uuid
nullable
creditsCharged

Credits deducted for this job when it was submitted. 0 when the org is not charged per job (enterprise and platform-managed plans, backfills and webhook-ingest jobs). Each admitted discovered child URL costs one credit on finite plans; discovery stops when credits run out. null when the amount is not known — the job was recorded by a release that predates per-job charge stamping; such a job always reports creditOutcome: pending.

integer
nullable
creditOutcome

What happened to the charge. not_charged — this job never cost a credit. pending — charged, and the outcome is not decided yet. kept — charged, and the charge stands. refunded — charged, and the credit was returned because no provider delivered a page. A crawl that fails at every provider is free.

string
Allowed values: not_charged pending kept refunded
creditNote

One sentence saying why the charge was kept or returned, e.g. credit returned: no provider delivered a page. null while the outcome is not_charged or pending. Display it as-is — the wording is the API’s, not the client’s.

string
nullable
createdAt
string format: date-time
completedAt
string format: date-time
nullable
total
integer
Examples
Exampledefault

Paginated job list

{
"items": [
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"status": "completed",
"url": "https://www.walmart.com/ip/12345",
"workflowId": "a47ac10b-58cc-4372-a567-0e02b2c3d479",
"version": 3,
"providerId": "brightdata",
"statusCode": 200,
"latencyMs": 1842,
"cost": 0.00135,
"purpose": "crawl",
"parentJobId": null,
"creditsCharged": 1,
"creditOutcome": "kept",
"creditNote": "credit kept: page delivered",
"createdAt": "2026-06-06T15:30:00.000Z",
"completedAt": "2026-06-06T15:30:02.000Z"
}
],
"total": 1
}

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