List reusable batch jobs
const url = 'https://api.justcrawl.io/api/v1/batch-jobs?kind=standard&sort=created&order=asc&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-jobs?kind=standard&sort=created&order=asc&limit=50' \ --header 'Authorization: Bearer <token>'Requires jobs:read. Returns visible standard, schedule and dataset definitions with per-entry cursorAfter and pageInfo. Omit kind to include every visible kind. Hidden ad-hoc definitions stay excluded. The default is creation time descending. Every sort uses the definition ID in the same direction to resolve ties. Each cursor binds the tenant, filters, sort and direction. Its upper key records the newest creation time and ID at the start, even when paging by name or update time. Edits to a definition can move it within a name or updated traversal. Use a fresh traversal for later definitions. A continuation from an unusually long name needs that definition to retain its name and remain visible. Start again after invalid_cursor (400).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Opaque cursor bound to tenant, resource, sort, direction and unchanged filters. Start a fresh traversal to discover later definitions.
Responses
Section titled “Responses”List reusable batch jobs.
object
object
Immutable dataset owner identity. Output only; it remains protected after owner deletion.
Stored dataset workflow version, selected by provisioning. Null for other definition kinds.
Frozen for each run. Setting additional tags or inheritance requires urls:write; generated provenance tag prefixes are reserved.
object
Opaque scope-bound continuation after this exact entry; preserve it unchanged.
object
Opaque scope-bound continuation after this exact entry; preserve it unchanged.
Example
{ "items": [ { "kind": "standard", "input": { "kind": "tags" } } ]}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."}Unexpected server error. Logs and PostHog $exception capture
object
Example
{ "error": "Something went wrong"}