Returns a parse batch’s progress, counts and every document’s status. status is running until every document has finished, then completed. Polling is free and has no rate limit.
Documents come without their results by default. Add ?include=results to get each finished document’s Markdown and extracted json, or read each one with Get a parse job.
Documents that failed before they were queued, such as a link that couldn’t be reached, aren’t part of the batch here. They were reported in the response to POST /parse/batch.
Each document's parse job. Results are included only with ?include=results.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Spidra","description":"Spidra documentation — REST API reference, SDK guides, browser automation, CAPTCHA solving, and proxy scraping for AI-powered web data extraction.","colors":{"primary":"#007AFF","light":"#007AFF","dark":"#007AFF"},"logo":{"light":"https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/logo/logo-light.png?fit=max\u0026auto=format\u0026n=tjYTncBEy2qwqvSx\u0026q=85\u0026s=9ee4bb079b87d8aea61a7d42bfecf118","dark":"https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=tjYTncBEy2qwqvSx\u0026q=85\u0026s=3633ab236061c0e8200d4d9e0f1a9c05"},"favicon":"https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/favicon.ico?fit=max\u0026auto=format\u0026n=47EJpglRIcFOVcnQ\u0026q=85\u0026s=3c0c6b781fffaaa0dd242f4b886d8917","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.spidra.io"}},"footer":{"socials":{"x":"https://x.com/spidra_io","github":"https://github.com/spidra-io","linkedin":"https://www.linkedin.com/company/spidra-io"}},"seo":{"indexing":"all"},"interaction":{"drilldown":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"book-open-cover","href":"https://app.spidra.io"},{"anchor":"GitHub","icon":"github","href":"https://github.com/spidra-io"},{"anchor":"Blog","icon":"newspaper","href":"https://spidra.io/blog"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://spidra.io/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"spidra","hasAudioNarration":false,"actualSubdomain":"spidra","customDomains":["docs.spidra.io"],"gitSource":{"type":"github","owner":"spidra-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeb7b05330d696ca47f944e","collectionId":"36e399aa-f8e1-4ef5-90c7-a20764aa6e5e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb7b05330d696ca47f944e"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aeb7b05330d696ca47f944e","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":68},{"language":"default","tag":"Documentation","count":51},{"language":"default","tag":"SDKs","count":31},{"language":"default","tag":"Popular sites","count":24},{"language":"default","tag":"More sites","count":18},{"language":"default","tag":"Monitors","count":13},{"language":"default","tag":"Crawl","count":10},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Logs","count":7},{"language":"default","tag":"Parse","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"table{width:100%!important;display:table!important}th,td{white-space:normal}"},{"filePath":"style.css","content":"#table-of-contents-layout{flex:0 1 auto;min-height:0;max-height:none}#spidra-toc-cta{position:relative;flex-shrink:0;overflow:hidden;width:16.5rem;margin:1rem 0 1.5rem 2.5rem;border-radius:14px;background:radial-gradient(120% 140% at 0% 0%, #2d8cff 0%, #007aff 40%, #0657c2 100%);color:#fff;box-shadow:0 18px 40px -24px rgba(0, 40, 120, 0.55)}#spidra-toc-cta .spidra-cta-dots{position:absolute;inset:0;opacity:0.18;background-image:radial-gradient(rgba(255, 255, 255, 0.95) 1px, transparent 1.3px);background-size:12px 12px;-webkit-mask-image:linear-gradient(110deg, transparent 25%, black 80%);mask-image:linear-gradient(110deg, transparent 25%, black 80%);pointer-events:none}#spidra-toc-cta .spidra-cta-rings{position:absolute;right:-70px;top:-40px;pointer-events:none}#spidra-toc-cta .spidra-cta-rings i{position:absolute;left:50%;top:50%;border:1px solid rgba(255, 255, 255, 0.22);border-radius:9999px;transform:translate(-50%, -50%)}#spidra-toc-cta .spidra-cta-rings i:nth-child(1){width:220px;height:220px}#spidra-toc-cta .spidra-cta-rings i:nth-child(2){width:150px;height:150px}#spidra-toc-cta .spidra-cta-rings i:nth-child(3){width:80px;height:80px}#spidra-toc-cta .spidra-cta-body{position:relative;padding:1.1rem 1.15rem}#spidra-toc-cta .spidra-cta-logo{height:18px;width:auto;margin:0 0 0.7rem}#spidra-toc-cta .spidra-cta-title{margin:0;font-size:1.05rem;font-weight:600;line-height:1.3;letter-spacing:-0.01em;color:#fff}#spidra-toc-cta .spidra-cta-text{margin:0.5rem 0 1.1rem;font-size:0.8rem;line-height:1.5;color:rgba(255, 255, 255, 0.8)}#spidra-toc-cta a{display:block;text-align:center;font-size:0.85rem;font-weight:500;border-radius:9999px;padding:0.55rem 1rem;text-decoration:none;transition:background-color 0.15s ease, transform 0.15s ease}#spidra-toc-cta .spidra-cta-primary{background:#fff;color:#007aff;box-shadow:0 10px 24px -12px rgba(0, 20, 80, 0.6)}#spidra-toc-cta .spidra-cta-primary:hover{transform:translateY(-1px)}#spidra-toc-cta .spidra-cta-secondary{margin-top:0.5rem;color:#fff;border:1px solid rgba(255, 255, 255, 0.35)}#spidra-toc-cta .spidra-cta-secondary:hover{background:rgba(255, 255, 255, 0.1)}.tool-picker{margin:1.25rem 0 1.5rem;border:1px solid rgba(15, 23, 42, 0.08);border-radius:14px;overflow:hidden;background:#fff}.tool-picker .tp-head,.tool-picker .tp-row{display:grid;grid-template-columns:minmax(0, 1.15fr) minmax(0, 0.7fr) minmax(0, 1.35fr);gap:1.25rem;align-items:center;padding:0.85rem 1.25rem}.tool-picker .tp-head{padding-top:0.7rem;padding-bottom:0.7rem;background:linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);border-bottom:1px solid rgba(15, 23, 42, 0.08);font-size:0.75rem;font-weight:500;letter-spacing:0.02em;color:rgba(15, 23, 42, 0.5)}.tool-picker .tp-row{position:relative;border-bottom:1px solid rgba(15, 23, 42, 0.06);text-decoration:none!important;border-image:none;transition:background-color 0.15s ease}.tool-picker .tp-row:last-child{border-bottom:0}.tool-picker .tp-row::before{content:\"\";position:absolute;left:0;top:18%;bottom:18%;width:2px;border-radius:2px;background:#007aff;transform:scaleY(0);transition:transform 0.18s ease}.tool-picker .tp-row:hover{background:#f5f9ff}.tool-picker .tp-row:hover::before{transform:scaleY(1)}.tool-picker .tp-have{font-weight:500;font-size:0.9rem;line-height:1.45;color:#0f172a}.tool-picker .tp-tool{font-size:0.9rem;font-weight:600;color:#007aff;white-space:nowrap}.tool-picker .tp-get{font-weight:400;font-size:0.875rem;line-height:1.45;color:rgba(15, 23, 42, 0.62)}html.dark .tool-picker{background:rgba(255, 255, 255, 0.02);border-color:rgba(255, 255, 255, 0.08)}html.dark .tool-picker .tp-head{background:linear-gradient(180deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0) 100%);border-bottom-color:rgba(255, 255, 255, 0.08);color:rgba(255, 255, 255, 0.45)}html.dark .tool-picker .tp-row{border-bottom-color:rgba(255, 255, 255, 0.06)}html.dark .tool-picker .tp-row:hover{background:rgba(0, 122, 255, 0.08)}html.dark .tool-picker .tp-have{color:rgba(255, 255, 255, 0.92)}html.dark .tool-picker .tp-tool{color:#4da3ff}html.dark .tool-picker .tp-row::before{background:#4da3ff}html.dark .tool-picker .tp-get{color:rgba(255, 255, 255, 0.55)}@media (max-width: 640px){.tool-picker .tp-head{display:none}.tool-picker .tp-row{grid-template-columns:1fr;gap:0.2rem;padding:0.9rem 1rem}.tool-picker .tp-tool{order:-1}}.plan-table-wrap{margin:1.25rem 0 1.5rem;border:1px solid rgba(15, 23, 42, 0.08);border-radius:14px;overflow-x:auto;background:#fff}.plan-table{width:100%;min-width:620px;margin:0!important;border-collapse:collapse;font-size:0.875rem}.plan-table th,.plan-table td{padding:0.8rem 1rem;border:0!important;border-bottom:1px solid rgba(15, 23, 42, 0.06)!important;text-align:center;vertical-align:middle;color:#0f172a;background:transparent}.plan-table tbody tr:last-child th,.plan-table tbody tr:last-child td{border-bottom:0!important}.plan-table thead th{padding-top:1.25rem;padding-bottom:1rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)!important;vertical-align:bottom}.plan-table td{white-space:nowrap}.plan-table .pt-label{width:30%;text-align:left;font-weight:500}.plan-table .pt-hint{display:block;margin-top:0.15rem;font-size:0.75rem;font-weight:400;color:rgba(15, 23, 42, 0.5)}.plan-table .pt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.plan-table .pt-name{display:block;font-size:0.95rem;font-weight:600}.plan-table .pt-price{display:block;margin-top:0.2rem;font-size:1.35rem;font-weight:600;letter-spacing:-0.02em}.plan-table .pt-per{margin-left:0.15rem;font-size:0.75rem;font-weight:400;letter-spacing:0;color:rgba(15, 23, 42, 0.5)}.plan-table .pt-badge{display:inline-block;margin-bottom:0.45rem;padding:0.1rem 0.55rem;border-radius:9999px;background:#007aff;color:#fff;font-size:0.68rem;font-weight:500}.plan-table .pt-hl{background:#f5f9ff}.plan-table thead .pt-hl{background:linear-gradient(180deg, #e8f2ff 0%, #f5f9ff 100%)}.plan-table .pt-hl .pt-price{color:#007aff}.plan-table .pt-check{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:9999px;background:rgba(0, 122, 255, 0.1);color:#007aff;font-size:0.7rem;font-weight:700}.plan-table .pt-dash{color:rgba(15, 23, 42, 0.3)}html.dark .plan-table-wrap{background:rgba(255, 255, 255, 0.02);border-color:rgba(255, 255, 255, 0.08)}html.dark .plan-table th,html.dark .plan-table td{color:rgba(255, 255, 255, 0.92);border-bottom-color:rgba(255, 255, 255, 0.06)!important}html.dark .plan-table thead th{border-bottom-color:rgba(255, 255, 255, 0.08)!important}html.dark .plan-table .pt-hint,html.dark .plan-table .pt-per{color:rgba(255, 255, 255, 0.45)}html.dark .plan-table .pt-hl{background:rgba(0, 122, 255, 0.08)}html.dark .plan-table thead .pt-hl{background:linear-gradient(180deg, rgba(0, 122, 255, 0.18) 0%, rgba(0, 122, 255, 0.08) 100%)}html.dark .plan-table .pt-hl .pt-price,html.dark .plan-table .pt-check{color:#4da3ff}html.dark .plan-table .pt-dash{color:rgba(255, 255, 255, 0.3)}"}],"page":{"pagePath":"api-reference/parse/parse-batch-status","slug":"/api-reference/parse/parse-batch-status","pageMetadata":{"title":"Get a parse batch","openapi":"GET /parse/batch/{batchId}","keywords":["GET /parse/batch/batchId","parse batch status"],"description":"Returns a parse batch's progress, counts and every document's status. `status` is `running` until every document has finished, then `completed`. Polling is free and has no rate limit.\n\nDocuments come without their results by default. Add `?include=results` to get each finished document's Markdown and extracted `json`, or read each one with [Get a parse job](/api-reference/parse/parse-status).\n\nDocuments that failed before they were queued, such as a link that couldn't be reached, aren't part of the batch here. They were reported in the response to `POST /parse/batch`.\n","href":"/api-reference/parse/parse-batch-status"},"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 a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Returns a parse batch’s progress, counts and every document’s status. \", _jsx(_components.code, {\n children: \"status\"\n }), \" is \", _jsx(_components.code, {\n children: \"running\"\n }), \" until every document has finished, then \", _jsx(_components.code, {\n children: \"completed\"\n }), \". Polling is free and has no rate limit.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Documents come without their results by default. Add \", _jsx(_components.code, {\n children: \"?include=results\"\n }), \" to get each finished document’s Markdown and extracted \", _jsx(_components.code, {\n children: \"json\"\n }), \", or read each one with \", _jsx(_components.a, {\n href: \"/api-reference/parse/parse-status\",\n children: \"Get a parse job\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Documents that failed before they were queued, such as a link that couldn’t be reached, aren’t part of the batch here. They were reported in the response to \", _jsx(_components.code, {\n children: \"POST /parse/batch\"\n }), \".\"]\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":{"config":{},"pageMetadata":{"title":"Get a parse batch","openapi":"GET /parse/batch/{batchId}","keywords":["GET /parse/batch/batchId","parse batch status"],"description":"Returns a parse batch's progress, counts and every document's status. `status` is `running` until every document has finished, then `completed`. Polling is free and has no rate limit.\n\nDocuments come without their results by default. Add `?include=results` to get each finished document's Markdown and extracted `json`, or read each one with [Get a parse job](/api-reference/parse/parse-status).\n\nDocuments that failed before they were queued, such as a link that couldn't be reached, aren't part of the batch here. They were reported in the response to `POST /parse/batch`.\n","href":"/api-reference/parse/parse-batch-status"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/spidra/fe44716c737c36c1/toc-cta.js"],"openApiReferenceData":{"operation":{"summary":"Get a parse batch","description":"Returns a parse batch's progress, counts and every document's status. `status` is `running` until every document has finished, then `completed`. Polling is free and has no rate limit.\n\nDocuments come without their results by default. Add `?include=results` to get each finished document's Markdown and extracted `json`, or read each one with [Get a parse job](/api-reference/parse/parse-status).\n\nDocuments that failed before they were queued, such as a link that couldn't be reached, aren't part of the batch here. They were reported in the response to `POST /parse/batch`.\n","parameters":["670aeb1d-ac3f-4472-a58b-f93b1ec2780e","892a7bc6-10cb-4aa7-a321-96fdd26787a5"],"responses":{"200":"f66d13bb-6f4c-45c8-994b-d2a91d13212e","401":"e58eb068-c141-4c48-88d5-dbd132f01dde","404":"bf36f682-b82e-4d97-8b08-731f9e7b8977"},"tags":["Parse"],"method":"get","type":"path","servers":["bf13fe36-aa6a-4de6-964d-d06f33bc1bb9"],"security":["6ae77587-e60d-4803-9173-0a1617725897","696cbdd8-eb13-4014-a8dd-ee43246169e7"],"path":"/parse/batch/{batchId}","baseUrlOptions":["https://api.spidra.io/api"],"title":"Get a parse batch","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"670aeb1d-ac3f-4472-a58b-f93b1ec2780e":{"name":"batchId","in":"path","required":true,"description":"The `batchId` returned by `POST /parse/batch`.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"The `batchId` returned by `POST /parse/batch`.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"example":"bd108121-f10b-407d-99d5-cb40a0939248"},"892a7bc6-10cb-4aa7-a321-96fdd26787a5":{"name":"include","in":"query","required":false,"description":"Set to `results` to add each finished document's `markdown`, `json`, `warnings` and `metadata`.","schema":{"type":"string","enum":["results"],"isRequired":false,"description":"Set to `results` to add each finished document's `markdown`, `json`, `warnings` and `metadata`.","uniqueKey":"","typeLabel":"enum\u003cstring>"}}},"responses":{"f66d13bb-6f4c-45c8-994b-d2a91d13212e":{"description":"The batch's progress and its documents.","content":{"application/json":{"schema":{"type":"object","properties":{"batchId":{"type":"string","format":"uuid","description":"The batch's ID.","uniqueKey":"batchId","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["running","completed"],"description":"`running` while any document is queued or running, `completed` once all have finished, whether they succeeded or failed.","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"counts":{"type":"object","description":"How many documents are in each state.","properties":{"queued":{"type":"integer","description":"Waiting to start.","uniqueKey":"counts.queued","typeLabel":"integer"},"running":{"type":"integer","description":"Being parsed.","uniqueKey":"counts.running","typeLabel":"integer"},"completed":{"type":"integer","description":"Finished.","uniqueKey":"counts.completed","typeLabel":"integer"},"failed":{"type":"integer","description":"Couldn't be parsed.","uniqueKey":"counts.failed","typeLabel":"integer"}},"uniqueKey":"counts","typeLabel":"object"},"creditsUsed":{"type":"integer","description":"Credits charged so far for the completed documents.","uniqueKey":"creditsUsed","typeLabel":"integer"},"documents":{"type":"array","description":"Each document's parse job. Results are included only with `?include=results`.","items":{"type":"object","description":"A parse job, with its result once it has finished.","properties":{"jobId":{"type":"string","format":"uuid","description":"The job's ID. Use it with `GET /parse/{jobId}`.","uniqueKey":"documents.items.[INDEX].jobId","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["queued","running","completed","failed"],"description":"- `queued`: waiting to start.\n- `running`: being parsed. `progress` says how far it has got.\n- `completed`: finished. The result is in `markdown`, and `json` when you asked for extraction.\n- `failed`: couldn't be parsed. `error` says why, and you aren't charged.\n","uniqueKey":"documents.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"fileName":{"type":"string","description":"The document's file name, or the last part of the link it came from.","uniqueKey":"documents.items.[INDEX].fileName","typeLabel":"string"},"sourceUrl":{"oneOf":[{"type":"string","description":"The link the document was downloaded from, after redirects. `null` for uploads.","uniqueKey":"documents.items.[INDEX].sourceUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link the document was downloaded from, after redirects. `null` for uploads.","uniqueKey":"documents.items.[INDEX].sourceUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"documents.items.[INDEX].sourceUrl","typeLabel":"string | null"},"fileId":{"type":"string","format":"uuid","description":"The stored document's ID. Send it as `fileId` to parse the same document again for 24 hours without uploading or downloading it again.","uniqueKey":"documents.items.[INDEX].fileId","typeLabel":"string\u003cuuid>"},"format":{"oneOf":[{"type":"string","description":"The document's format, such as `PDF`, `Word`, `Excel` or `PowerPoint`.","uniqueKey":"documents.items.[INDEX].format.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document's format, such as `PDF`, `Word`, `Excel` or `PowerPoint`.","uniqueKey":"documents.items.[INDEX].format.oneOf.1","typeLabel":"null"}],"uniqueKey":"documents.items.[INDEX].format","typeLabel":"string | null"},"totalPages":{"oneOf":[{"type":"integer","description":"How many pages the document has. For formats without pages, an estimate of one page per 3,000 characters of text.","uniqueKey":"documents.items.[INDEX].totalPages.oneOf.0","typeLabel":"integer"},{"type":"null","description":"How many pages the document has. For formats without pages, an estimate of one page per 3,000 characters of text.","uniqueKey":"documents.items.[INDEX].totalPages.oneOf.1","typeLabel":"null"}],"uniqueKey":"documents.items.[INDEX].totalPages","typeLabel":"integer | null"},"pagesParsed":{"oneOf":[{"type":"integer","description":"How many pages were read and charged. `null` until the job finishes.","uniqueKey":"documents.items.[INDEX].pagesParsed.oneOf.0","typeLabel":"integer"},{"type":"null","description":"How many pages were read and charged. `null` until the job finishes.","uniqueKey":"documents.items.[INDEX].pagesParsed.oneOf.1","typeLabel":"null"}],"uniqueKey":"documents.items.[INDEX].pagesParsed","typeLabel":"integer | null"},"creditsUsed":{"type":"integer","description":"Credits charged for this job, including AI credits for extraction. `0` until the job has completed, and for a failed job.","uniqueKey":"documents.items.[INDEX].creditsUsed","typeLabel":"integer"},"error":{"type":"string","description":"Only when `status` is `failed`. Why the document couldn't be parsed, such as `\"This PDF is password protected. Remove the password and try again.\"`","uniqueKey":"documents.items.[INDEX].error","typeLabel":"string"},"progress":{"type":"object","description":"Only while the job is `queued` or `running`, once it has started reading pages.","properties":{"message":{"type":"string","description":"What the job is doing, such as `\"Reading page 3 of 12\"`.","uniqueKey":"documents.items.[INDEX].progress.message","typeLabel":"string"},"done":{"type":"integer","description":"Pages read so far.","uniqueKey":"documents.items.[INDEX].progress.done","typeLabel":"integer"},"total":{"type":"integer","description":"Pages to read in all.","uniqueKey":"documents.items.[INDEX].progress.total","typeLabel":"integer"}},"uniqueKey":"documents.items.[INDEX].progress","typeLabel":"object"},"markdown":{"type":"string","description":"Once completed. The whole document as Markdown, pages joined by blank lines.","uniqueKey":"documents.items.[INDEX].markdown","typeLabel":"string"},"pages":{"type":"array","items":{"type":"object","description":"One page of a parsed document.","properties":{"pageNumber":{"type":"integer","description":"The page number, starting at 1. A non-PDF document comes back as a single page 1.","uniqueKey":"documents.items.[INDEX].pages.items.[INDEX].pageNumber","typeLabel":"integer"},"markdown":{"type":"string","description":"The page as Markdown. Empty when the page couldn't be read.","uniqueKey":"documents.items.[INDEX].pages.items.[INDEX].markdown","typeLabel":"string"},"method":{"type":"string","enum":["text","ocr"],"description":"`text` when the page's text was read directly, `ocr` when it was read with AI.","uniqueKey":"documents.items.[INDEX].pages.items.[INDEX].method","typeLabel":"enum\u003cstring>"},"error":{"type":"string","description":"Only when the page couldn't be read, such as `\"This page is a scan or image. Use auto or OCR mode to read it.\"` Pages with an error aren't charged.","uniqueKey":"documents.items.[INDEX].pages.items.[INDEX].error","typeLabel":"string"}},"uniqueKey":"documents.items.[INDEX].pages.items.[INDEX]","typeLabel":"object"},"description":"Only when you asked for it (`includePages`, or `?pages=true` when polling). Each page on its own.","uniqueKey":"documents.items.[INDEX].pages","typeLabel":"object[]"},"json":{"description":"Only when you sent a `prompt` or `schema`. The extracted data.","uniqueKey":"documents.items.[INDEX].json","typeLabel":"any"},"warnings":{"type":"array","items":{"type":"string","uniqueKey":"documents.items.[INDEX].warnings.items.[INDEX]","typeLabel":"string"},"description":"Once completed. Anything worth knowing about the result, such as `\"2 of 15 pages couldn't be read and aren't charged.\"` or that page selection was ignored for a non-PDF document. Empty when there's nothing to report.","uniqueKey":"documents.items.[INDEX].warnings","typeLabel":"string[]"},"metadata":{"type":"object","description":"Once completed. Facts about the parsed document.","properties":{"fileName":{"oneOf":[{"type":"string","description":"The document's file name.","uniqueKey":"documents.items.[INDEX].metadata.fileName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document's file name.","uniqueKey":"documents.items.[INDEX].metadata.fileName.oneOf.1","typeLabel":"null"}],"uniqueKey":"documents.items.[INDEX].metadata.fileName","typeLabel":"string | null"},"sourceUrl":{"oneOf":[{"type":"string","description":"The link it was downloaded from, or `null` for uploads.","uniqueKey":"documents.items.[INDEX].metadata.sourceUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link it was downloaded from, or `null` for uploads.","uniqueKey":"documents.items.[INDEX].metadata.sourceUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"documents.items.[INDEX].metadata.sourceUrl","typeLabel":"string | null"},"format":{"type":"string","description":"The format as a lowercase extension, such as `pdf` or `docx`.","uniqueKey":"documents.items.[INDEX].metadata.format","typeLabel":"string"},"totalPages":{"type":"integer","description":"How many pages the document has.","uniqueKey":"documents.items.[INDEX].metadata.totalPages","typeLabel":"integer"},"pagesParsed":{"type":"integer","description":"How many pages were read and charged.","uniqueKey":"documents.items.[INDEX].metadata.pagesParsed","typeLabel":"integer"},"ocrPages":{"type":"integer","description":"How many of those pages were read with AI.","uniqueKey":"documents.items.[INDEX].metadata.ocrPages","typeLabel":"integer"}},"uniqueKey":"documents.items.[INDEX].metadata","typeLabel":"object"},"durationMs":{"oneOf":[{"type":"integer","description":"Once completed. How long parsing took, in milliseconds.","uniqueKey":"documents.items.[INDEX].durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Once completed. How long parsing took, in milliseconds.","uniqueKey":"documents.items.[INDEX].durationMs.oneOf.1","typeLabel":"null"}],"uniqueKey":"documents.items.[INDEX].durationMs","typeLabel":"integer | null"}},"uniqueKey":"documents.items.[INDEX]","typeLabel":"object"},"uniqueKey":"documents","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"batchId":"bd108121-f10b-407d-99d5-cb40a0939248","status":"completed","counts":{"queued":0,"running":0,"completed":2,"failed":0},"creditsUsed":2,"documents":[{"jobId":"9cb7e05b-a16c-4fd5-8bae-ce9adf074cbf","status":"completed","fileName":"1706.03762","sourceUrl":"https://arxiv.org/pdf/1706.03762","fileId":"614b6cf9-baab-440a-a1d8-422ce676bb5d","format":"PDF","totalPages":15,"pagesParsed":1,"creditsUsed":1},{"jobId":"60c9f3bb-f43a-4407-a86d-a45107a7c4c8","status":"completed","fileName":"1706.03762","sourceUrl":"https://arxiv.org/pdf/1706.03762","fileId":"7578d785-660d-44fe-91ec-18bb4fe833b1","format":"PDF","totalPages":15,"pagesParsed":1,"creditsUsed":1}]},"examples":{"Example":{"title":"Example","value":{"batchId":"bd108121-f10b-407d-99d5-cb40a0939248","status":"completed","counts":{"queued":0,"running":0,"completed":2,"failed":0},"creditsUsed":2,"documents":[{"jobId":"9cb7e05b-a16c-4fd5-8bae-ce9adf074cbf","status":"completed","fileName":"1706.03762","sourceUrl":"https://arxiv.org/pdf/1706.03762","fileId":"614b6cf9-baab-440a-a1d8-422ce676bb5d","format":"PDF","totalPages":15,"pagesParsed":1,"creditsUsed":1},{"jobId":"60c9f3bb-f43a-4407-a86d-a45107a7c4c8","status":"completed","fileName":"1706.03762","sourceUrl":"https://arxiv.org/pdf/1706.03762","fileId":"7578d785-660d-44fe-91ec-18bb4fe833b1","format":"PDF","totalPages":15,"pagesParsed":1,"creditsUsed":1}]}}},"exampleType":"examples"}},"exampleType":"examples"},"e58eb068-c141-4c48-88d5-dbd132f01dde":{"description":"The API key is missing, wrong, or turned off.","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, as a sentence you can show to a person.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A stable code for the error, when there is one, such as `JOB_NOT_FOUND` or `SERVICE_BUSY`. Branch on this rather than on `message`.","uniqueKey":"code","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string[] | object[]"},"retry_after":{"type":"integer","description":"On `503 SERVICE_BUSY`, how many seconds to wait before sending the request again.","uniqueKey":"retry_after","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing":{"title":"missing","value":{"status":"error","message":"Missing authentication"}},"invalid":{"title":"invalid","value":{"status":"error","message":"Invalid token or API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"bf36f682-b82e-4d97-8b08-731f9e7b8977":{"description":"There's no parse batch with this ID on your account.","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, as a sentence you can show to a person.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A stable code for the error, when there is one, such as `JOB_NOT_FOUND` or `SERVICE_BUSY`. Branch on this rather than on `message`.","uniqueKey":"code","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string[] | object[]"},"retry_after":{"type":"integer","description":"On `503 SERVICE_BUSY`, how many seconds to wait before sending the request again.","uniqueKey":"retry_after","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"Batch not found."},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Batch not found."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"6ae77587-e60d-4803-9173-0a1617725897":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key","scopes":[],"schemeName":"BearerAuth"}},"696cbdd8-eb13-4014-a8dd-ee43246169e7":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"bf13fe36-aa6a-4de6-964d-d06f33bc1bb9":{"url":"https://api.spidra.io/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API key","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"spidra","siteName":"Spidra","title":"Get a parse batch - Spidra","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T09:08:39.017Z","originalFileLocation":"api-reference/parse/parse-batch-status.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"Returns a parse batch\u0026#x27;s progress, counts and every document\u0026#x27;s status. status is running until every document has finished, then completed. Polling is free and has no rate limit. Documents come without their results by default. Add ?include=results to get each finished document\u0026#x27;s Markdown and extracted json, or read each one with Get a parse job. Documents that failed before they were queued, such as a link that couldn\u0026#x27;t be reached, aren\u0026#x27;t part of the batch here. They were reported in the response to POST /parse/batch.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Spidra\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_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/spidra/JYxAUddv93IVFozP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a parse batch - Spidra\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns a parse batch\u0026#x27;s progress, counts and every document\u0026#x27;s status. status is running until every document has finished, then completed. Polling is free and has no rate limit. Documents come without their results by default. Add ?include=results to get each finished document\u0026#x27;s Markdown and extracted json, or read each one with Get a parse job. Documents that failed before they were queued, such as a link that couldn\u0026#x27;t be reached, aren\u0026#x27;t part of the batch here. They were reported in the response to POST /parse/batch.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Spidra\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.spidra.io/api-reference/parse/parse-batch-status\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://spidra.mintlify.site/_mintlify/api/og/v2?division=Parse\u0026amp;title=Get+a+parse+batch\u0026amp;description=Returns+a+parse+batch%27s+progress%2C+counts+and+every+document%27s+status.+%60status%60+is+%60running%60+until+every+document+has+finished%2C+then+%60completed%60.+Polling+is+free\u0026amp;theme=fd0fe7fea6781527f1876f07\u0026amp;signature=b35d9ddc148fe5fb260000d95256209bb2cb0c58f1627ceb9fa1027c83ba7b70\">\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=\"Get a parse batch - Spidra\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns a parse batch\u0026#x27;s progress, counts and every document\u0026#x27;s status. status is running until every document has finished, then completed. Polling is free and has no rate limit. Documents come without their results by default. Add ?include=results to get each finished document\u0026#x27;s Markdown and extracted json, or read each one with Get a parse job. Documents that failed before they were queued, such as a link that couldn\u0026#x27;t be reached, aren\u0026#x27;t part of the batch here. They were reported in the response to POST /parse/batch.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spidra.mintlify.site/_mintlify/api/og/v2?division=Parse\u0026amp;title=Get+a+parse+batch\u0026amp;description=Returns+a+parse+batch%27s+progress%2C+counts+and+every+document%27s+status.+%60status%60+is+%60running%60+until+every+document+has+finished%2C+then+%60completed%60.+Polling+is+free\u0026amp;theme=fd0fe7fea6781527f1876f07\u0026amp;signature=b35d9ddc148fe5fb260000d95256209bb2cb0c58f1627ceb9fa1027c83ba7b70\">\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/spidra/JYxAUddv93IVFozP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Spidra\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#007AFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.spidra.io/api-reference/parse/parse-batch-status\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/parse/parse-batch-status.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.spidra.io/#organization\",\"name\":\"Spidra\",\"url\":\"https://docs.spidra.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/logo/logo-light.png?fit=max\u0026auto=format\u0026n=tjYTncBEy2qwqvSx\u0026q=85\u0026s=9ee4bb079b87d8aea61a7d42bfecf118\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.spidra.io#website\",\"name\":\"Spidra\",\"url\":\"https://docs.spidra.io\",\"publisher\":{\"@id\":\"https://docs.spidra.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.spidra.io/api-reference/parse/parse-batch-status#webpage\",\"url\":\"https://docs.spidra.io/api-reference/parse/parse-batch-status\",\"name\":\"Get a parse batch\",\"description\":\"Returns a parse batch's progress, counts and every document's status. status is running until every document has finished, then completed. Polling is free and has no rate limit. Documents come without their results by default. Add ?include=results to get each finished document's Markdown and extracted json, or read each one with Get a parse job. Documents that failed before they were queued, such as a link that couldn't be reached, aren't part of the batch here. They were reported in the response to POST /parse/batch.\",\"dateModified\":\"2026-10-25T09:08:39.017Z\",\"isPartOf\":{\"@id\":\"https://docs.spidra.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.spidra.io/api-reference/parse/parse-batch-status#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.spidra.io/api-reference/parse/parse-batch-status#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Parse\",\"item\":\"https://docs.spidra.io/api-reference/parse/parse\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a parse batch\",\"item\":\"https://docs.spidra.io/api-reference/parse/parse-batch-status\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.spidra.io/api-reference/parse/parse-batch-status#apireference\",\"headline\":\"Get a parse batch\",\"name\":\"Get a parse batch\",\"description\":\"Returns a parse batch's progress, counts and every document's status. status is running until every document has finished, then completed. Polling is free and has no rate limit. Documents come without their results by default. Add ?include=results to get each finished document's Markdown and extracted json, or read each one with Get a parse job. Documents that failed before they were queued, such as a link that couldn't be reached, aren't part of the batch here. They were reported in the response to POST /parse/batch.\",\"url\":\"https://docs.spidra.io/api-reference/parse/parse-batch-status\",\"mainEntityOfPage\":{\"@id\":\"https://docs.spidra.io/api-reference/parse/parse-batch-status#webpage\"},\"dateModified\":\"2026-10-25T09:08:39.017Z\",\"keywords\":\"GET /parse/batch/batchId, parse batch status\",\"publisher\":{\"@id\":\"https://docs.spidra.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.spidra.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Spidra\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Spidra","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"book-open-cover","href":"https://app.spidra.io"},{"anchor":"GitHub","icon":"github","href":"https://github.com/spidra-io"},{"anchor":"Blog","icon":"newspaper","href":"https://spidra.io/blog"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://spidra.io/changelog"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/overview"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"API Reference","groups":[{"group":"Using the API","pages":[{"title":"API introduction","icon":"book","href":"/api-reference/introduction"},{"title":"Errors","icon":"triangle-exclamation","href":"/api-reference/errors"},{"title":"Rate limits","icon":"gauge","href":"/api-reference/rate-limits"},{"title":"Webhooks","icon":"webhook","href":"/api-reference/webhooks"}]},{"group":"Scrape","pages":[{"title":"Start a scrape","openapi":"POST /scrape","href":"/api-reference/scraping/scrape"},{"title":"Get a scrape","openapi":"GET /scrape/{jobId}","href":"/api-reference/scraping/scrape-status"}]},{"group":"Batch scrape","pages":[{"title":"Batch scrape","openapi":"POST /batch/scrape","href":"/api-reference/scraping/batch-scrape"},{"title":"Get a batch","openapi":"GET /batch/scrape/{batchId}","href":"/api-reference/scraping/batch-scrape-status"},{"title":"List batches","openapi":"GET /batch/scrape","href":"/api-reference/scraping/batch-scrape-list"},{"title":"Retry a batch","openapi":"POST /batch/scrape/{batchId}/retry","href":"/api-reference/scraping/batch-scrape-retry"},{"title":"Cancel a batch","openapi":"DELETE /batch/scrape/{batchId}","href":"/api-reference/scraping/batch-scrape-cancel"}]},{"group":"Crawl","pages":[{"title":"Crawl","openapi":"POST /crawl","href":"/api-reference/crawling/crawl"},{"title":"Get a crawl","openapi":"GET /crawl/{jobId}","href":"/api-reference/crawling/crawl-status"},{"title":"Get crawl pages","openapi":"GET /crawl/{jobId}/pages","href":"/api-reference/crawling/crawl-pages"},{"title":"Get a crawl report","openapi":"GET /crawl/{jobId}/report","href":"/api-reference/crawling/crawl-report"},{"title":"Extract from a crawl","openapi":"POST /crawl/{jobId}/extract","href":"/api-reference/crawling/crawl-extract"},{"title":"Retry a crawl page","openapi":"POST /crawl/{jobId}/retry/{pageId}","href":"/api-reference/crawling/crawl-retry-page"},{"title":"Download a crawl","openapi":"GET /crawl/{jobId}/download","href":"/api-reference/crawling/crawl-download"},{"title":"Get crawl details","openapi":"GET /crawl/job/{jobId}","href":"/api-reference/crawling/crawl-details"},{"title":"List crawls","openapi":"GET /crawl/history","href":"/api-reference/crawling/crawl-history"},{"title":"Cancel a crawl","openapi":"DELETE /crawl/{jobId}","href":"/api-reference/crawling/crawl-cancel"}]},{"group":"Map","pages":[{"title":"Map","openapi":"POST /map","href":"/api-reference/crawling/map"}]},{"group":"Search","pages":[{"title":"Search","openapi":"POST /search","href":"/api-reference/search/search"},{"title":"Get a search","openapi":"GET /search/{jobId}","href":"/api-reference/search/search-status"},{"title":"Cancel a search","openapi":"DELETE /search/{jobId}","href":"/api-reference/search/search-cancel"}]},{"group":"Parse","pages":[{"title":"Parse","openapi":"POST /parse","href":"/api-reference/parse/parse"},{"title":"Get a parse job","openapi":"GET /parse/{jobId}","href":"/api-reference/parse/parse-status"},{"title":"Parse a batch","openapi":"POST /parse/batch","description":"Parses up to 50 documents in one request, mixing uploads, links and `fileId`s, and returns a `batchId` straight away. Each document becomes its own parse job with the same options. Poll [Get a parse batch](/api-reference/parse/parse-batch-status) for progress, or each document's `jobId` at [Get a parse job](/api-reference/parse/parse-status).\n\nSend uploads as `files` parts in a multipart request, links in `urls` and stored documents in `fileIds`. In a multipart request, send `urls` and `fileIds` as JSON array strings.\n\nEach document is checked and charged on its own. One that can't be fetched or read, or that your remaining credits can't cover, comes back in `documents` with `status: \"failed\"` and an `error`, and the others still run. With `dryRun: true` you get an estimate for every document and a total, and nothing is parsed.\n\n**Credits:** 1 per page parsed for each document, plus AI credits when you send a `prompt` or `schema`. Failed documents cost nothing.\n\n**Rate limits:** 60 parse requests a minute, shared with `POST /parse`.\n","href":"/api-reference/parse/parse-batch"},{"title":"Get a parse batch","openapi":"GET /parse/batch/{batchId}","href":"/api-reference/parse/parse-batch-status"},{"title":"Prepare a large upload","openapi":"POST /parse/uploads","description":"Returns a link to upload a document of up to 500 MB directly, and the `fileId` to parse it by. Use it for files over the 50 MB limit of a normal upload.\n\n1. Call this endpoint with the file's name and exact size in bytes.\n2. Send the file's bytes with a `PUT` to `uploadUrl` within 15 minutes, with no API key and the same size. For example, `curl -X PUT --upload-file big.pdf \"\u003cuploadUrl>\"`.\n3. Parse it with [Parse](/api-reference/parse/parse) and `{ \"fileId\": \"...\" }`, or add it to a [batch](/api-reference/parse/parse-batch).\n\nParsing the `fileId` before the bytes arrive returns `409`. The file can be parsed again for 24 hours, then it's deleted.\n\n**Rate limits:** 60 requests a minute, shared with `POST /parse`.\n","href":"/api-reference/parse/parse-uploads"},{"title":"Delete a document","openapi":"DELETE /parse/files/{fileId}","href":"/api-reference/parse/parse-delete-file"},{"title":"List formats","openapi":"GET /parse/formats","href":"/api-reference/parse/parse-formats"}]},{"group":"Templates","pages":[{"title":"List templates","openapi":"GET /templates","href":"/api-reference/templates/list"},{"title":"Get a template","openapi":"GET /templates/{slug}","href":"/api-reference/templates/get"},{"title":"Estimate a template run","openapi":"POST /templates/{slug}/estimate","href":"/api-reference/templates/estimate"},{"title":"Run a template","openapi":"POST /templates/{slug}/runs","href":"/api-reference/templates/run"},{"title":"Get a template run","openapi":"GET /template-runs/{runId}","href":"/api-reference/templates/get-run"},{"title":"List template runs","openapi":"GET /template-runs","href":"/api-reference/templates/list-runs"},{"title":"Look up airports","openapi":"GET /templates/lookups/airports","href":"/api-reference/templates/airports"}]},{"group":"Presets","pages":[{"title":"Create a preset","openapi":"POST /presets","href":"/api-reference/presets/create"},{"title":"List presets","openapi":"GET /presets","href":"/api-reference/presets/list"},{"title":"Get a preset","openapi":"GET /presets/{presetId}","href":"/api-reference/presets/get"},{"title":"Update a preset","openapi":"PATCH /presets/{presetId}","href":"/api-reference/presets/update"},{"title":"Delete a preset","openapi":"DELETE /presets/{presetId}","href":"/api-reference/presets/delete"},{"title":"Run a preset","openapi":"POST /presets/{presetId}/runs","href":"/api-reference/presets/run"}]},{"group":"Monitors","pages":[{"title":"Create a monitor","openapi":"POST /monitors","href":"/api-reference/monitors/create"},{"title":"List monitors","openapi":"GET /monitors","href":"/api-reference/monitors/list"},{"title":"Get a monitor","openapi":"GET /monitors/{monitorId}","href":"/api-reference/monitors/get"},{"title":"Update a monitor","openapi":"PATCH /monitors/{monitorId}","href":"/api-reference/monitors/update"},{"title":"Delete a monitor","openapi":"DELETE /monitors/{monitorId}","href":"/api-reference/monitors/delete"},{"title":"Check a monitor now","openapi":"POST /monitors/{monitorId}/check","href":"/api-reference/monitors/check-now"},{"title":"Pause a monitor","openapi":"POST /monitors/{monitorId}/pause","href":"/api-reference/monitors/pause"},{"title":"Resume a monitor","openapi":"POST /monitors/{monitorId}/resume","href":"/api-reference/monitors/resume"},{"title":"List monitor checks","openapi":"GET /monitors/{monitorId}/checks","href":"/api-reference/monitors/list-checks"},{"title":"Get a monitor check","openapi":"GET /monitors/{monitorId}/checks/{checkId}","href":"/api-reference/monitors/get-check"},{"title":"Estimate a monitor","openapi":"POST /monitors/estimate","href":"/api-reference/monitors/estimate"},{"title":"Get monitor limits","openapi":"GET /monitors/limits","href":"/api-reference/monitors/limits"},{"title":"Send a test notification","openapi":"POST /monitors/test-notification","href":"/api-reference/monitors/test-notification"}]},{"group":"Logs","pages":[{"title":"List scrape logs","openapi":"GET /scrape-logs","href":"/api-reference/scraping/scrape-logs"},{"title":"Get a scrape log","openapi":"GET /scrape-logs/{uuid}","href":"/api-reference/scraping/scrape-logs-detail"},{"title":"List search logs","openapi":"GET /search-logs","href":"/api-reference/search/search-logs"},{"title":"Get a search log","openapi":"GET /search-logs/{uuid}","href":"/api-reference/search/search-logs-detail"},{"title":"List map logs","openapi":"GET /map-logs","href":"/api-reference/logs/map-logs"},{"title":"Get a map log","openapi":"GET /map-logs/{uuid}","href":"/api-reference/logs/map-logs-detail"},{"title":"List parse logs","openapi":"GET /parse-logs","href":"/api-reference/logs/parse-logs"}]},{"group":"Account","pages":[{"title":"Account","openapi":"GET /account","href":"/api-reference/account/account"},{"title":"Usage stats","openapi":"GET /usage-stats","href":"/api-reference/account/usage-stats"},{"title":"Usage by tool","openapi":"GET /usage-stats/breakdown","href":"/api-reference/account/usage-breakdown"}]}]}]},"basePath":"","title":"Get a parse batch - Spidra","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}