List batch run discovery observations
const url = 'https://api.justcrawl.io/api/v1/batch-job-runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/discoveries?limit=50';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/discoveries?limit=50' \ --header 'Authorization: Bearer <token>'Requires jobs:read. Returns oldest-first entries and the shared current run summary. Default limit is 50, maximum 100. Every entry carries cursorAfter; continue with the unchanged filters and opaque cursor. A fresh traversal discovers later entries, descendants or results. A cursor binds the tenant, run, resource, filters and frozen upper key; invalid scope or encoding returns invalid_cursor (400). It grants no authority and mutable statuses or late commits are not a transaction-wide snapshot. Active empty pages do not imply completion. Returns exact retained parent-job/extractor-node/child-job observations, including rediscoveries satisfied by an existing child. Source and target workflow pins are the actual historical versions. Nullable URL identities preserve readable URLs and job/run identities.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Opaque cursor bound to tenant, resource and unchanged filters. Start a fresh traversal to discover later work.
Responses
Section titled “Responses”List batch run discovery observations.
object
object
Opaque scope-bound continuation after this exact entry; preserve it unchanged.
object
Opaque scope-bound continuation after this exact entry; preserve it unchanged.
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
{ "items": [ { "disposition": "admitted" } ], "summary": { "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"}