Get batch job run progress
const url = 'https://api.justcrawl.io/api/v1/batch-job-runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.justcrawl.io/api/v1/batch-job-runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Requires jobs:read. Returns the same public projection as acceptance and exact recovery: frozen definition/workflow/discovery policy, invocation identity, phase, outcome, fixed causes, seed buckets, descendant counters and live queued/running/awaiting-acknowledgement counts. Preparation fields are null until measured; measured zero is distinct from preparing. Draining can already have partial output and BI acknowledgement waits. A failed terminal outcome remains a successful HTTP 200 read. The resource contains no internal dispatch state.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Get batch job run progress.
The shared accepted, recovered and current run resource. Preparing measurement fields are null; a nonterminal run may already have output. Terminal skipped schedule runs retain their reason and optional blocker snapshot. Failed and skipped outcomes are successful domain data.
object
object
Frozen for each run. Setting additional tags or inheritance requires urls:write; generated provenance tag prefixes are reserved.
object
object
object
Frozen for each run. Setting additional tags or inheritance requires urls:write; generated provenance tag prefixes are reserved.
object
Null until preparation measures the finite initial set. Measured zero is distinct.
object
object
object
Example
{ "entryMode": "api", "skipReason": "overlap", "definitionSnapshot": { "input": { "kind": "tags" } }, "input": { "kind": "tags" }, "phase": "preparing", "lane": "interactive", "stopReason": "credits_exhausted", "outcome": "completed", "fundingDetail": "no_plan", "partialCauses": [ "credits_exhausted" ]}Validation failed — request body or query is missing/invalid
object
Example
{ "error": "Missing or invalid \"url\" field"}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."}Resource not found
object
Example
{ "error": "Workflow not found"}Unexpected server error. Logs and PostHog $exception capture
object
Example
{ "error": "Something went wrong"}