Validates inputs and authenticates the caller, then persists
the job, its first run, and (for small submits) all tasks
before returning. Validation failures (4xx) create nothing. A
503 from a temporary failure usually creates nothing
either, but a late-stage failure can leave the job visible
with its run already stopped: safe to DELETE. A 503
that came before the job was created gives the
Idempotency-Key back, so the same key works on retry. A
503 after the job was created keeps the key (a retry under
it is 409 idempotency_key_conflict): check GET /v1/jobs
before you resend with a fresh key.
Submissions under 10,000 inline tasks return 201 Created
with the task rows already in place: results are immediately
queryable via GET /v1/jobs/{id}/results.
Submissions at or above 10,000 inline tasks are processed
off the request path and return 202 Accepted: accepted_tasks
is the final validated count, but task rows stream into
storage over the following seconds (large submissions can take
longer). GET /v1/jobs/{id}/results returns only the rows
written so far until ingest completes; the run’s stats.total
is correct from the start so completion polling
(stats.completed >= stats.total) is reliable from the first
response. While ingestion is in progress,
POST /v1/jobs/{id}/tasks on an open job returns 409:
retry it once results pages fill out. The run’s
ingest_status field reports the ingest state: poll
GET /v1/jobs/{id} until latest_run.ingest_status is
done to know every task row is visible.
Limits (defaults; an account can have its own): at most
100,000 tasks per submit, 3 active (non-terminal) regular
jobs and 5 scheduled jobs per account. An open job holds an
active slot until it is closed; an idle open job is closed
automatically after 48 hours. A rate schedule must fire at
most once every 60 minutes. Going over a job cap returns
429 quota_exceeded; going over the task limit or the
schedule interval returns 400 invalid_argument. A request
refused by one of these checks gives its Idempotency-Key
back: once you free a slot (or fix the request), retry with
the same key.
Batch, Crawl, the Extract endpoints and the account endpoint read the same key from the X-API-Key header.
Headers
Idempotency-Key
string
Optional opaque token scoping a single submit / rerun /
add-tasks request, kept for 24 hours. A retry with the same
key and the same body replays the original status and body.
The same key with a different body, or while the original
request is still being processed, returns
409 idempotency_key_conflict. A request that is refused
(any 4xx, or a 503 before the job or run was created)
gives the key back, so a retry with the same key is
processed afresh. A 503 after the job or run was created
keeps the key: a retry under it is 409; check the job
before you resend with a fresh key. On add-tasks a retry
with the same body finishes an attempt that stopped partway
and adds each task once. The credit check runs first, so a
retry of a call that succeeded returns 402 if the account
has run out of credit since. At most 128 characters; a
longer key is 400 invalid_argument.
Maximum string length: 128
Body
application/json
type
enum<string>
default:regular
regular: a run is created at submit time.
scheduled: fires on a recurring or one-shot schedule.
Submit stores the task list as a template on the job row;
each scheduled fire produces a fresh Run. schedule
field required. Read-only template: addBatchTasks and
close return 409. rerun (full or filtered) and stop
are allowed.
Available options:
regular,
scheduled
status
enum<string>
default:closed
Initial state. open is only allowed for regular jobs;
after the initial run, open has no meaning so the job
is auto-closed.
Available options:
open,
closed
zenrows_params
object
Job-level scraper params, applied to every task of every
run of the job. Each task can override individual keys
via its own zenrows_params (task wins on collision).
Show child attributes
schedule
object
Schedule block for type: scheduled. Required there,
ignored otherwise.
Show child attributes
tasks
object[]
Required for closed jobs (1 to 100,000 tasks by default;
an account can have its own limit) unless file_input_id
is provided. Optional for open jobs: may be empty if the
caller will follow up with addBatchTasks. Mutually exclusive
with file_input_id.
Show child attributes
file_input_id
string
Reference to a previously-uploaded CSV input (see
POST /v1/job_inputs). Mutually exclusive with tasks.
Eligible only for regular-closed and scheduled job types.
The uploaded CSV is parsed under the saved spec; its rows
become the tasks (regular-closed) or the task template
(scheduled).
external_id
string
Optional caller-supplied correlation id for the job:
same semantics as task.external_id. Shape-checked,
not required to be unique. Surfaced verbatim in
getBatchJob / listBatchJobs responses.
Maximum string length: 128
Pattern: ^[A-Za-z0-9._-]+$
name
string
Optional human-readable label for the job. Free-form:
no shape rules. Up to 100 characters. Surfaced verbatim
in getBatchJob / listBatchJobs responses. No uniqueness, no
indexing; cannot be changed after submit.
Maximum string length: 100
metadata
object
Opaque user-supplied key/value pairs. Stored on the task; not forwarded.
Show child attributes
webhook
object
Optional run.completed / run.failed delivery config.
A terminal run fires run.completed on a natural finish, or
run.failed (with failure_reason + partial stats) when the
run auto-fails on an account-level error. signature
defaults to false here so first-time integrations
don't need an HMAC key. Config is mutable post-submit
via PUT /v1/jobs/{id}/webhook and DELETE /v1/jobs/{id}/webhook; the current config is surfaced
on GET /v1/jobs/{id}.
Show child attributes
Response
Job created (sync path). For a regular job, run 1 has started and all its task rows are written. A scheduled job has no run yet (latest_run is omitted) until its first fire.
job_id
string
required
status
enum<string>
required
open: initial run still accepting addBatchTasks. Only
meaningful while latest_run.run_sequence == 1.
closed: no more tasks accepted (created closed, or
closed via /close / addTasks{last_batch} / /rerun).
deleted: never returned. A deleted job disappears from
every read and list the moment DELETE is accepted (reads
answer 404); its data is cleaned up asynchronously after.
Clients must accept values not listed here.
Available options:
open,
closed,
deleted
accepted_tasks
integer
required
latest_run
object
Absent for scheduled jobs that haven't fired yet.
Show child attributes
webhook
object
Echo of the webhook config persisted on the job (when
one was supplied). Omitted when no webhook was set.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Zenrows","colors":{"primary":"#7C4FE8","light":"#7C4FE8","dark":"#7C4FE8"},"logo":{"light":"https://mintcdn.com/zenrows/iSpDUiIAwyhiBA2f/logo/light.svg?fit=max\u0026auto=format\u0026n=iSpDUiIAwyhiBA2f\u0026q=85\u0026s=8f6dde8ed73ba8072d966337bdf253a4","dark":"https://mintcdn.com/zenrows/iSpDUiIAwyhiBA2f/logo/dark.svg?fit=max\u0026auto=format\u0026n=iSpDUiIAwyhiBA2f\u0026q=85\u0026s=b3a8a23e1f5001a48a7f2f233a95f48c","href":"https://www.zenrows.com/"},"favicon":"https://mintcdn.com/zenrows/iSpDUiIAwyhiBA2f/favicon.svg?fit=max\u0026auto=format\u0026n=iSpDUiIAwyhiBA2f\u0026q=85\u0026s=c3b5ed046f6bbf305fb96d21145e0f4b","api":{"openapi":"api-reference/openapi.json","playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","node","go","php","ruby","java"],"prefill":true}},"appearance":{"default":"dark","strict":true},"navbar":{"links":[{"href":"https://www.zenrows.com/pricing","label":"Pricing"},{"href":"https://app.zenrows.com/login","label":"Log In"}],"primary":{"type":"button","label":"Start free","href":"https://app.zenrows.com/register"}},"footer":{"socials":{"x":"https://twitter.com/zenrowsHQ","linkedin":"https://www.linkedin.com/company/zenrows","github":"https://github.com/ZenRows"},"links":[{"header":"Primitives","items":[{"label":"Fetch","href":"/fetch/api-reference"},{"label":"Extract","href":"/extract/introduction"},{"label":"Crawl","href":"/crawl/introduction"},{"label":"Batch","href":"/batch/introduction"},{"label":"Browser","href":"/browser-sessions/introduction"}]},{"header":"Account","items":[{"label":"Pricing","href":"https://www.zenrows.com/pricing"},{"label":"Dashboard","href":"https://app.zenrows.com/overview"},{"label":"Billing \u0026 Invoices","href":"https://app.zenrows.com/billing/invoices"},{"label":"Support","href":"mailto:success@zenrows.com"},{"label":"Profile \u0026 API Key","href":"https://app.zenrows.com/settings/profile"}]},{"header":"Company","items":[{"label":"Contact","href":"https://www.zenrows.com/contact"},{"label":"Privacy Policy","href":"https://www.zenrows.com/legal/privacy"},{"label":"Legal Pages","href":"https://www.zenrows.com/legal"},{"label":"ISO 27001","href":"https://26062658.fs1.hubspotusercontent-eu1.net/hubfs/26062658/ISO/Cert%20251217%20ENG%2027001.pdf"}]}]},"seo":{"metatags":{"og:type":"website","og:site_name":"Zenrows Docs"}},"fonts":{"heading":{"family":"Rawest","weight":500,"source":"fonts/rawest-medium.woff2","format":"woff2"},"body":{"family":"Manrope"}},"icons":{"library":"tabler"},"styling":{"codeblocks":{"theme":"css-variables"},"latex":true},"integrations":{"amplitude":{"apiKey":"0837a12670049d37ea3cedb1fa3e9fee"},"gtm":{"tagId":"GTM-KBFL4XF"}},"banner":{"content":"Zenrows is now a native n8n node. [Get the node](/integrations/n8n)","dismissible":true},"contextual":{"options":["copy","view","download-spec","chatgpt","claude","perplexity","mcp",{"title":"Zenrows MCP Server","description":"Set up the MCP server that fetches and extracts web data","icon":"plug","href":"https://docs.zenrows.com/mcp/overview"}],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/zenrows/RA3w4wNbJL_40NF6/images/og/thumbnail-background.png?fit=max\u0026auto=format\u0026n=RA3w4wNbJL_40NF6\u0026q=85\u0026s=8f27d016ed36acecc2570522c52ffbeb","fonts":{"family":"Rawest","source":"fonts/rawest-medium.ttf","format":"ttf"},"eyebrow":{"source":"none"}},"markdown":{"instructions":"The Zenrows HTTP API serves Fetch and Extract (extract=auto) at https://api.zenrows.com/v1/, Crawl at https://api.zenrows.com/v1/crawls, and Batch at https://async.api.zenrows.com/v1. Fetch, Extract, Crawl and Batch are described in OpenAPI 3.1 at https://www.zenrows.com/openapi.json and listed in the RFC 9727 API catalog at https://www.zenrows.com/.well-known/api-catalog. Every endpoint also has its own page under /api-reference with its schema. Use the spec for exact parameter names and types. Crawl's endpoints, parameters and errors are also at https://docs.zenrows.com/crawl/endpoints.md. To call Zenrows from an agent, connect the MCP server at https://mcp.zenrows.com/mcp. To search these docs from an agent, connect the docs MCP server at https://docs.zenrows.com/mcp. Agent skills for Zenrows are published at https://github.com/ZenRows/cli and install with `npx skills add ZenRows/cli`."},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zenrows","hasAudioNarration":false,"actualSubdomain":"zenrows","customDomains":["docs.zenrows.com"],"gitSource":{"type":"github","owner":"zenrows","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0ac081f690ec76b026e621","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Documentation","count":290},{"language":"default","tag":"Fetch","count":64},{"language":"default","tag":"API","count":63},{"language":"default","tag":"Academy","count":62},{"language":"default","tag":"API Reference","count":51},{"language":"default","tag":"Batch","count":42},{"language":"default","tag":"Integrations","count":42},{"language":"default","tag":"SDK","count":39},{"language":"default","tag":"Features","count":26},{"language":"default","tag":"Get Started","count":25}]},"assistantConfig":{"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"deflection":{"enabled":true,"email":"success@zenrows.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/zenrows/4909d419762efc54/style.css"}]}
{"page":{"pagePath":"api-reference/batch/create-a-batch-job-many-urls-in-one-request","slug":"/api-reference/batch/create-a-batch-job-many-urls-in-one-request","pageMetadata":{"title":"Create a batch job (many URLs in one request)","description":"Validates inputs and authenticates the caller, then persists\nthe job, its first run, and (for small submits) all tasks\nbefore returning. Validation failures (4xx) create nothing. A\n`503` from a temporary failure usually creates nothing\neither, but a late-stage failure can leave the job visible\nwith its run already `stopped`: safe to `DELETE`. A `503`\nthat came before the job was created gives the\n`Idempotency-Key` back, so the same key works on retry. A\n`503` after the job was created keeps the key (a retry under\nit is `409 idempotency_key_conflict`): check `GET /v1/jobs`\nbefore you resend with a fresh key.\n\nSubmissions under 10,000 inline `tasks` return `201 Created`\nwith the task rows already in place: results are immediately\nqueryable via `GET /v1/jobs/{id}/results`.\n\nSubmissions at or above **10,000 inline tasks** are processed\noff the request path and return `202 Accepted`: `accepted_tasks`\nis the final validated count, but task rows stream into\nstorage over the following seconds (large submissions can take\nlonger). `GET /v1/jobs/{id}/results` returns only the rows\nwritten so far until ingest completes; the run's `stats.total`\nis correct from the start so completion polling\n(`stats.completed >= stats.total`) is reliable from the first\nresponse. While ingestion is in progress,\n`POST /v1/jobs/{id}/tasks` on an open job returns `409`:\nretry it once results pages fill out. The run's\n`ingest_status` field reports the ingest state: poll\n`GET /v1/jobs/{id}` until `latest_run.ingest_status` is\n`done` to know every task row is visible.\n\nLimits (defaults; an account can have its own): at most\n100,000 tasks per submit, 3 active (non-terminal) regular\njobs and 5 scheduled jobs per account. An open job holds an\nactive slot until it is closed; an idle open job is closed\nautomatically after 48 hours. A `rate` schedule must fire at\nmost once every 60 minutes. Going over a job cap returns\n`429 quota_exceeded`; going over the task limit or the\nschedule interval returns `400 invalid_argument`. A request\nrefused by one of these checks gives its `Idempotency-Key`\nback: once you free a slot (or fix the request), retry with\nthe same key.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs","href":"/api-reference/batch/create-a-batch-job-many-urls-in-one-request","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Validates inputs and authenticates the caller, then persists\\nthe job, its first run, and (for small submits) all tasks\\nbefore returning. Validation failures (4xx) create nothing. A\\n\", _jsx(_components.code, {\n children: \"503\"\n }), \" from a temporary failure usually creates nothing\\neither, but a late-stage failure can leave the job visible\\nwith its run already \", _jsx(_components.code, {\n children: \"stopped\"\n }), \": safe to \", _jsx(_components.code, {\n children: \"DELETE\"\n }), \". A \", _jsx(_components.code, {\n children: \"503\"\n }), \"\\nthat came before the job was created gives the\\n\", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" back, so the same key works on retry. A\\n\", _jsx(_components.code, {\n children: \"503\"\n }), \" after the job was created keeps the key (a retry under\\nit is \", _jsx(_components.code, {\n children: \"409 idempotency_key_conflict\"\n }), \"): check \", _jsx(_components.code, {\n children: \"GET /v1/jobs\"\n }), \"\\nbefore you resend with a fresh key.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Submissions under 10,000 inline \", _jsx(_components.code, {\n children: \"tasks\"\n }), \" return \", _jsx(_components.code, {\n children: \"201 Created\"\n }), \"\\nwith the task rows already in place: results are immediately\\nqueryable via \", _jsx(_components.code, {\n children: \"GET /v1/jobs/{id}/results\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Submissions at or above \", _jsx(_components.strong, {\n children: \"10,000 inline tasks\"\n }), \" are processed\\noff the request path and return \", _jsx(_components.code, {\n children: \"202 Accepted\"\n }), \": \", _jsx(_components.code, {\n children: \"accepted_tasks\"\n }), \"\\nis the final validated count, but task rows stream into\\nstorage over the following seconds (large submissions can take\\nlonger). \", _jsx(_components.code, {\n children: \"GET /v1/jobs/{id}/results\"\n }), \" returns only the rows\\nwritten so far until ingest completes; the run’s \", _jsx(_components.code, {\n children: \"stats.total\"\n }), \"\\nis correct from the start so completion polling\\n(\", _jsx(_components.code, {\n children: \"stats.completed >= stats.total\"\n }), \") is reliable from the first\\nresponse. While ingestion is in progress,\\n\", _jsx(_components.code, {\n children: \"POST /v1/jobs/{id}/tasks\"\n }), \" on an open job returns \", _jsx(_components.code, {\n children: \"409\"\n }), \":\\nretry it once results pages fill out. The run’s\\n\", _jsx(_components.code, {\n children: \"ingest_status\"\n }), \" field reports the ingest state: poll\\n\", _jsx(_components.code, {\n children: \"GET /v1/jobs/{id}\"\n }), \" until \", _jsx(_components.code, {\n children: \"latest_run.ingest_status\"\n }), \" is\\n\", _jsx(_components.code, {\n children: \"done\"\n }), \" to know every task row is visible.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Limits (defaults; an account can have its own): at most\\n100,000 tasks per submit, 3 active (non-terminal) regular\\njobs and 5 scheduled jobs per account. An open job holds an\\nactive slot until it is closed; an idle open job is closed\\nautomatically after 48 hours. A \", _jsx(_components.code, {\n children: \"rate\"\n }), \" schedule must fire at\\nmost once every 60 minutes. Going over a job cap returns\\n\", _jsx(_components.code, {\n children: \"429 quota_exceeded\"\n }), \"; going over the task limit or the\\nschedule interval returns \", _jsx(_components.code, {\n children: \"400 invalid_argument\"\n }), \". A request\\nrefused by one of these checks gives its \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \"\\nback: once you free a slot (or fix the request), retry with\\nthe same key.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":"css-variables"},"config":{},"pageMetadata":{"title":"Create a batch job (many URLs in one request)","description":"Validates inputs and authenticates the caller, then persists\nthe job, its first run, and (for small submits) all tasks\nbefore returning. Validation failures (4xx) create nothing. A\n`503` from a temporary failure usually creates nothing\neither, but a late-stage failure can leave the job visible\nwith its run already `stopped`: safe to `DELETE`. A `503`\nthat came before the job was created gives the\n`Idempotency-Key` back, so the same key works on retry. A\n`503` after the job was created keeps the key (a retry under\nit is `409 idempotency_key_conflict`): check `GET /v1/jobs`\nbefore you resend with a fresh key.\n\nSubmissions under 10,000 inline `tasks` return `201 Created`\nwith the task rows already in place: results are immediately\nqueryable via `GET /v1/jobs/{id}/results`.\n\nSubmissions at or above **10,000 inline tasks** are processed\noff the request path and return `202 Accepted`: `accepted_tasks`\nis the final validated count, but task rows stream into\nstorage over the following seconds (large submissions can take\nlonger). `GET /v1/jobs/{id}/results` returns only the rows\nwritten so far until ingest completes; the run's `stats.total`\nis correct from the start so completion polling\n(`stats.completed >= stats.total`) is reliable from the first\nresponse. While ingestion is in progress,\n`POST /v1/jobs/{id}/tasks` on an open job returns `409`:\nretry it once results pages fill out. The run's\n`ingest_status` field reports the ingest state: poll\n`GET /v1/jobs/{id}` until `latest_run.ingest_status` is\n`done` to know every task row is visible.\n\nLimits (defaults; an account can have its own): at most\n100,000 tasks per submit, 3 active (non-terminal) regular\njobs and 5 scheduled jobs per account. An open job holds an\nactive slot until it is closed; an idle open job is closed\nautomatically after 48 hours. A `rate` schedule must fire at\nmost once every 60 minutes. Going over a job cap returns\n`429 quota_exceeded`; going over the task limit or the\nschedule interval returns `400 invalid_argument`. A request\nrefused by one of these checks gives its `Idempotency-Key`\nback: once you free a slot (or fix the request), retry with\nthe same key.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs","href":"/api-reference/batch/create-a-batch-job-many-urls-in-one-request","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/zenrows/1cdd1f28624e1536/zenrows-amplitude-bridge.js","/_mintlify/custom/zenrows/7efdec0cc55fb182/reodev_script.js","/_mintlify/custom/zenrows/decca87420af86bd/api-tags.js","/_mintlify/custom/zenrows/a17f2d07ffdf056c/banner-fabric.js","/_mintlify/custom/zenrows/c913d17bfecc4418/code-tabs.js","/_mintlify/custom/zenrows/f0179bc249aecf1f/nav-roll.js","/_mintlify/custom/zenrows/1a1dfa0cfedc39c6/o-fabric.js","/_mintlify/custom/zenrows/3cddc4ee2b6b0444/primitive-rive.js","/_mintlify/custom/zenrows/f2442e9fd43476a8/setup-copy.js"],"openApiReferenceData":{"operation":{"operationId":"createBatchJob","summary":"Create a batch job (many URLs in one request)","description":"Validates inputs and authenticates the caller, then persists\nthe job, its first run, and (for small submits) all tasks\nbefore returning. Validation failures (4xx) create nothing. A\n`503` from a temporary failure usually creates nothing\neither, but a late-stage failure can leave the job visible\nwith its run already `stopped`: safe to `DELETE`. A `503`\nthat came before the job was created gives the\n`Idempotency-Key` back, so the same key works on retry. A\n`503` after the job was created keeps the key (a retry under\nit is `409 idempotency_key_conflict`): check `GET /v1/jobs`\nbefore you resend with a fresh key.\n\nSubmissions under 10,000 inline `tasks` return `201 Created`\nwith the task rows already in place: results are immediately\nqueryable via `GET /v1/jobs/{id}/results`.\n\nSubmissions at or above **10,000 inline tasks** are processed\noff the request path and return `202 Accepted`: `accepted_tasks`\nis the final validated count, but task rows stream into\nstorage over the following seconds (large submissions can take\nlonger). `GET /v1/jobs/{id}/results` returns only the rows\nwritten so far until ingest completes; the run's `stats.total`\nis correct from the start so completion polling\n(`stats.completed >= stats.total`) is reliable from the first\nresponse. While ingestion is in progress,\n`POST /v1/jobs/{id}/tasks` on an open job returns `409`:\nretry it once results pages fill out. The run's\n`ingest_status` field reports the ingest state: poll\n`GET /v1/jobs/{id}` until `latest_run.ingest_status` is\n`done` to know every task row is visible.\n\nLimits (defaults; an account can have its own): at most\n100,000 tasks per submit, 3 active (non-terminal) regular\njobs and 5 scheduled jobs per account. An open job holds an\nactive slot until it is closed; an idle open job is closed\nautomatically after 48 hours. A `rate` schedule must fire at\nmost once every 60 minutes. Going over a job cap returns\n`429 quota_exceeded`; going over the task limit or the\nschedule interval returns `400 invalid_argument`. A request\nrefused by one of these checks gives its `Idempotency-Key`\nback: once you free a slot (or fix the request), retry with\nthe same key.\n","tags":["Batch"],"servers":["88bdffe4-191c-4655-87dc-ffa91e4fb14b"],"security":["e167f2f7-3233-4057-b51a-1f810d2c6052"],"parameters":["371a0d49-f038-47e1-97cb-48758632835d"],"requestBody":"c0ec5054-c4b3-4976-82e5-cdbd66016538","responses":{"201":"a709c4f4-80a9-4e04-b366-91ace232f71f","202":"da44948a-90a7-4221-8995-194a77e5e220","400":"c7ffbe11-e503-45f3-ab36-ab2da3416bb3","401":"f56c1541-dc07-4ea5-949b-46405eea58fe","402":"f102634e-f167-49d8-9ae4-eaee2964aed9","403":"cde11f48-b0bb-4ccf-bfb9-4cc7aded8501","409":"8be8b633-bc5d-4fa9-8732-c65f9e22486f","429":"54eb813f-0cf8-436f-9cc6-31d8481f668b","503":"2250127e-309b-4df9-a770-7c79a6b22eda"},"method":"post","type":"path","path":"/jobs","baseUrlOptions":["https://async.api.zenrows.com/v1"],"title":"Create a batch job (many URLs in one request)","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","node","go","php","ruby","java"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.type":"regular","body.status":"closed","body.schedule.at":"2026-09-01T09:00:00","body.schedule.timezone":"Europe/Berlin","body.tasks.items.0.url":"\u003cstring>","body.tasks.items.0.external_id":"\u003cstring>","body.tasks.items.0.method":"GET","body.tasks.items.0.body":"\u003cunknown>","body.file_input_id":"\u003cstring>","body.external_id":"\u003cstring>","body.name":"\u003cstring>"}]},"dependencies":{"parameters":{"371a0d49-f038-47e1-97cb-48758632835d":{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional opaque token scoping a single submit / rerun /\nadd-tasks request, kept for 24 hours. A retry with the same\nkey and the same body replays the original status and body.\nThe same key with a different body, or while the original\nrequest is still being processed, returns\n`409 idempotency_key_conflict`. A request that is refused\n(any `4xx`, or a `503` before the job or run was created)\ngives the key back, so a retry with the same key is\nprocessed afresh. A `503` after the job or run was created\nkeeps the key: a retry under it is `409`; check the job\nbefore you resend with a fresh key. On add-tasks a retry\nwith the same body finishes an attempt that stopped partway\nand adds each task once. The credit check runs first, so a\nretry of a call that succeeded returns `402` if the account\nhas run out of credit since. At most 128 characters; a\nlonger key is `400 invalid_argument`.\n","schema":{"type":"string","maxLength":128,"isRequired":false,"description":"Optional opaque token scoping a single submit / rerun /\nadd-tasks request, kept for 24 hours. A retry with the same\nkey and the same body replays the original status and body.\nThe same key with a different body, or while the original\nrequest is still being processed, returns\n`409 idempotency_key_conflict`. A request that is refused\n(any `4xx`, or a `503` before the job or run was created)\ngives the key back, so a retry with the same key is\nprocessed afresh. A `503` after the job or run was created\nkeeps the key: a retry under it is `409`; check the job\nbefore you resend with a fresh key. On add-tasks a retry\nwith the same body finishes an attempt that stopped partway\nand adds each task once. The credit check runs first, so a\nretry of a call that succeeded returns `402` if the account\nhas run out of credit since. At most 128 characters; a\nlonger key is `400 invalid_argument`.\n","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["regular","scheduled"],"default":"regular","description":"- `regular`: a run is created at submit time.\n- `scheduled`: fires on a recurring or one-shot schedule.\n Submit stores the task list as a template on the job row;\n each scheduled fire produces a fresh Run. `schedule`\n field required. Read-only template: `addBatchTasks` and\n `close` return 409. `rerun` (full or filtered) and `stop`\n are allowed.\n","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["open","closed"],"default":"closed","description":"Initial state. `open` is only allowed for `regular` jobs;\nafter the initial run, `open` has no meaning so the job\nis auto-closed.\n","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"zenrows_params":{"type":"object","description":"Job-level scraper params, applied to every task of every\nrun of the job. Each task can override individual keys\nvia its own `zenrows_params` (task wins on collision).\n","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"zenrows_params.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"boolean","uniqueKey":"zenrows_params.additionalProperties.oneOf.1","typeLabel":"boolean"},{"type":"integer","uniqueKey":"zenrows_params.additionalProperties.oneOf.2","typeLabel":"integer"},{"type":"object","additionalProperties":{"type":"string","uniqueKey":"zenrows_params.additionalProperties.oneOf.3.additionalProperties","typeLabel":"string"},"uniqueKey":"zenrows_params.additionalProperties.oneOf.3","typeLabel":"object"}],"uniqueKey":"zenrows_params.additionalProperties","typeLabel":"string | boolean | integer | object"},"uniqueKey":"zenrows_params","typeLabel":"object"},"schedule":{"type":"object","description":"Schedule block for `type: scheduled`. Required there,\nignored otherwise.\n","properties":{"at":{"type":"string","description":"One-shot fire at a specific wall-clock timestamp.\nMutually exclusive with `rate` and `calendar`.\n\n**Must be tz-naive**: no trailing `Z`, no offset. The\nsibling `timezone` field (mandatory) is the single\nauthoritative interpreter. This keeps DST transitions\ndeterministic.\n","example":"2026-09-01T09:00:00","uniqueKey":"schedule.at","typeLabel":"string"},"rate":{"type":"object","required":["every","unit"],"description":"Interval-based fire policy: every N units. The interval must\nbe at least 60 minutes by default (an account can have its own\nminimum); a shorter one returns `400 invalid_argument`.\n","properties":{"every":{"type":"integer","minimum":1,"example":6,"isRequired":true,"uniqueKey":"schedule.rate.every","typeLabel":"integer"},"unit":{"type":"string","enum":["minute","hour","day"],"example":"hour","isRequired":true,"uniqueKey":"schedule.rate.unit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"schedule.rate","typeLabel":"object"},"calendar":{"type":"object","required":["times_of_day","cadence"],"description":"Calendar-style fire policy. Fires at every `times_of_day`\nentry on every day matching the cadence.\n","properties":{"times_of_day":{"type":"array","minItems":1,"description":"Wall-clock times on a 24-hour clock, full hours only\n(`\"09:00\"`, `\"18:00\"`). Minute granularity is rejected\nwith 400.\n","items":{"type":"string","pattern":"^([01][0-9]|2[0-3]):00$","uniqueKey":"schedule.calendar.times_of_day.items.[INDEX]","typeLabel":"string"},"example":["09:00","18:00"],"isRequired":true,"uniqueKey":"schedule.calendar.times_of_day","typeLabel":"string[]"},"cadence":{"type":"object","description":"Picks which days the schedule fires on. Exactly one of\n`daily`, `weekly`, `monthly` must be set.\n","properties":{"daily":{"type":"object","description":"Fire every day. No knobs.","uniqueKey":"schedule.calendar.cadence.daily","typeLabel":"object"},"weekly":{"type":"object","required":["days"],"properties":{"days":{"type":"array","minItems":1,"items":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"],"uniqueKey":"schedule.calendar.cadence.weekly.days.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["mon","wed","fri"],"isRequired":true,"uniqueKey":"schedule.calendar.cadence.weekly.days","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"schedule.calendar.cadence.weekly","typeLabel":"object"},"monthly":{"type":"object","required":["days"],"properties":{"days":{"type":"array","minItems":1,"items":{"type":"integer","minimum":1,"maximum":31,"uniqueKey":"schedule.calendar.cadence.monthly.days.items.[INDEX]","typeLabel":"integer"},"example":[1,15],"isRequired":true,"uniqueKey":"schedule.calendar.cadence.monthly.days","typeLabel":"integer[]"}},"uniqueKey":"schedule.calendar.cadence.monthly","typeLabel":"object"}},"isRequired":true,"uniqueKey":"schedule.calendar.cadence","typeLabel":"object"}},"uniqueKey":"schedule.calendar","typeLabel":"object"},"timezone":{"type":"string","description":"IANA timezone name (e.g. `Europe/Berlin`, `UTC`).\n**Required** when `at` or `calendar` is set;\nignored by `rate` (interval-based, no wall-clock\nmeaning). Anchoring wall-clock times to a named zone\n(rather than a UTC offset baked into the string) keeps\nDST transitions deterministic.\n","example":"Europe/Berlin","uniqueKey":"schedule.timezone","typeLabel":"string"}},"uniqueKey":"schedule","typeLabel":"object"},"tasks":{"type":"array","description":"Required for closed jobs (1 to 100,000 tasks by default;\nan account can have its own limit) unless `file_input_id`\nis provided. Optional for open jobs: may be empty if the\ncaller will follow up with `addBatchTasks`. Mutually exclusive\nwith `file_input_id`.\n","minItems":0,"items":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Must be http(s). Other schemes rejected at submit.","isRequired":true,"uniqueKey":"tasks.items.[INDEX].url","typeLabel":"string\u003curi>"},"external_id":{"type":"string","maxLength":128,"pattern":"^[A-Za-z0-9._-]+$","description":"Optional caller-supplied correlation id: typically an\nidentifier from the caller's own system. Surfaced verbatim\nin result/content responses so callers can match results\nback to their records. **Not required to be unique**:\ncallers may reuse the same value across tasks (e.g. when\nmultiple scrapes correlate to the same upstream record).\nIndependent of the server-\nassigned `task_id`.\n","uniqueKey":"tasks.items.[INDEX].external_id","typeLabel":"string"},"metadata":{"type":"object","description":"Opaque user-supplied key/value pairs. Stored on the task; not forwarded.","additionalProperties":{"type":"string","maxLength":1024,"uniqueKey":"tasks.items.[INDEX].metadata.additionalProperties","typeLabel":"string"},"maxProperties":20,"uniqueKey":"tasks.items.[INDEX].metadata","typeLabel":"object"},"method":{"type":"string","enum":["GET","POST"],"default":"GET","description":"HTTP method used against `url`. Case-insensitive. POST is\nfor **safe/idempotent** requests only (GraphQL queries,\nsearch endpoints): tasks are retried on transient failures\nand reruns, so the target may see the same POST more than\nonce. Don't send a request that must not run twice. POST\nrides the standard (non-headless)\nscraping path: combining it with `js_render`,\n`js_instructions`, or `json_response` is rejected with\n`400 invalid_argument`, the task's `invalid_tasks[].reason`\nbeing `method_param_conflict`.\n","uniqueKey":"tasks.items.[INDEX].method","typeLabel":"enum\u003cstring>"},"body":{"description":"Request body, only with `method: POST`. Any JSON value,\n16 KiB max. An object/array/number/boolean is sent as its\nJSON encoding with `Content-Type: application/json`; a\nstring is sent verbatim with\n`Content-Type: application/x-www-form-urlencoded`. Set a\ndifferent target Content-Type via the `custom_headers`\nzenrows param. Never echoed in results listings.\n","uniqueKey":"tasks.items.[INDEX].body","typeLabel":"any"},"zenrows_params":{"type":"object","description":"Per-task scraper params. Override the job-level\n`zenrows_params` on key collision (task wins).\n","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"tasks.items.[INDEX].zenrows_params.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"boolean","uniqueKey":"tasks.items.[INDEX].zenrows_params.additionalProperties.oneOf.1","typeLabel":"boolean"},{"type":"integer","uniqueKey":"tasks.items.[INDEX].zenrows_params.additionalProperties.oneOf.2","typeLabel":"integer"},{"type":"object","additionalProperties":{"type":"string","uniqueKey":"tasks.items.[INDEX].zenrows_params.additionalProperties.oneOf.3.additionalProperties","typeLabel":"string"},"uniqueKey":"tasks.items.[INDEX].zenrows_params.additionalProperties.oneOf.3","typeLabel":"object"}],"uniqueKey":"tasks.items.[INDEX].zenrows_params.additionalProperties","typeLabel":"string | boolean | integer | object"},"uniqueKey":"tasks.items.[INDEX].zenrows_params","typeLabel":"object"}},"uniqueKey":"tasks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tasks","typeLabel":"object[]"},"file_input_id":{"type":"string","description":"Reference to a previously-uploaded CSV input (see\n`POST /v1/job_inputs`). Mutually exclusive with `tasks`.\nEligible only for regular-closed and scheduled job types.\nThe uploaded CSV is parsed under the saved spec; its rows\nbecome the tasks (regular-closed) or the task template\n(scheduled).\n","uniqueKey":"file_input_id","typeLabel":"string"},"external_id":{"type":"string","maxLength":128,"pattern":"^[A-Za-z0-9._-]+$","description":"Optional caller-supplied correlation id for the job:\nsame semantics as `task.external_id`. Shape-checked,\n**not** required to be unique. Surfaced verbatim in\n`getBatchJob` / `listBatchJobs` responses.\n","uniqueKey":"external_id","typeLabel":"string"},"name":{"type":"string","maxLength":100,"description":"Optional human-readable label for the job. Free-form:\nno shape rules. Up to 100 characters. Surfaced verbatim\nin `getBatchJob` / `listBatchJobs` responses. No uniqueness, no\nindexing; cannot be changed after submit.\n","uniqueKey":"name","typeLabel":"string"},"metadata":{"type":"object","description":"Opaque user-supplied key/value pairs. Stored on the task; not forwarded.","additionalProperties":{"type":"string","maxLength":1024,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"maxProperties":20,"uniqueKey":"metadata","typeLabel":"object"},"webhook":{"type":"object","required":["url"],"description":"Optional `run.completed` / `run.failed` delivery config.\nA terminal run fires `run.completed` on a natural finish, or\n`run.failed` (with `failure_reason` + partial stats) when the\nrun auto-fails on an account-level error. `signature`\ndefaults to `false` here so first-time integrations\ndon't need an HMAC key. Config is mutable post-submit\nvia `PUT /v1/jobs/{id}/webhook` and `DELETE\n/v1/jobs/{id}/webhook`; the current config is surfaced\non `GET /v1/jobs/{id}`.\n","properties":{"url":{"type":"string","format":"uri","description":"HTTPS URL that receives the run events.","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string\u003curi>"},"signature":{"type":"boolean","default":false,"description":"Sign each delivery with the account's active HMAC key (see `BatchWebhookConfig.signature`).","uniqueKey":"webhook.signature","typeLabel":"boolean"}},"uniqueKey":"webhook","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"regular","status":"closed","zenrows_params":{},"schedule":{"at":"2026-09-01T09:00:00","timezone":"Europe/Berlin"},"tasks":[{"url":"\u003cstring>","external_id":"\u003cstring>","metadata":{},"method":"GET","body":"\u003cunknown>","zenrows_params":{}}],"file_input_id":"\u003cstring>","external_id":"\u003cstring>","name":"\u003cstring>","metadata":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a709c4f4-80a9-4e04-b366-91ace232f71f":{"description":"Job created (sync path). For a regular job, run 1 has started and all its task rows are written. A scheduled job has no run yet (`latest_run` is omitted) until its first fire.","headers":{"X-Request-Id":{"description":"Identifier for this request. Quote it when reporting a problem.","schema":{"type":"string","example":"67fa4e35647515d8ad61bb3ee041e1bb"}}},"content":{"application/json":{"schema":{"type":"object","required":["job_id","status","accepted_tasks"],"properties":{"job_id":{"type":"string","isRequired":true,"uniqueKey":"job_id","typeLabel":"string"},"status":{"type":"string","x-extensible-enum":true,"enum":["open","closed","deleted"],"description":"- `open`: initial run still accepting `addBatchTasks`. Only\n meaningful while `latest_run.run_sequence == 1`.\n- `closed`: no more tasks accepted (created closed, or\n closed via `/close` / `addTasks{last_batch}` / `/rerun`).\n- `deleted`: never returned. A deleted job disappears from\n every read and list the moment `DELETE` is accepted (reads\n answer 404); its data is cleaned up asynchronously after.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"accepted_tasks":{"type":"integer","isRequired":true,"uniqueKey":"accepted_tasks","typeLabel":"integer"},"latest_run":{"type":"object","required":["run_id","job_id","run_sequence","status","stats","created_at","updated_at"],"properties":{"run_id":{"type":"string","isRequired":true,"uniqueKey":"latest_run.run_id","typeLabel":"string"},"job_id":{"type":"string","isRequired":true,"uniqueKey":"latest_run.job_id","typeLabel":"string"},"run_sequence":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"latest_run.run_sequence","typeLabel":"integer"},"status":{"type":"string","x-extensible-enum":true,"enum":["running","pending","completed","stopped","failed","deleted"],"description":"In-flight:\n- `running`: work queued / in flight.\n- `pending`: initial run of an open job, idle between batches.\n\nTerminal:\n- `completed`: natural finish.\n- `stopped`: caller called `POST /jobs/{id}/stop`. No new\n tasks are picked up; in-flight tasks may still finish.\n Result bodies are kept. `stats.completed \u003c stats.total`\n signals \"stopped early\".\n- `failed`: the run was auto-failed on an account-level error\n (insufficient credits / inactive subscription / the API key's\n credit cap reached). No new tasks are picked up;\n `failure_reason` and `failure_detail` carry the cause.\n Re-runnable once the account or cap is resolved. Result bodies already produced\n are kept.\n- `deleted`: caller called\n `DELETE /v1/jobs/{id}/runs/{run_id}`. The run's result\n bodies and data are being deleted; once complete the run\n disappears.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"latest_run.status","typeLabel":"enum\u003cstring>"},"stats":{"type":"object","required":["total","completed","successful","failed"],"properties":{"total":{"type":"integer","description":"Number of tasks in this run.","isRequired":true,"uniqueKey":"latest_run.stats.total","typeLabel":"integer"},"completed":{"type":"integer","description":"successful + failed.","isRequired":true,"uniqueKey":"latest_run.stats.completed","typeLabel":"integer"},"successful":{"type":"integer","isRequired":true,"uniqueKey":"latest_run.stats.successful","typeLabel":"integer"},"failed":{"type":"integer","isRequired":true,"uniqueKey":"latest_run.stats.failed","typeLabel":"integer"},"failure_reasons":{"type":"object","description":"Coarse rollup of terminal failures keyed by a small public\ntaxonomy. Lets you answer \"what kinds of failures did I\nget?\" without paging every error blob. Best-effort,\nindicative: omitted on runs with no failures yet and on\nruns that predate the feature.\n\nVocabulary (the only keys that appear):\n- `auth_failed`: credentials or billing\n- `blocked`: anti-bot / policy denials, including a bot wall\n Extract met on the fetched page\n- `bad_target`: target URL is the problem (bad host, 404, 410,\n too large, or a page Extract does not cover or found no data on)\n- `rate_limited`: target throttled the request\n- `timeout`: the scrape didn't complete in time\n- `gateway_error`: Zenrows-side transport / 5xx\n- `other`: anything else\n","additionalProperties":{"type":"integer","minimum":0,"uniqueKey":"latest_run.stats.failure_reasons.additionalProperties","typeLabel":"integer"},"example":{"blocked":9,"gateway_error":4},"uniqueKey":"latest_run.stats.failure_reasons","typeLabel":"object"},"spend":{"type":"object","description":"Indicative spend summed across every task attempt in\nthis run. Absent on runs whose tasks predate this\nfield (treat as zero).\n","required":["credits","cost"],"properties":{"credits":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"latest_run.stats.spend.credits","typeLabel":"integer"},"cost":{"type":"number","format":"double","minimum":0,"isRequired":true,"uniqueKey":"latest_run.stats.spend.cost","typeLabel":"number\u003cdouble>"}},"uniqueKey":"latest_run.stats.spend","typeLabel":"object"}},"isRequired":true,"uniqueKey":"latest_run.stats","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"latest_run.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"latest_run.updated_at","typeLabel":"string\u003cdate-time>"},"trigger":{"type":"string","x-extensible-enum":true,"enum":["manual","scheduled"],"description":"What set this run in motion. Always set.\n- `manual`: caller-initiated: `POST /jobs`, `POST /jobs/{id}/rerun`\n (any job type, full or `?status=`-filtered, manual fire of\n a scheduled job).\n- `scheduled`: automatic, fired by the configured\n schedule (recurring or one-shot).\n\nClients must accept values not listed here.\n","uniqueKey":"latest_run.trigger","typeLabel":"enum\u003cstring>"},"last_batch_received":{"type":"boolean","description":"Meaningful only for the initial run of an open job.\nOnce true, `addBatchTasks` is rejected and the run drains\ninto `completed`.\n","uniqueKey":"latest_run.last_batch_received","typeLabel":"boolean"},"pause_state":{"type":"string","enum":["active","paused"],"description":"Reversible-suspend flag, orthogonal to `status`. A run\nnever paused omits it; a resumed run returns `active`\nexplicitly. Treat a missing field as `active`. Flip via\n`POST /jobs/{id}/pause` and `/resume`.\n","uniqueKey":"latest_run.pause_state","typeLabel":"enum\u003cstring>"},"ingest_status":{"type":"string","x-extensible-enum":true,"enum":["pending","done"],"description":"Present only on runs created by a large (202) submission\nor a large (202) rerun. `pending`: task rows are still\nstreaming into storage; reads may return partial pages\nand `addBatchTasks` returns `409`. `done`: every accepted\ntask row is visible. Omitted on runs whose tasks were\nwritten on the request path (201 submissions and\nreruns, `addBatchTasks` batches).\n\nClients must accept values not listed here.\n","uniqueKey":"latest_run.ingest_status","typeLabel":"enum\u003cstring>"},"failure_reason":{"type":"string","x-extensible-enum":true,"enum":["insufficient_credits","subscription_inactive","api_key_cap_reached"],"description":"Present only when `status == failed`: the account-level\ncause of the auto-fail. Omitted otherwise. Distinct from\n`stats.failure_reasons` (the per-task rollup).\n- `insufficient_credits`: the account is out of credits, or\n the plan doesn't include a feature the task needs.\n- `subscription_inactive`: the subscription is not active\n or has expired, the plan doesn't include the API, or the\n job's API key is no longer valid.\n- `api_key_cap_reached`: the job's API key reached one of\n its credit caps (day, week, month or billing period).\n Resolves on its own when that cap's window resets, or\n when the cap is raised.\n\nClients must accept values not listed here.\n","uniqueKey":"latest_run.failure_reason","typeLabel":"enum\u003cstring>"},"failure_detail":{"type":"string","description":"Human-readable explanation of `failure_reason`, e.g. which\ncap was reached and when it resets. Present only when\n`failure_reason` is. At most 500 characters (Unicode code\npoints); longer upstream text is cut. Free text for display:\nbranch on `failure_reason`, never on this string.\n","example":"Subscription has no credit available.","uniqueKey":"latest_run.failure_detail","typeLabel":"string"}},"description":"Absent for `scheduled` jobs that haven't fired yet.","uniqueKey":"latest_run","typeLabel":"object"},"webhook":{"type":"object","required":["url","signature"],"description":"Echo of the webhook config persisted on the job (when\none was supplied). Omitted when no webhook was set.\n","properties":{"url":{"type":"string","format":"uri","description":"HTTPS only. Host must resolve via DNS within 1 second\n(1+ A/AAAA record).\n","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string\u003curi>"},"signature":{"type":"boolean","description":"Opt-in HMAC signing. When `true`, each delivery is signed\nwith the account's active HMAC key\n(`POST /v1/hmac/keys/rotate`) and carries\n`X-Signature: t=\u003cunix>,v1=\u003chex>,kid=\u003cactive>`. The signed\ninput is `t + \".\" + raw_body`, HMAC-SHA256, keyed with the\nsecret's raw bytes: base64-decode the `secret` that\n`/rotate` returned before using it. When `false`,\ndeliveries carry **no** `X-Signature` header: header\nabsence is the signal.\n","isRequired":true,"uniqueKey":"webhook.signature","typeLabel":"boolean"}},"uniqueKey":"webhook","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"job_id":"\u003cstring>","status":"open","accepted_tasks":123,"latest_run":{"run_id":"\u003cstring>","job_id":"\u003cstring>","run_sequence":2,"status":"running","stats":{"total":123,"completed":123,"successful":123,"failed":123,"failure_reasons":{"blocked":9,"gateway_error":4},"spend":{"credits":1,"cost":1}},"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","trigger":"manual","last_batch_received":true,"pause_state":"active","ingest_status":"pending","failure_reason":"insufficient_credits","failure_detail":"Subscription has no credit available."},"webhook":{"url":"\u003cstring>","signature":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"da44948a-90a7-4221-8995-194a77e5e220":{"description":"Job accepted (large submission). The validated task list\nis durable and `accepted_tasks` is the final count, but\nindividual task rows stream into storage off the request\npath. `GET /v1/jobs/{id}/results` may return partial pages\nuntil ingest completes; the run's\n`stats.total` is correct from this response forward and\n`stats.completed` climbs from 0, so the run reaches\n`completed` only after every task drains: completion\npolling is safe. `latest_run.ingest_status` is `pending`\nin this response and flips to `done` on `GET /v1/jobs/{id}`\nonce every task row is visible. Body shape matches the\n201 response.\n","headers":{"X-Request-Id":{"description":"Identifier for this request. Quote it when reporting a problem.","schema":{"type":"string","example":"67fa4e35647515d8ad61bb3ee041e1bb"}}},"content":{"application/json":{"schema":{"type":"object","required":["job_id","status","accepted_tasks"],"properties":{"job_id":{"type":"string","isRequired":true,"uniqueKey":"job_id","typeLabel":"string"},"status":{"type":"string","x-extensible-enum":true,"enum":["open","closed","deleted"],"description":"- `open`: initial run still accepting `addBatchTasks`. Only\n meaningful while `latest_run.run_sequence == 1`.\n- `closed`: no more tasks accepted (created closed, or\n closed via `/close` / `addTasks{last_batch}` / `/rerun`).\n- `deleted`: never returned. A deleted job disappears from\n every read and list the moment `DELETE` is accepted (reads\n answer 404); its data is cleaned up asynchronously after.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"accepted_tasks":{"type":"integer","isRequired":true,"uniqueKey":"accepted_tasks","typeLabel":"integer"},"latest_run":{"type":"object","required":["run_id","job_id","run_sequence","status","stats","created_at","updated_at"],"properties":{"run_id":{"type":"string","isRequired":true,"uniqueKey":"latest_run.run_id","typeLabel":"string"},"job_id":{"type":"string","isRequired":true,"uniqueKey":"latest_run.job_id","typeLabel":"string"},"run_sequence":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"latest_run.run_sequence","typeLabel":"integer"},"status":{"type":"string","x-extensible-enum":true,"enum":["running","pending","completed","stopped","failed","deleted"],"description":"In-flight:\n- `running`: work queued / in flight.\n- `pending`: initial run of an open job, idle between batches.\n\nTerminal:\n- `completed`: natural finish.\n- `stopped`: caller called `POST /jobs/{id}/stop`. No new\n tasks are picked up; in-flight tasks may still finish.\n Result bodies are kept. `stats.completed \u003c stats.total`\n signals \"stopped early\".\n- `failed`: the run was auto-failed on an account-level error\n (insufficient credits / inactive subscription / the API key's\n credit cap reached). No new tasks are picked up;\n `failure_reason` and `failure_detail` carry the cause.\n Re-runnable once the account or cap is resolved. Result bodies already produced\n are kept.\n- `deleted`: caller called\n `DELETE /v1/jobs/{id}/runs/{run_id}`. The run's result\n bodies and data are being deleted; once complete the run\n disappears.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"latest_run.status","typeLabel":"enum\u003cstring>"},"stats":{"type":"object","required":["total","completed","successful","failed"],"properties":{"total":{"type":"integer","description":"Number of tasks in this run.","isRequired":true,"uniqueKey":"latest_run.stats.total","typeLabel":"integer"},"completed":{"type":"integer","description":"successful + failed.","isRequired":true,"uniqueKey":"latest_run.stats.completed","typeLabel":"integer"},"successful":{"type":"integer","isRequired":true,"uniqueKey":"latest_run.stats.successful","typeLabel":"integer"},"failed":{"type":"integer","isRequired":true,"uniqueKey":"latest_run.stats.failed","typeLabel":"integer"},"failure_reasons":{"type":"object","description":"Coarse rollup of terminal failures keyed by a small public\ntaxonomy. Lets you answer \"what kinds of failures did I\nget?\" without paging every error blob. Best-effort,\nindicative: omitted on runs with no failures yet and on\nruns that predate the feature.\n\nVocabulary (the only keys that appear):\n- `auth_failed`: credentials or billing\n- `blocked`: anti-bot / policy denials, including a bot wall\n Extract met on the fetched page\n- `bad_target`: target URL is the problem (bad host, 404, 410,\n too large, or a page Extract does not cover or found no data on)\n- `rate_limited`: target throttled the request\n- `timeout`: the scrape didn't complete in time\n- `gateway_error`: Zenrows-side transport / 5xx\n- `other`: anything else\n","additionalProperties":{"type":"integer","minimum":0,"uniqueKey":"latest_run.stats.failure_reasons.additionalProperties","typeLabel":"integer"},"example":{"blocked":9,"gateway_error":4},"uniqueKey":"latest_run.stats.failure_reasons","typeLabel":"object"},"spend":{"type":"object","description":"Indicative spend summed across every task attempt in\nthis run. Absent on runs whose tasks predate this\nfield (treat as zero).\n","required":["credits","cost"],"properties":{"credits":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"latest_run.stats.spend.credits","typeLabel":"integer"},"cost":{"type":"number","format":"double","minimum":0,"isRequired":true,"uniqueKey":"latest_run.stats.spend.cost","typeLabel":"number\u003cdouble>"}},"uniqueKey":"latest_run.stats.spend","typeLabel":"object"}},"isRequired":true,"uniqueKey":"latest_run.stats","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"latest_run.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"latest_run.updated_at","typeLabel":"string\u003cdate-time>"},"trigger":{"type":"string","x-extensible-enum":true,"enum":["manual","scheduled"],"description":"What set this run in motion. Always set.\n- `manual`: caller-initiated: `POST /jobs`, `POST /jobs/{id}/rerun`\n (any job type, full or `?status=`-filtered, manual fire of\n a scheduled job).\n- `scheduled`: automatic, fired by the configured\n schedule (recurring or one-shot).\n\nClients must accept values not listed here.\n","uniqueKey":"latest_run.trigger","typeLabel":"enum\u003cstring>"},"last_batch_received":{"type":"boolean","description":"Meaningful only for the initial run of an open job.\nOnce true, `addBatchTasks` is rejected and the run drains\ninto `completed`.\n","uniqueKey":"latest_run.last_batch_received","typeLabel":"boolean"},"pause_state":{"type":"string","enum":["active","paused"],"description":"Reversible-suspend flag, orthogonal to `status`. A run\nnever paused omits it; a resumed run returns `active`\nexplicitly. Treat a missing field as `active`. Flip via\n`POST /jobs/{id}/pause` and `/resume`.\n","uniqueKey":"latest_run.pause_state","typeLabel":"enum\u003cstring>"},"ingest_status":{"type":"string","x-extensible-enum":true,"enum":["pending","done"],"description":"Present only on runs created by a large (202) submission\nor a large (202) rerun. `pending`: task rows are still\nstreaming into storage; reads may return partial pages\nand `addBatchTasks` returns `409`. `done`: every accepted\ntask row is visible. Omitted on runs whose tasks were\nwritten on the request path (201 submissions and\nreruns, `addBatchTasks` batches).\n\nClients must accept values not listed here.\n","uniqueKey":"latest_run.ingest_status","typeLabel":"enum\u003cstring>"},"failure_reason":{"type":"string","x-extensible-enum":true,"enum":["insufficient_credits","subscription_inactive","api_key_cap_reached"],"description":"Present only when `status == failed`: the account-level\ncause of the auto-fail. Omitted otherwise. Distinct from\n`stats.failure_reasons` (the per-task rollup).\n- `insufficient_credits`: the account is out of credits, or\n the plan doesn't include a feature the task needs.\n- `subscription_inactive`: the subscription is not active\n or has expired, the plan doesn't include the API, or the\n job's API key is no longer valid.\n- `api_key_cap_reached`: the job's API key reached one of\n its credit caps (day, week, month or billing period).\n Resolves on its own when that cap's window resets, or\n when the cap is raised.\n\nClients must accept values not listed here.\n","uniqueKey":"latest_run.failure_reason","typeLabel":"enum\u003cstring>"},"failure_detail":{"type":"string","description":"Human-readable explanation of `failure_reason`, e.g. which\ncap was reached and when it resets. Present only when\n`failure_reason` is. At most 500 characters (Unicode code\npoints); longer upstream text is cut. Free text for display:\nbranch on `failure_reason`, never on this string.\n","example":"Subscription has no credit available.","uniqueKey":"latest_run.failure_detail","typeLabel":"string"}},"description":"Absent for `scheduled` jobs that haven't fired yet.","uniqueKey":"latest_run","typeLabel":"object"},"webhook":{"type":"object","required":["url","signature"],"description":"Echo of the webhook config persisted on the job (when\none was supplied). Omitted when no webhook was set.\n","properties":{"url":{"type":"string","format":"uri","description":"HTTPS only. Host must resolve via DNS within 1 second\n(1+ A/AAAA record).\n","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string\u003curi>"},"signature":{"type":"boolean","description":"Opt-in HMAC signing. When `true`, each delivery is signed\nwith the account's active HMAC key\n(`POST /v1/hmac/keys/rotate`) and carries\n`X-Signature: t=\u003cunix>,v1=\u003chex>,kid=\u003cactive>`. The signed\ninput is `t + \".\" + raw_body`, HMAC-SHA256, keyed with the\nsecret's raw bytes: base64-decode the `secret` that\n`/rotate` returned before using it. When `false`,\ndeliveries carry **no** `X-Signature` header: header\nabsence is the signal.\n","isRequired":true,"uniqueKey":"webhook.signature","typeLabel":"boolean"}},"uniqueKey":"webhook","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"job_id":"\u003cstring>","status":"open","accepted_tasks":123,"latest_run":{"run_id":"\u003cstring>","job_id":"\u003cstring>","run_sequence":2,"status":"running","stats":{"total":123,"completed":123,"successful":123,"failed":123,"failure_reasons":{"blocked":9,"gateway_error":4},"spend":{"credits":1,"cost":1}},"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","trigger":"manual","last_batch_received":true,"pause_state":"active","ingest_status":"pending","failure_reason":"insufficient_credits","failure_detail":"Subscription has no credit available."},"webhook":{"url":"\u003cstring>","signature":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"c7ffbe11-e503-45f3-ab36-ab2da3416bb3":{"description":"Request validation failed.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable error code. Branch on this, not on\n`detail` or `title`. `type` links to the code's entry in the\npublic error reference. Codes and their usual status:\n\n| Status | Codes |\n|---|---|\n| 400 | `invalid_argument` (with `invalid_tasks` for per-task problems), `callback_url_must_be_https`, `callback_url_unresolvable`, `webhook_signing_requires_active_key` |\n| 401 | `unauthenticated`, `subscription_inactive` (a verified, enabled account whose subscription is past due, unpaid, incomplete or paused; `detail` stays \"Subscription is not active.\") |\n| 402 | `payment_required`, `api_key_cap_reached` |\n| 403 | `permission_denied` (the Batch API is not enabled for this account) |\n| 404 | `not_found` (job, run, task or export), `file_input_not_found` |\n| 409 | `conflict`, `job_not_open`, `last_batch_received`, `run_not_terminal`, `run_not_stoppable`, `no_prior_run`, `no_matching_tasks`, `run_has_descendants`, `idempotency_key_conflict`, `task_not_ready`, `partial_rerun_window_expired`, `candidate_pending`, `no_candidate`, `file_input_not_uploaded`, `file_input_unsupported_for_job_type` |\n| 410 | `result_expired` (a task's content past the result window, or an export past `expires_at`) |\n| 429 | `quota_exceeded` |\n| 500 / 503 | `internal` |\n\nA failed task's stored `error` uses the scraping engine's\nown codes, plus `gateway_unreachable` (503),\n`gateway_timeout` (504), `gateway_bad_response` and\n`internal` (500) for attempts that failed before the engine\nanswered with Problem JSON.\n\nA path that matches no API route answers a plain `404`\nwithout a Problem body.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Always `/v1`; it does not name the request path.","uniqueKey":"instance","typeLabel":"string"},"invalid_tasks":{"type":"array","description":"Present on validation errors.","items":{"type":"object","required":["index","reason"],"properties":{"index":{"type":"integer","isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].index","typeLabel":"integer"},"reason":{"type":"string","x-extensible-enum":true,"description":"Clients must accept values not listed here.","enum":["malformed_url","unsupported_scheme","missing_host","url_too_long","metadata_too_large","metadata_key_invalid","invalid_external_id","unknown_param","invalid_param_value","unsupported_method","body_not_allowed","body_too_large","body_malformed","method_param_conflict"],"isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Offending input. For URL / metadata reasons this is\na redacted/truncated form of the bad value. For\n`unknown_param` / `invalid_param_value` this is the\nparam key.\n","uniqueKey":"invalid_tasks.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"invalid_tasks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_tasks","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>","invalid_tasks":[{"index":123,"reason":"malformed_url","value":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"f56c1541-dc07-4ea5-949b-46405eea58fe":{"description":"Missing / invalid API key.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable error code. Branch on this, not on\n`detail` or `title`. `type` links to the code's entry in the\npublic error reference. Codes and their usual status:\n\n| Status | Codes |\n|---|---|\n| 400 | `invalid_argument` (with `invalid_tasks` for per-task problems), `callback_url_must_be_https`, `callback_url_unresolvable`, `webhook_signing_requires_active_key` |\n| 401 | `unauthenticated`, `subscription_inactive` (a verified, enabled account whose subscription is past due, unpaid, incomplete or paused; `detail` stays \"Subscription is not active.\") |\n| 402 | `payment_required`, `api_key_cap_reached` |\n| 403 | `permission_denied` (the Batch API is not enabled for this account) |\n| 404 | `not_found` (job, run, task or export), `file_input_not_found` |\n| 409 | `conflict`, `job_not_open`, `last_batch_received`, `run_not_terminal`, `run_not_stoppable`, `no_prior_run`, `no_matching_tasks`, `run_has_descendants`, `idempotency_key_conflict`, `task_not_ready`, `partial_rerun_window_expired`, `candidate_pending`, `no_candidate`, `file_input_not_uploaded`, `file_input_unsupported_for_job_type` |\n| 410 | `result_expired` (a task's content past the result window, or an export past `expires_at`) |\n| 429 | `quota_exceeded` |\n| 500 / 503 | `internal` |\n\nA failed task's stored `error` uses the scraping engine's\nown codes, plus `gateway_unreachable` (503),\n`gateway_timeout` (504), `gateway_bad_response` and\n`internal` (500) for attempts that failed before the engine\nanswered with Problem JSON.\n\nA path that matches no API route answers a plain `404`\nwithout a Problem body.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Always `/v1`; it does not name the request path.","uniqueKey":"instance","typeLabel":"string"},"invalid_tasks":{"type":"array","description":"Present on validation errors.","items":{"type":"object","required":["index","reason"],"properties":{"index":{"type":"integer","isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].index","typeLabel":"integer"},"reason":{"type":"string","x-extensible-enum":true,"description":"Clients must accept values not listed here.","enum":["malformed_url","unsupported_scheme","missing_host","url_too_long","metadata_too_large","metadata_key_invalid","invalid_external_id","unknown_param","invalid_param_value","unsupported_method","body_not_allowed","body_too_large","body_malformed","method_param_conflict"],"isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Offending input. For URL / metadata reasons this is\na redacted/truncated form of the bad value. For\n`unknown_param` / `invalid_param_value` this is the\nparam key.\n","uniqueKey":"invalid_tasks.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"invalid_tasks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_tasks","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>","invalid_tasks":[{"index":123,"reason":"malformed_url","value":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"f102634e-f167-49d8-9ae4-eaee2964aed9":{"description":"The run cannot start because of billing. The problem `code`\ntells the cases apart:\n- `payment_required`: the subscription has expired, has no\n credit available, or its plan does not include the API\n (\"Subscription does not allow access to this service.\").\n- `api_key_cap_reached`: this API key reached one of its\n credit caps. `detail` names the window, the cap and when it\n resets (UTC). Other keys on the account are unaffected.\n\nClients must accept `code` values not listed here.\n","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable error code. Branch on this, not on\n`detail` or `title`. `type` links to the code's entry in the\npublic error reference. Codes and their usual status:\n\n| Status | Codes |\n|---|---|\n| 400 | `invalid_argument` (with `invalid_tasks` for per-task problems), `callback_url_must_be_https`, `callback_url_unresolvable`, `webhook_signing_requires_active_key` |\n| 401 | `unauthenticated`, `subscription_inactive` (a verified, enabled account whose subscription is past due, unpaid, incomplete or paused; `detail` stays \"Subscription is not active.\") |\n| 402 | `payment_required`, `api_key_cap_reached` |\n| 403 | `permission_denied` (the Batch API is not enabled for this account) |\n| 404 | `not_found` (job, run, task or export), `file_input_not_found` |\n| 409 | `conflict`, `job_not_open`, `last_batch_received`, `run_not_terminal`, `run_not_stoppable`, `no_prior_run`, `no_matching_tasks`, `run_has_descendants`, `idempotency_key_conflict`, `task_not_ready`, `partial_rerun_window_expired`, `candidate_pending`, `no_candidate`, `file_input_not_uploaded`, `file_input_unsupported_for_job_type` |\n| 410 | `result_expired` (a task's content past the result window, or an export past `expires_at`) |\n| 429 | `quota_exceeded` |\n| 500 / 503 | `internal` |\n\nA failed task's stored `error` uses the scraping engine's\nown codes, plus `gateway_unreachable` (503),\n`gateway_timeout` (504), `gateway_bad_response` and\n`internal` (500) for attempts that failed before the engine\nanswered with Problem JSON.\n\nA path that matches no API route answers a plain `404`\nwithout a Problem body.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Always `/v1`; it does not name the request path.","uniqueKey":"instance","typeLabel":"string"},"invalid_tasks":{"type":"array","description":"Present on validation errors.","items":{"type":"object","required":["index","reason"],"properties":{"index":{"type":"integer","isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].index","typeLabel":"integer"},"reason":{"type":"string","x-extensible-enum":true,"description":"Clients must accept values not listed here.","enum":["malformed_url","unsupported_scheme","missing_host","url_too_long","metadata_too_large","metadata_key_invalid","invalid_external_id","unknown_param","invalid_param_value","unsupported_method","body_not_allowed","body_too_large","body_malformed","method_param_conflict"],"isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Offending input. For URL / metadata reasons this is\na redacted/truncated form of the bad value. For\n`unknown_param` / `invalid_param_value` this is the\nparam key.\n","uniqueKey":"invalid_tasks.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"invalid_tasks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_tasks","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>","invalid_tasks":[{"index":123,"reason":"malformed_url","value":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"cde11f48-b0bb-4ccf-bfb9-4cc7aded8501":{"description":"`permission_denied`: the Batch API is not enabled for this\naccount. Any `/v1` route can return it.\n","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable error code. Branch on this, not on\n`detail` or `title`. `type` links to the code's entry in the\npublic error reference. Codes and their usual status:\n\n| Status | Codes |\n|---|---|\n| 400 | `invalid_argument` (with `invalid_tasks` for per-task problems), `callback_url_must_be_https`, `callback_url_unresolvable`, `webhook_signing_requires_active_key` |\n| 401 | `unauthenticated`, `subscription_inactive` (a verified, enabled account whose subscription is past due, unpaid, incomplete or paused; `detail` stays \"Subscription is not active.\") |\n| 402 | `payment_required`, `api_key_cap_reached` |\n| 403 | `permission_denied` (the Batch API is not enabled for this account) |\n| 404 | `not_found` (job, run, task or export), `file_input_not_found` |\n| 409 | `conflict`, `job_not_open`, `last_batch_received`, `run_not_terminal`, `run_not_stoppable`, `no_prior_run`, `no_matching_tasks`, `run_has_descendants`, `idempotency_key_conflict`, `task_not_ready`, `partial_rerun_window_expired`, `candidate_pending`, `no_candidate`, `file_input_not_uploaded`, `file_input_unsupported_for_job_type` |\n| 410 | `result_expired` (a task's content past the result window, or an export past `expires_at`) |\n| 429 | `quota_exceeded` |\n| 500 / 503 | `internal` |\n\nA failed task's stored `error` uses the scraping engine's\nown codes, plus `gateway_unreachable` (503),\n`gateway_timeout` (504), `gateway_bad_response` and\n`internal` (500) for attempts that failed before the engine\nanswered with Problem JSON.\n\nA path that matches no API route answers a plain `404`\nwithout a Problem body.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Always `/v1`; it does not name the request path.","uniqueKey":"instance","typeLabel":"string"},"invalid_tasks":{"type":"array","description":"Present on validation errors.","items":{"type":"object","required":["index","reason"],"properties":{"index":{"type":"integer","isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].index","typeLabel":"integer"},"reason":{"type":"string","x-extensible-enum":true,"description":"Clients must accept values not listed here.","enum":["malformed_url","unsupported_scheme","missing_host","url_too_long","metadata_too_large","metadata_key_invalid","invalid_external_id","unknown_param","invalid_param_value","unsupported_method","body_not_allowed","body_too_large","body_malformed","method_param_conflict"],"isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Offending input. For URL / metadata reasons this is\na redacted/truncated form of the bad value. For\n`unknown_param` / `invalid_param_value` this is the\nparam key.\n","uniqueKey":"invalid_tasks.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"invalid_tasks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_tasks","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>","invalid_tasks":[{"index":123,"reason":"malformed_url","value":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"8be8b633-bc5d-4fa9-8732-c65f9e22486f":{"description":"`idempotency_key_conflict`: the Idempotency-Key was already\nused by this caller with a different body, or the first\nrequest with it is still in progress (or answered `503` after\nit created the job).\n","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable error code. Branch on this, not on\n`detail` or `title`. `type` links to the code's entry in the\npublic error reference. Codes and their usual status:\n\n| Status | Codes |\n|---|---|\n| 400 | `invalid_argument` (with `invalid_tasks` for per-task problems), `callback_url_must_be_https`, `callback_url_unresolvable`, `webhook_signing_requires_active_key` |\n| 401 | `unauthenticated`, `subscription_inactive` (a verified, enabled account whose subscription is past due, unpaid, incomplete or paused; `detail` stays \"Subscription is not active.\") |\n| 402 | `payment_required`, `api_key_cap_reached` |\n| 403 | `permission_denied` (the Batch API is not enabled for this account) |\n| 404 | `not_found` (job, run, task or export), `file_input_not_found` |\n| 409 | `conflict`, `job_not_open`, `last_batch_received`, `run_not_terminal`, `run_not_stoppable`, `no_prior_run`, `no_matching_tasks`, `run_has_descendants`, `idempotency_key_conflict`, `task_not_ready`, `partial_rerun_window_expired`, `candidate_pending`, `no_candidate`, `file_input_not_uploaded`, `file_input_unsupported_for_job_type` |\n| 410 | `result_expired` (a task's content past the result window, or an export past `expires_at`) |\n| 429 | `quota_exceeded` |\n| 500 / 503 | `internal` |\n\nA failed task's stored `error` uses the scraping engine's\nown codes, plus `gateway_unreachable` (503),\n`gateway_timeout` (504), `gateway_bad_response` and\n`internal` (500) for attempts that failed before the engine\nanswered with Problem JSON.\n\nA path that matches no API route answers a plain `404`\nwithout a Problem body.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Always `/v1`; it does not name the request path.","uniqueKey":"instance","typeLabel":"string"},"invalid_tasks":{"type":"array","description":"Present on validation errors.","items":{"type":"object","required":["index","reason"],"properties":{"index":{"type":"integer","isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].index","typeLabel":"integer"},"reason":{"type":"string","x-extensible-enum":true,"description":"Clients must accept values not listed here.","enum":["malformed_url","unsupported_scheme","missing_host","url_too_long","metadata_too_large","metadata_key_invalid","invalid_external_id","unknown_param","invalid_param_value","unsupported_method","body_not_allowed","body_too_large","body_malformed","method_param_conflict"],"isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Offending input. For URL / metadata reasons this is\na redacted/truncated form of the bad value. For\n`unknown_param` / `invalid_param_value` this is the\nparam key.\n","uniqueKey":"invalid_tasks.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"invalid_tasks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_tasks","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>","invalid_tasks":[{"index":123,"reason":"malformed_url","value":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"54eb813f-0cf8-436f-9cc6-31d8481f668b":{"description":"`quota_exceeded`: an account cap is reached. On submit: the\naccount already has its maximum of active regular jobs (3 by\ndefault, Crawl jobs included; an open job counts until it is closed) or of\nscheduled jobs (5 by default). On add-tasks: the open job's\nrun would go over 100,000 tasks. For a job cap, finish, close\nor delete a job, then retry; for the task cap, send fewer\ntasks or close the job. A refused submit gives its\n`Idempotency-Key` back, so the retry can reuse it; an\nadd-tasks retry with the same body is checked again. No\n`Retry-After` is sent: the cap clears when a job finishes or\nis deleted, not with time.\n","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable error code. Branch on this, not on\n`detail` or `title`. `type` links to the code's entry in the\npublic error reference. Codes and their usual status:\n\n| Status | Codes |\n|---|---|\n| 400 | `invalid_argument` (with `invalid_tasks` for per-task problems), `callback_url_must_be_https`, `callback_url_unresolvable`, `webhook_signing_requires_active_key` |\n| 401 | `unauthenticated`, `subscription_inactive` (a verified, enabled account whose subscription is past due, unpaid, incomplete or paused; `detail` stays \"Subscription is not active.\") |\n| 402 | `payment_required`, `api_key_cap_reached` |\n| 403 | `permission_denied` (the Batch API is not enabled for this account) |\n| 404 | `not_found` (job, run, task or export), `file_input_not_found` |\n| 409 | `conflict`, `job_not_open`, `last_batch_received`, `run_not_terminal`, `run_not_stoppable`, `no_prior_run`, `no_matching_tasks`, `run_has_descendants`, `idempotency_key_conflict`, `task_not_ready`, `partial_rerun_window_expired`, `candidate_pending`, `no_candidate`, `file_input_not_uploaded`, `file_input_unsupported_for_job_type` |\n| 410 | `result_expired` (a task's content past the result window, or an export past `expires_at`) |\n| 429 | `quota_exceeded` |\n| 500 / 503 | `internal` |\n\nA failed task's stored `error` uses the scraping engine's\nown codes, plus `gateway_unreachable` (503),\n`gateway_timeout` (504), `gateway_bad_response` and\n`internal` (500) for attempts that failed before the engine\nanswered with Problem JSON.\n\nA path that matches no API route answers a plain `404`\nwithout a Problem body.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Always `/v1`; it does not name the request path.","uniqueKey":"instance","typeLabel":"string"},"invalid_tasks":{"type":"array","description":"Present on validation errors.","items":{"type":"object","required":["index","reason"],"properties":{"index":{"type":"integer","isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].index","typeLabel":"integer"},"reason":{"type":"string","x-extensible-enum":true,"description":"Clients must accept values not listed here.","enum":["malformed_url","unsupported_scheme","missing_host","url_too_long","metadata_too_large","metadata_key_invalid","invalid_external_id","unknown_param","invalid_param_value","unsupported_method","body_not_allowed","body_too_large","body_malformed","method_param_conflict"],"isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Offending input. For URL / metadata reasons this is\na redacted/truncated form of the bad value. For\n`unknown_param` / `invalid_param_value` this is the\nparam key.\n","uniqueKey":"invalid_tasks.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"invalid_tasks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_tasks","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>","invalid_tasks":[{"index":123,"reason":"malformed_url","value":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"2250127e-309b-4df9-a770-7c79a6b22eda":{"description":"Transient upstream failure; safe to retry.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"Stable machine-readable error code. Branch on this, not on\n`detail` or `title`. `type` links to the code's entry in the\npublic error reference. Codes and their usual status:\n\n| Status | Codes |\n|---|---|\n| 400 | `invalid_argument` (with `invalid_tasks` for per-task problems), `callback_url_must_be_https`, `callback_url_unresolvable`, `webhook_signing_requires_active_key` |\n| 401 | `unauthenticated`, `subscription_inactive` (a verified, enabled account whose subscription is past due, unpaid, incomplete or paused; `detail` stays \"Subscription is not active.\") |\n| 402 | `payment_required`, `api_key_cap_reached` |\n| 403 | `permission_denied` (the Batch API is not enabled for this account) |\n| 404 | `not_found` (job, run, task or export), `file_input_not_found` |\n| 409 | `conflict`, `job_not_open`, `last_batch_received`, `run_not_terminal`, `run_not_stoppable`, `no_prior_run`, `no_matching_tasks`, `run_has_descendants`, `idempotency_key_conflict`, `task_not_ready`, `partial_rerun_window_expired`, `candidate_pending`, `no_candidate`, `file_input_not_uploaded`, `file_input_unsupported_for_job_type` |\n| 410 | `result_expired` (a task's content past the result window, or an export past `expires_at`) |\n| 429 | `quota_exceeded` |\n| 500 / 503 | `internal` |\n\nA failed task's stored `error` uses the scraping engine's\nown codes, plus `gateway_unreachable` (503),\n`gateway_timeout` (504), `gateway_bad_response` and\n`internal` (500) for attempts that failed before the engine\nanswered with Problem JSON.\n\nA path that matches no API route answers a plain `404`\nwithout a Problem body.\n\nClients must accept values not listed here.\n","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Always `/v1`; it does not name the request path.","uniqueKey":"instance","typeLabel":"string"},"invalid_tasks":{"type":"array","description":"Present on validation errors.","items":{"type":"object","required":["index","reason"],"properties":{"index":{"type":"integer","isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].index","typeLabel":"integer"},"reason":{"type":"string","x-extensible-enum":true,"description":"Clients must accept values not listed here.","enum":["malformed_url","unsupported_scheme","missing_host","url_too_long","metadata_too_large","metadata_key_invalid","invalid_external_id","unknown_param","invalid_param_value","unsupported_method","body_not_allowed","body_too_large","body_malformed","method_param_conflict"],"isRequired":true,"uniqueKey":"invalid_tasks.items.[INDEX].reason","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Offending input. For URL / metadata reasons this is\na redacted/truncated form of the bad value. For\n`unknown_param` / `invalid_param_value` this is the\nparam key.\n","uniqueKey":"invalid_tasks.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"invalid_tasks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_tasks","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>","invalid_tasks":[{"index":123,"reason":"malformed_url","value":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e167f2f7-3233-4057-b51a-1f810d2c6052":{"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Batch, Crawl, the Extract endpoints and the account endpoint read the same key from the `X-API-Key` header.","scopes":[],"schemeName":"apiKeyHeader"}}},"servers":{"88bdffe4-191c-4655-87dc-ffa91e4fb14b":{"url":"https://async.api.zenrows.com/v1","description":"Batch (asynchronous jobs)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Batch, Crawl, the Extract endpoints and the account endpoint read the same key from the `X-API-Key` header.","scopes":[],"schemeName":"apiKeyHeader"},"schema":{"title":"X-API-Key","type":"string","description":"Batch, Crawl, the Extract endpoints and the account endpoint read the same key from the `X-API-Key` header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyHeader","name":"X-API-Key"}],"title":"apiKeyHeader"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"zenrows","siteName":"Zenrows","title":"Create a batch job (many URLs in one request) - Zenrows","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T21:24:18.928Z","originalFileLocation":"api-reference/batch/create-a-batch-job-many-urls-in-one-request.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Validates inputs and authenticates the caller, then persists the job, its first run, and (for small submits) all tasks before returning. Validation failures (4xx) create nothing. A 503 from a temporary failure usually creates nothing either, but a late-stage failure can leave the job visible with its run already stopped: safe to DELETE. A 503 that came before the job was created gives the Idempotency-Key back, so the same key works on retry. A 503 after the job was created keeps the key (a retry under it is 409 idempotency_key_conflict): check GET /v1/jobs before you resend with a fresh key. Submissions under 10,000 inline tasks return 201 Created with the task rows already in place: results are immediately queryable via GET /v1/jobs/{id}/results. Submissions at or above 10,000 inline tasks are processed off the request path and return 202 Accepted: accepted_tasks is the final validated count, but task rows stream into storage over the following seconds (large submissions can take longer). GET /v1/jobs/{id}/results returns only the rows written so far until ingest completes; the run\u0026#x27;s stats.total is correct from the start so completion polling (stats.completed \u0026gt;= stats.total) is reliable from the first response. While ingestion is in progress, POST /v1/jobs/{id}/tasks on an open job returns 409: retry it once results pages fill out. The run\u0026#x27;s ingest_status field reports the ingest state: poll GET /v1/jobs/{id} until latest_run.ingest_status is done to know every task row is visible. Limits (defaults; an account can have its own): at most 100,000 tasks per submit, 3 active (non-terminal) regular jobs and 5 scheduled jobs per account. An open job holds an active slot until it is closed; an idle open job is closed automatically after 48 hours. A rate schedule must fire at most once every 60 minutes. Going over a job cap returns 429 quota_exceeded; going over the task limit or the schedule interval returns 400 invalid_argument. A request refused by one of these checks gives its Idempotency-Key back: once you free a slot (or fix the request), retry with the same key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Zenrows\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a batch job (many URLs in one request) - Zenrows\">\u003cmeta data-mint-head property=\"og:description\" content=\"Validates inputs and authenticates the caller, then persists the job, its first run, and (for small submits) all tasks before returning. Validation failures (4xx) create nothing. A 503 from a temporary failure usually creates nothing either, but a late-stage failure can leave the job visible with its run already stopped: safe to DELETE. A 503 that came before the job was created gives the Idempotency-Key back, so the same key works on retry. A 503 after the job was created keeps the key (a retry under it is 409 idempotency_key_conflict): check GET /v1/jobs before you resend with a fresh key. Submissions under 10,000 inline tasks return 201 Created with the task rows already in place: results are immediately queryable via GET /v1/jobs/{id}/results. Submissions at or above 10,000 inline tasks are processed off the request path and return 202 Accepted: accepted_tasks is the final validated count, but task rows stream into storage over the following seconds (large submissions can take longer). GET /v1/jobs/{id}/results returns only the rows written so far until ingest completes; the run\u0026#x27;s stats.total is correct from the start so completion polling (stats.completed \u0026gt;= stats.total) is reliable from the first response. While ingestion is in progress, POST /v1/jobs/{id}/tasks on an open job returns 409: retry it once results pages fill out. The run\u0026#x27;s ingest_status field reports the ingest state: poll GET /v1/jobs/{id} until latest_run.ingest_status is done to know every task row is visible. Limits (defaults; an account can have its own): at most 100,000 tasks per submit, 3 active (non-terminal) regular jobs and 5 scheduled jobs per account. An open job holds an active slot until it is closed; an idle open job is closed automatically after 48 hours. A rate schedule must fire at most once every 60 minutes. Going over a job cap returns 429 quota_exceeded; going over the task limit or the schedule interval returns 400 invalid_argument. A request refused by one of these checks gives its Idempotency-Key back: once you free a slot (or fix the request), retry with the same key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Zenrows Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zenrows.com/api-reference/batch/create-a-batch-job-many-urls-in-one-request\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zenrows.mintlify.site/_mintlify/api/og/v2?title=Create+a+batch+job+%28many+URLs+in+one+request%29\u0026amp;description=Validates+inputs+and+authenticates+the+caller%2C+then+persists%0Athe+job%2C+its+first+run%2C+and+%28for+small+submits%29+all+tasks%0Abefore+returning.+Validation+failures+%284x\u0026amp;theme=95240f8ee26fd3ece15f473f\u0026amp;signature=79256189d17c8868580161607cb49ab548f0d5d17e778591ad550d1c248b2089\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a batch job (many URLs in one request) - Zenrows\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Validates inputs and authenticates the caller, then persists the job, its first run, and (for small submits) all tasks before returning. Validation failures (4xx) create nothing. A 503 from a temporary failure usually creates nothing either, but a late-stage failure can leave the job visible with its run already stopped: safe to DELETE. A 503 that came before the job was created gives the Idempotency-Key back, so the same key works on retry. A 503 after the job was created keeps the key (a retry under it is 409 idempotency_key_conflict): check GET /v1/jobs before you resend with a fresh key. Submissions under 10,000 inline tasks return 201 Created with the task rows already in place: results are immediately queryable via GET /v1/jobs/{id}/results. Submissions at or above 10,000 inline tasks are processed off the request path and return 202 Accepted: accepted_tasks is the final validated count, but task rows stream into storage over the following seconds (large submissions can take longer). GET /v1/jobs/{id}/results returns only the rows written so far until ingest completes; the run\u0026#x27;s stats.total is correct from the start so completion polling (stats.completed \u0026gt;= stats.total) is reliable from the first response. While ingestion is in progress, POST /v1/jobs/{id}/tasks on an open job returns 409: retry it once results pages fill out. The run\u0026#x27;s ingest_status field reports the ingest state: poll GET /v1/jobs/{id} until latest_run.ingest_status is done to know every task row is visible. Limits (defaults; an account can have its own): at most 100,000 tasks per submit, 3 active (non-terminal) regular jobs and 5 scheduled jobs per account. An open job holds an active slot until it is closed; an idle open job is closed automatically after 48 hours. A rate schedule must fire at most once every 60 minutes. Going over a job cap returns 429 quota_exceeded; going over the task limit or the schedule interval returns 400 invalid_argument. A request refused by one of these checks gives its Idempotency-Key back: once you free a slot (or fix the request), retry with the same key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zenrows.mintlify.site/_mintlify/api/og/v2?title=Create+a+batch+job+%28many+URLs+in+one+request%29\u0026amp;description=Validates+inputs+and+authenticates+the+caller%2C+then+persists%0Athe+job%2C+its+first+run%2C+and+%28for+small+submits%29+all+tasks%0Abefore+returning.+Validation+failures+%284x\u0026amp;theme=95240f8ee26fd3ece15f473f\u0026amp;signature=79256189d17c8868580161607cb49ab548f0d5d17e778591ad550d1c248b2089\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/zenrows/m9CZ73BFBykY7nlz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Zenrows\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C4FE8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zenrows.com/api-reference/batch/create-a-batch-job-many-urls-in-one-request\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/batch/create-a-batch-job-many-urls-in-one-request.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zenrows.com/#organization\",\"name\":\"Zenrows\",\"url\":\"https://docs.zenrows.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zenrows/iSpDUiIAwyhiBA2f/logo/light.svg?fit=max\u0026auto=format\u0026n=iSpDUiIAwyhiBA2f\u0026q=85\u0026s=8f6dde8ed73ba8072d966337bdf253a4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zenrows.com#website\",\"name\":\"Zenrows\",\"url\":\"https://docs.zenrows.com\",\"publisher\":{\"@id\":\"https://docs.zenrows.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zenrows.com/api-reference/batch/create-a-batch-job-many-urls-in-one-request#webpage\",\"url\":\"https://docs.zenrows.com/api-reference/batch/create-a-batch-job-many-urls-in-one-request\",\"name\":\"Create a batch job (many URLs in one request)\",\"description\":\"Validates inputs and authenticates the caller, then persists the job, its first run, and (for small submits) all tasks before returning. Validation failures (4xx) create nothing. A 503 from a temporary failure usually creates nothing either, but a late-stage failure can leave the job visible with its run already stopped: safe to DELETE. A 503 that came before the job was created gives the Idempotency-Key back, so the same key works on retry. A 503 after the job was created keeps the key (a retry under it is 409 idempotency_key_conflict): check GET /v1/jobs before you resend with a fresh key. Submissions under 10,000 inline tasks return 201 Created with the task rows already in place: results are immediately queryable via GET /v1/jobs/{id}/results. Submissions at or above 10,000 inline tasks are processed off the request path and return 202 Accepted: accepted_tasks is the final validated count, but task rows stream into storage over the following seconds (large submissions can take longer). GET /v1/jobs/{id}/results returns only the rows written so far until ingest completes; the run's stats.total is correct from the start so completion polling (stats.completed >= stats.total) is reliable from the first response. While ingestion is in progress, POST /v1/jobs/{id}/tasks on an open job returns 409: retry it once results pages fill out. The run's ingest_status field reports the ingest state: poll GET /v1/jobs/{id} until latest_run.ingest_status is done to know every task row is visible. Limits (defaults; an account can have its own): at most 100,000 tasks per submit, 3 active (non-terminal) regular jobs and 5 scheduled jobs per account. An open job holds an active slot until it is closed; an idle open job is closed automatically after 48 hours. A rate schedule must fire at most once every 60 minutes. Going over a job cap returns 429 quota_exceeded; going over the task limit or the schedule interval returns 400 invalid_argument. A request refused by one of these checks gives its Idempotency-Key back: once you free a slot (or fix the request), retry with the same key.\",\"dateModified\":\"2026-11-23T21:24:18.928Z\",\"isPartOf\":{\"@id\":\"https://docs.zenrows.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zenrows.com/api-reference/batch/create-a-batch-job-many-urls-in-one-request#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zenrows.com/api-reference/batch/create-a-batch-job-many-urls-in-one-request#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Zenrows\",\"item\":\"https://docs.zenrows.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a batch job (many URLs in one request)\",\"item\":\"https://docs.zenrows.com/api-reference/batch/create-a-batch-job-many-urls-in-one-request\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.zenrows.com/api-reference/batch/create-a-batch-job-many-urls-in-one-request#apireference\",\"headline\":\"Create a batch job (many URLs in one request)\",\"name\":\"Create a batch job (many URLs in one request)\",\"description\":\"Validates inputs and authenticates the caller, then persists the job, its first run, and (for small submits) all tasks before returning. Validation failures (4xx) create nothing. A 503 from a temporary failure usually creates nothing either, but a late-stage failure can leave the job visible with its run already stopped: safe to DELETE. A 503 that came before the job was created gives the Idempotency-Key back, so the same key works on retry. A 503 after the job was created keeps the key (a retry under it is 409 idempotency_key_conflict): check GET /v1/jobs before you resend with a fresh key. Submissions under 10,000 inline tasks return 201 Created with the task rows already in place: results are immediately queryable via GET /v1/jobs/{id}/results. Submissions at or above 10,000 inline tasks are processed off the request path and return 202 Accepted: accepted_tasks is the final validated count, but task rows stream into storage over the following seconds (large submissions can take longer). GET /v1/jobs/{id}/results returns only the rows written so far until ingest completes; the run's stats.total is correct from the start so completion polling (stats.completed >= stats.total) is reliable from the first response. While ingestion is in progress, POST /v1/jobs/{id}/tasks on an open job returns 409: retry it once results pages fill out. The run's ingest_status field reports the ingest state: poll GET /v1/jobs/{id} until latest_run.ingest_status is done to know every task row is visible. Limits (defaults; an account can have its own): at most 100,000 tasks per submit, 3 active (non-terminal) regular jobs and 5 scheduled jobs per account. An open job holds an active slot until it is closed; an idle open job is closed automatically after 48 hours. A rate schedule must fire at most once every 60 minutes. Going over a job cap returns 429 quota_exceeded; going over the task limit or the schedule interval returns 400 invalid_argument. A request refused by one of these checks gives its Idempotency-Key back: once you free a slot (or fix the request), retry with the same key.\",\"url\":\"https://docs.zenrows.com/api-reference/batch/create-a-batch-job-many-urls-in-one-request\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zenrows.com/api-reference/batch/create-a-batch-job-many-urls-in-one-request#webpage\"},\"dateModified\":\"2026-11-23T21:24:18.928Z\",\"publisher\":{\"@id\":\"https://docs.zenrows.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zenrows.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Zenrows\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Zenrows\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/batch/create-a-batch-job-many-urls-in-one-request.md","siteName":"Zenrows","nav":{"global":null,"dropdowns":[{"dropdown":"Documentation","icon":"book","description":"Get started with Zenrows' web data infrastructure","tabs":[{"tab":"Get Started","icon":"rocket","pages":[{"title":"Get Started","href":"/first-steps/welcome"}]},{"tab":"API","icon":"server","pages":[{"title":"API","href":"/authentication"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Get Started","icon":"rocket","pages":[{"title":"Zenrows API Reference","sidebarTitle":"API Reference","href":"/api-reference"}]},{"group":"Fetch","icon":"chisel","pages":[{"title":"Fetch a page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /","href":"/api-reference/fetch/fetch-a-page"},{"title":"Fetch a page with a POST","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /","href":"/api-reference/fetch/fetch-a-page-with-a-post"},{"title":"Fetch a page with a PUT","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /","href":"/api-reference/fetch/fetch-a-page-with-a-put"}]},{"group":"Extract","icon":"wand","pages":[{"title":"List the domains Extract serves","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /extract/domains","href":"/api-reference/extract/list-the-domains-extract-serves"},{"title":"Ask for a domain to be prepared for Extract","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /extract/prepared-domains","href":"/api-reference/extract/ask-for-a-domain-to-be-prepared-for-extract"},{"title":"List the domains your account submitted","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /extract/prepared-domains","href":"/api-reference/extract/list-the-domains-your-account-submitted"},{"title":"Read the monthly preparation allowance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /extract/prepared-domains/allowance","href":"/api-reference/extract/read-the-monthly-preparation-allowance"},{"title":"Track a domain's preparation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /extract/prepared-domains/{domain}","href":"/api-reference/extract/track-a-domains-preparation"}]},{"group":"Crawl","icon":"spider","tag":"New","pages":[{"title":"Start a crawl","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /crawls","href":"/api-reference/crawl/start-a-crawl"},{"title":"List your crawls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /crawls","href":"/api-reference/crawl/list-your-crawls"},{"title":"Read a crawl and its results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /crawls/{crawl_id}","href":"/api-reference/crawl/read-a-crawl-and-its-results"},{"title":"Download all results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /crawls/{crawl_id}/download","href":"/api-reference/crawl/download-all-results"},{"title":"Read one page's HTML","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /crawls/{crawl_id}/contents/{content_id}","href":"/api-reference/crawl/read-one-pages-html"},{"title":"Stop a crawl","description":"Stop a running crawl. No new page is fetched; pages already being fetched finish, are billed and are kept for up to 10 minutes. Read the crawl until `next_cursor` is `null` for its final results. A crawl that already ended returns its final state. Send no body. Documented at https://docs.zenrows.com/crawl/endpoints#stop-a-crawl.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /crawls/{crawl_id}/stop","href":"/api-reference/crawl/stop-a-crawl"}]},{"group":"Batch","icon":"layers-subtract","pages":[{"title":"Create a batch job (many URLs in one request)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs","href":"/api-reference/batch/create-a-batch-job-many-urls-in-one-request"},{"title":"List batch jobs","description":"Newest first. Optional `status` / `type` filters.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs","href":"/api-reference/batch/list-batch-jobs"},{"title":"Read a job and its latest run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}","href":"/api-reference/batch/read-a-job-and-its-latest-run"},{"title":"Delete a job and all its artifacts (asynchronous)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /jobs/{job_id}","href":"/api-reference/batch/delete-a-job-and-all-its-artifacts-asynchronous"},{"title":"Add URLs to an open job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/tasks","href":"/api-reference/batch/add-urls-to-an-open-job"},{"title":"Close an open job (no more tasks coming)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/close","href":"/api-reference/batch/close-an-open-job-no-more-tasks-coming"},{"title":"Stop the current run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/stop","href":"/api-reference/batch/stop-the-current-run"},{"title":"Pause the current run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/pause","href":"/api-reference/batch/pause-the-current-run"},{"title":"Resume a paused run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/resume","href":"/api-reference/batch/resume-a-paused-run"},{"title":"Cancel the current run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/cancel","href":"/api-reference/batch/cancel-the-current-run"},{"title":"Start a new run (full replay or partial retry of the previous run)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/rerun","href":"/api-reference/batch/start-a-new-run-full-replay-or-partial-retry-of-the-previous-run"},{"title":"Page through per-task results for the latest run of a job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/results","href":"/api-reference/batch/page-through-per-task-results-for-the-latest-run-of-a-job"},{"title":"Fetch the scraped content for a task in the latest run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/tasks/{task_id}/content","href":"/api-reference/batch/fetch-the-scraped-content-for-a-task-in-the-latest-run"},{"title":"Get the attempt history for a task in the latest run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/tasks/{task_id}/history","href":"/api-reference/batch/get-the-attempt-history-for-a-task-in-the-latest-run"},{"title":"List runs of a job (newest first)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/runs","href":"/api-reference/batch/list-runs-of-a-job-newest-first"},{"title":"Get one run by id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/runs/{run_id}","href":"/api-reference/batch/get-one-run-by-id"},{"title":"Page through per-task results for a specific run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/runs/{run_id}/results","href":"/api-reference/batch/page-through-per-task-results-for-a-specific-run"},{"title":"Fetch the scraped content for a task in a specific run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/runs/{run_id}/tasks/{task_id}/content","href":"/api-reference/batch/fetch-the-scraped-content-for-a-task-in-a-specific-run"},{"title":"Get the attempt history for a task in a specific run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/runs/{run_id}/tasks/{task_id}/history","href":"/api-reference/batch/get-the-attempt-history-for-a-task-in-a-specific-run"},{"title":"Delete one run and its artifacts (asynchronous)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /jobs/{job_id}/runs/{run_id}","href":"/api-reference/batch/delete-one-run-and-its-artifacts-asynchronous"},{"title":"Start an async results export","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/runs/{run_id}/exports","href":"/api-reference/batch/start-an-async-results-export"},{"title":"Poll a results export","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/runs/{run_id}/exports/{export_id}","href":"/api-reference/batch/poll-a-results-export"},{"title":"Replace the schedule of a scheduled job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /jobs/{job_id}/schedule","href":"/api-reference/batch/replace-the-schedule-of-a-scheduled-job"},{"title":"Pause or resume a scheduled job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /jobs/{job_id}/schedule/state","href":"/api-reference/batch/pause-or-resume-a-scheduled-job"},{"title":"Read the current webhook config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /jobs/{job_id}/webhook","href":"/api-reference/batch/read-the-current-webhook-config"},{"title":"Replace the webhook config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /jobs/{job_id}/webhook","href":"/api-reference/batch/replace-the-webhook-config"},{"title":"Clear the webhook config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /jobs/{job_id}/webhook","href":"/api-reference/batch/clear-the-webhook-config"},{"title":"Create a CSV upload slot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /job_inputs","href":"/api-reference/batch/create-a-csv-upload-slot"},{"title":"Send a synthetic test event to a webhook URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /webhook/test","href":"/api-reference/batch/send-a-synthetic-test-event-to-a-webhook-url"},{"title":"List the account's HMAC key metadata","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /hmac/keys","href":"/api-reference/batch/list-the-accounts-hmac-key-metadata"},{"title":"Generate the initial key, or stage a candidate","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /hmac/keys/rotate","href":"/api-reference/batch/generate-the-initial-key-or-stage-a-candidate"},{"title":"Discard the pending candidate","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /hmac/keys/rotate","href":"/api-reference/batch/discard-the-pending-candidate"},{"title":"Promote the candidate to active","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /hmac/keys/rotate/finalize","href":"/api-reference/batch/promote-the-candidate-to-active"}]},{"group":"Account","icon":"user-circle","pages":[{"title":"Read the plan behind the key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /subscriptions/self/details","href":"/api-reference/account/read-the-plan-behind-the-key"}]},{"group":"Onboarding","icon":"key","pages":[{"title":"Sign your agent up and get an API key in one call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/agent/signup","href":"/api-reference/onboarding/sign-your-agent-up-and-get-an-api-key-in-one-call"},{"title":"Check whether a person has claimed this account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/agent/account","href":"/api-reference/onboarding/check-whether-a-person-has-claimed-this-account"}]}]},{"tab":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/cli/introduction"}]},{"tab":"SDK","icon":"code","pages":[{"title":"SDK","href":"/sdk/overview"}]},{"tab":"MCP","icon":"cpu","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"Integrations","icon":"puzzle","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"Academy","icon":"school","pages":[{"title":"Academy","href":"/academy/introduction"}]}]},{"dropdown":"Blog","icon":"article","description":"Insights and stories from our team about product developments and industry trends.","href":"https://www.zenrows.com/blog"},{"dropdown":"Knowledge e-Books","icon":"bulb","description":"Learn how to extract structured web data at scale.","href":"https://www.zenrows.com/knowledgehub"},{"dropdown":"Zenrows Status","icon":"cloud","description":"Real-time system status and service availability information for all our services.","href":"https://status.zenrows.com/"},{"dropdown":"Legal Pages","icon":"scale","description":"Terms of service, privacy policy, and other legal information governing the use of our services.","href":"https://www.zenrows.com/legal"},{"dropdown":"Changelog","icon":"clock-hour-3","description":"Track all product updates and announcements with our detailed release history.","href":"https://www.zenrows.com/changelog"}]},"basePath":"","title":"Create a batch job (many URLs in one request) - Zenrows","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-C4eRUFHa.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js"]}