{
"jobId": "c5a8d5a2-b10e-44f5-8c9e-dbbd334d19d1",
"status": "completed",
"fileName": "1706.03762",
"sourceUrl": "https://arxiv.org/pdf/1706.03762",
"fileId": "29273629-c557-4ac8-9e36-14fb96b1018d",
"format": "PDF",
"totalPages": 15,
"pagesParsed": 3,
"creditsUsed": 3,
"markdown": "### Provided proper attribution is provided, Google hereby grants permission to\n\nreproduce the tables and figures in this paper solely for use in journalistic or scholarly works.\n\n## Attention Is All You Need\n\n...",
"warnings": [],
"metadata": {
"fileName": "1706.03762",
"sourceUrl": "https://arxiv.org/pdf/1706.03762",
"format": "pdf",
"totalPages": 15,
"pagesParsed": 3,
"ocrPages": 0
},
"durationMs": 1005
}
Parse
Parse
Turns one document into Markdown, and into JSON when you send a prompt or schema. Send exactly one source: a link in url, an upload in file (multipart), or the fileId of a document you’ve already sent. PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, CSV and HTML files work. See List formats and the Parse guide.
The request waits up to 20 seconds. If the document is done by then, you get the result with 200. If not, or if you send wait: false, you get 202 with a jobId to poll at Get a parse job. A document that can’t be parsed answers 200 with status: "failed" and the reason in error.
Uploads and links can be up to 50 MB. For bigger files, up to 500 MB, use Prepare a large upload. One request parses up to 2,000 pages; use pages or maxPages for longer PDFs. Every document is stored for 24 hours under its fileId, so you can parse it again with other options, then deleted.
Credits: 1 per page parsed, plus AI credits for the tokens used when you send a prompt or schema. Formats without pages count one page per 3,000 characters of text. Pages that can’t be read and failed documents cost nothing. dryRun: true tells you the cost for free. See How credits work.
Rate limits: 60 parse requests a minute, shared with POST /parse/batch and POST /parse/uploads.
A link to the document, starting with http:// or https://. Links to private or internal addresses aren't allowed. Send this, fileId or a file upload, not more than one.
PDF pages to parse, as pages and ranges separated by commas. "10-" means page 10 to the end. Pages past the end are skipped. Other formats ignore this and are parsed whole, with a warning.
Adds pages to the result, with each page's Markdown on its own. perPage is accepted as another name for this field. Only applies when the result comes back inline; when polling, use ?pages=true instead.
What to extract from the document, in plain English, such as "The paper's title and the authors' names". The answer is in json. Costs AI credits on top of the page credits.
A JSON Schema for the extracted data. The answer is in json and follows this shape. Can be sent with or without a prompt. In a multipart request, send it as a JSON string.
Returns the page count and the credits the parse would cost, without parsing or charging anything. The document is still stored, so you can parse it next with the returned fileId.
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.
Once completed. How long parsing took, in milliseconds.
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","slug":"/api-reference/parse/parse","pageMetadata":{"title":"Parse","openapi":"POST /parse","keywords":["POST /parse","parse API","PDF to Markdown API"],"description":"Turns one document into Markdown, and into JSON when you send a `prompt` or `schema`. Send exactly one source: a link in `url`, an upload in `file` (multipart), or the `fileId` of a document you've already sent. PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, CSV and HTML files work. See [List formats](/api-reference/parse/parse-formats) and the [Parse guide](/parse).\n\nThe request waits up to 20 seconds. If the document is done by then, you get the result with `200`. If not, or if you send `wait: false`, you get `202` with a `jobId` to poll at [Get a parse job](/api-reference/parse/parse-status). A document that can't be parsed answers `200` with `status: \"failed\"` and the reason in `error`.\n\nUploads and links can be up to 50 MB. For bigger files, up to 500 MB, use [Prepare a large upload](/api-reference/parse/parse-uploads). One request parses up to 2,000 pages; use `pages` or `maxPages` for longer PDFs. Every document is stored for 24 hours under its `fileId`, so you can parse it again with other options, then deleted.\n\n**Credits:** 1 per page parsed, plus AI credits for the tokens used when you send a `prompt` or `schema`. Formats without pages count one page per 3,000 characters of text. Pages that can't be read and failed documents cost nothing. `dryRun: true` tells you the cost for free. See [How credits work](/billing/how-credits-work).\n\n**Rate limits:** 60 parse requests a minute, shared with `POST /parse/batch` and `POST /parse/uploads`.\n","href":"/api-reference/parse/parse"},"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 strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Turns one document into Markdown, and into JSON when you send a \", _jsx(_components.code, {\n children: \"prompt\"\n }), \" or \", _jsx(_components.code, {\n children: \"schema\"\n }), \". Send exactly one source: a link in \", _jsx(_components.code, {\n children: \"url\"\n }), \", an upload in \", _jsx(_components.code, {\n children: \"file\"\n }), \" (multipart), or the \", _jsx(_components.code, {\n children: \"fileId\"\n }), \" of a document you’ve already sent. PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, CSV and HTML files work. See \", _jsx(_components.a, {\n href: \"/api-reference/parse/parse-formats\",\n children: \"List formats\"\n }), \" and the \", _jsx(_components.a, {\n href: \"/parse\",\n children: \"Parse guide\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The request waits up to 20 seconds. If the document is done by then, you get the result with \", _jsx(_components.code, {\n children: \"200\"\n }), \". If not, or if you send \", _jsx(_components.code, {\n children: \"wait: false\"\n }), \", you get \", _jsx(_components.code, {\n children: \"202\"\n }), \" with a \", _jsx(_components.code, {\n children: \"jobId\"\n }), \" to poll at \", _jsx(_components.a, {\n href: \"/api-reference/parse/parse-status\",\n children: \"Get a parse job\"\n }), \". A document that can’t be parsed answers \", _jsx(_components.code, {\n children: \"200\"\n }), \" with \", _jsx(_components.code, {\n children: \"status: \\\"failed\\\"\"\n }), \" and the reason in \", _jsx(_components.code, {\n children: \"error\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Uploads and links can be up to 50 MB. For bigger files, up to 500 MB, use \", _jsx(_components.a, {\n href: \"/api-reference/parse/parse-uploads\",\n children: \"Prepare a large upload\"\n }), \". One request parses up to 2,000 pages; use \", _jsx(_components.code, {\n children: \"pages\"\n }), \" or \", _jsx(_components.code, {\n children: \"maxPages\"\n }), \" for longer PDFs. Every document is stored for 24 hours under its \", _jsx(_components.code, {\n children: \"fileId\"\n }), \", so you can parse it again with other options, then deleted.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Credits:\"\n }), \" 1 per page parsed, plus AI credits for the tokens used when you send a \", _jsx(_components.code, {\n children: \"prompt\"\n }), \" or \", _jsx(_components.code, {\n children: \"schema\"\n }), \". Formats without pages count one page per 3,000 characters of text. Pages that can’t be read and failed documents cost nothing. \", _jsx(_components.code, {\n children: \"dryRun: true\"\n }), \" tells you the cost for free. See \", _jsx(_components.a, {\n href: \"/billing/how-credits-work\",\n children: \"How credits work\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Rate limits:\"\n }), \" 60 parse requests a minute, shared with \", _jsx(_components.code, {\n children: \"POST /parse/batch\"\n }), \" and \", _jsx(_components.code, {\n children: \"POST /parse/uploads\"\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":"Parse","openapi":"POST /parse","keywords":["POST /parse","parse API","PDF to Markdown API"],"description":"Turns one document into Markdown, and into JSON when you send a `prompt` or `schema`. Send exactly one source: a link in `url`, an upload in `file` (multipart), or the `fileId` of a document you've already sent. PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, CSV and HTML files work. See [List formats](/api-reference/parse/parse-formats) and the [Parse guide](/parse).\n\nThe request waits up to 20 seconds. If the document is done by then, you get the result with `200`. If not, or if you send `wait: false`, you get `202` with a `jobId` to poll at [Get a parse job](/api-reference/parse/parse-status). A document that can't be parsed answers `200` with `status: \"failed\"` and the reason in `error`.\n\nUploads and links can be up to 50 MB. For bigger files, up to 500 MB, use [Prepare a large upload](/api-reference/parse/parse-uploads). One request parses up to 2,000 pages; use `pages` or `maxPages` for longer PDFs. Every document is stored for 24 hours under its `fileId`, so you can parse it again with other options, then deleted.\n\n**Credits:** 1 per page parsed, plus AI credits for the tokens used when you send a `prompt` or `schema`. Formats without pages count one page per 3,000 characters of text. Pages that can't be read and failed documents cost nothing. `dryRun: true` tells you the cost for free. See [How credits work](/billing/how-credits-work).\n\n**Rate limits:** 60 parse requests a minute, shared with `POST /parse/batch` and `POST /parse/uploads`.\n","href":"/api-reference/parse/parse"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/spidra/fe44716c737c36c1/toc-cta.js"],"openApiReferenceData":{"operation":{"summary":"Parse","description":"Turns one document into Markdown, and into JSON when you send a `prompt` or `schema`. Send exactly one source: a link in `url`, an upload in `file` (multipart), or the `fileId` of a document you've already sent. PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, CSV and HTML files work. See [List formats](/api-reference/parse/parse-formats) and the [Parse guide](/parse).\n\nThe request waits up to 20 seconds. If the document is done by then, you get the result with `200`. If not, or if you send `wait: false`, you get `202` with a `jobId` to poll at [Get a parse job](/api-reference/parse/parse-status). A document that can't be parsed answers `200` with `status: \"failed\"` and the reason in `error`.\n\nUploads and links can be up to 50 MB. For bigger files, up to 500 MB, use [Prepare a large upload](/api-reference/parse/parse-uploads). One request parses up to 2,000 pages; use `pages` or `maxPages` for longer PDFs. Every document is stored for 24 hours under its `fileId`, so you can parse it again with other options, then deleted.\n\n**Credits:** 1 per page parsed, plus AI credits for the tokens used when you send a `prompt` or `schema`. Formats without pages count one page per 3,000 characters of text. Pages that can't be read and failed documents cost nothing. `dryRun: true` tells you the cost for free. See [How credits work](/billing/how-credits-work).\n\n**Rate limits:** 60 parse requests a minute, shared with `POST /parse/batch` and `POST /parse/uploads`.\n","requestBody":"7fcd16f4-5f96-4c57-bae7-1491238e9dd9","responses":{"200":"0e06ebc2-de01-47b3-bc28-d6f2c214c9f9","202":"45a2a86e-e9c9-4e8b-8a11-b60ff0a4a788","401":"22f6d70d-03e7-40a5-8c39-9d1e7ea89a88","402":"26f67ab1-c799-4d31-a93b-18abcd6deebf","403":"d0f2317c-db8e-4505-83aa-6e63a878aacd","404":"4f783b43-f1e4-44a4-894b-01edf64b15cf","409":"3ba040e4-f0b3-4333-aba0-87b8dfcd006d","413":"a20f437e-25c0-47ad-8ae9-ea2572b37fcf","415":"5d157abb-3c04-4680-8462-667ec7c4a55d","422":"6f12d23d-5fd2-4945-a219-46689bd05b3d","429":"2fb5964d-58d6-45b8-82a1-0e1d768bbeca"},"tags":["Parse"],"method":"post","type":"path","servers":["bf13fe36-aa6a-4de6-964d-d06f33bc1bb9"],"security":["6ae77587-e60d-4803-9173-0a1617725897","696cbdd8-eb13-4014-a8dd-ee43246169e7"],"path":"/parse","baseUrlOptions":["https://api.spidra.io/api"],"title":"Parse","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"How to parse a document. The same options apply to `POST /parse` and to every document in `POST /parse/batch`.","properties":{"url":{"type":"string","format":"uri","description":"A link to the document, starting with `http://` or `https://`. Links to private or internal addresses aren't allowed. Send this, `fileId` or a `file` upload, not more than one.","example":"https://arxiv.org/pdf/1706.03762","uniqueKey":"url","typeLabel":"string\u003curi>"},"fileId":{"type":"string","format":"uuid","description":"The `fileId` of a document you parsed, estimated or uploaded in the last 24 hours. It isn't downloaded or uploaded again.","example":"0b007010-b3f6-4398-a3ba-e5c2518839c8","uniqueKey":"fileId","typeLabel":"string\u003cuuid>"},"mode":{"type":"string","enum":["auto","fast","ocr"],"default":"auto","description":"How pages are read.\n\n- `auto`: reads each page's text, and uses AI only on pages that are scans or images.\n- `fast`: reads text only. Scanned pages come back empty with an `error` and aren't charged.\n- `ocr`: reads every page with AI. Slower, and best for scans and handwriting.\n","uniqueKey":"mode","typeLabel":"enum\u003cstring>"},"pages":{"type":"string","maxLength":500,"description":"PDF pages to parse, as pages and ranges separated by commas. `\"10-\"` means page 10 to the end. Pages past the end are skipped. Other formats ignore this and are parsed whole, with a warning.","example":"1-5,9","uniqueKey":"pages","typeLabel":"string"},"maxPages":{"type":"integer","minimum":1,"description":"Parse at most this many pages, counted from the start of `pages` (or of the document). PDFs only.","example":3,"uniqueKey":"maxPages","typeLabel":"integer"},"includePages":{"type":"boolean","default":false,"description":"Adds `pages` to the result, with each page's Markdown on its own. `perPage` is accepted as another name for this field. Only applies when the result comes back inline; when polling, use `?pages=true` instead.","uniqueKey":"includePages","typeLabel":"boolean"},"pageMarkers":{"type":"boolean","default":false,"description":"Puts a `\u003c!-- page N -->` line before each page in `markdown`.","uniqueKey":"pageMarkers","typeLabel":"boolean"},"prompt":{"type":"string","maxLength":5000,"description":"What to extract from the document, in plain English, such as `\"The paper's title and the authors' names\"`. The answer is in `json`. Costs AI credits on top of the page credits.","uniqueKey":"prompt","typeLabel":"string"},"schema":{"type":"object","description":"A JSON Schema for the extracted data. The answer is in `json` and follows this shape. Can be sent with or without a `prompt`. In a multipart request, send it as a JSON string.","uniqueKey":"schema","typeLabel":"object"},"dryRun":{"type":"boolean","default":false,"description":"Returns the page count and the credits the parse would cost, without parsing or charging anything. The document is still stored, so you can parse it next with the returned `fileId`.","uniqueKey":"dryRun","typeLabel":"boolean"},"wait":{"type":"boolean","default":true,"description":"Waits up to 20 seconds for the result and returns it inline. Set to `false` to get a job to poll straight away. `POST /parse` only; a batch never waits.","uniqueKey":"wait","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"link":{"title":"link","value":{"url":"https://arxiv.org/pdf/1706.03762","maxPages":3}},"extract":{"title":"extract","value":{"fileId":"614b6cf9-baab-440a-a1d8-422ce676bb5d","pages":"1","prompt":"The paper's title and the authors' names","schema":{"type":"object","properties":{"title":{"type":"string"},"authors":{"type":"array","items":{"type":"string"}}}}}},"estimate":{"title":"estimate","value":{"url":"https://arxiv.org/pdf/1706.03762","pages":"2-3","dryRun":true}}},"exampleType":"examples"},"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"The document, up to 50 MB.","isRequired":true,"uniqueKey":"file","typeLabel":"file"},"options":{"type":"string","description":"All the options as one JSON string, such as `{\"pages\":\"1-5\"}`. You can send each option as its own form field instead.","uniqueKey":"options","typeLabel":"string"},"mode":{"type":"string","enum":["auto","fast","ocr"],"default":"auto","description":"How pages are read. See `mode` in the JSON body.","uniqueKey":"mode","typeLabel":"enum\u003cstring>"},"pages":{"type":"string","description":"PDF pages to parse, such as `1-5,9`.","uniqueKey":"pages","typeLabel":"string"},"maxPages":{"type":"integer","description":"Parse at most this many pages.","uniqueKey":"maxPages","typeLabel":"integer"},"includePages":{"type":"boolean","description":"Adds `pages` to the result.","uniqueKey":"includePages","typeLabel":"boolean"},"pageMarkers":{"type":"boolean","description":"Puts a `\u003c!-- page N -->` line before each page.","uniqueKey":"pageMarkers","typeLabel":"boolean"},"prompt":{"type":"string","description":"What to extract, in plain English.","uniqueKey":"prompt","typeLabel":"string"},"schema":{"type":"string","description":"A JSON Schema for the extracted data, as a JSON string.","uniqueKey":"schema","typeLabel":"string"},"dryRun":{"type":"boolean","description":"Returns the cost without parsing.","uniqueKey":"dryRun","typeLabel":"boolean"},"wait":{"type":"boolean","description":"Set to `false` to get a job to poll straight away.","uniqueKey":"wait","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"upload":{"title":"upload","value":{"file":"1706.03762.pdf","options":"{\"pages\":\"1-3\"}"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"0e06ebc2-de01-47b3-bc28-d6f2c214c9f9":{"description":"The document finished within 20 seconds (`status` is `completed` or `failed`), or `dryRun` was `true` and this is the estimate.","content":{"application/json":{"schema":{"oneOf":[{"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":"oneOf.0.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":"oneOf.0.status","typeLabel":"enum\u003cstring>"},"fileName":{"type":"string","description":"The document's file name, or the last part of the link it came from.","uniqueKey":"oneOf.0.fileName","typeLabel":"string"},"sourceUrl":{"oneOf":[{"type":"string","description":"The link the document was downloaded from, after redirects. `null` for uploads.","uniqueKey":"oneOf.0.sourceUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link the document was downloaded from, after redirects. `null` for uploads.","uniqueKey":"oneOf.0.sourceUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.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":"oneOf.0.fileId","typeLabel":"string\u003cuuid>"},"format":{"oneOf":[{"type":"string","description":"The document's format, such as `PDF`, `Word`, `Excel` or `PowerPoint`.","uniqueKey":"oneOf.0.format.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document's format, such as `PDF`, `Word`, `Excel` or `PowerPoint`.","uniqueKey":"oneOf.0.format.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.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":"oneOf.0.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":"oneOf.0.totalPages.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.totalPages","typeLabel":"integer | null"},"pagesParsed":{"oneOf":[{"type":"integer","description":"How many pages were read and charged. `null` until the job finishes.","uniqueKey":"oneOf.0.pagesParsed.oneOf.0","typeLabel":"integer"},{"type":"null","description":"How many pages were read and charged. `null` until the job finishes.","uniqueKey":"oneOf.0.pagesParsed.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.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":"oneOf.0.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":"oneOf.0.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":"oneOf.0.progress.message","typeLabel":"string"},"done":{"type":"integer","description":"Pages read so far.","uniqueKey":"oneOf.0.progress.done","typeLabel":"integer"},"total":{"type":"integer","description":"Pages to read in all.","uniqueKey":"oneOf.0.progress.total","typeLabel":"integer"}},"uniqueKey":"oneOf.0.progress","typeLabel":"object"},"markdown":{"type":"string","description":"Once completed. The whole document as Markdown, pages joined by blank lines.","uniqueKey":"oneOf.0.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":"oneOf.0.pages.items.[INDEX].pageNumber","typeLabel":"integer"},"markdown":{"type":"string","description":"The page as Markdown. Empty when the page couldn't be read.","uniqueKey":"oneOf.0.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":"oneOf.0.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":"oneOf.0.pages.items.[INDEX].error","typeLabel":"string"}},"uniqueKey":"oneOf.0.pages.items.[INDEX]","typeLabel":"object"},"description":"Only when you asked for it (`includePages`, or `?pages=true` when polling). Each page on its own.","uniqueKey":"oneOf.0.pages","typeLabel":"object[]"},"json":{"description":"Only when you sent a `prompt` or `schema`. The extracted data.","uniqueKey":"oneOf.0.json","typeLabel":"any"},"warnings":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.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":"oneOf.0.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":"oneOf.0.metadata.fileName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document's file name.","uniqueKey":"oneOf.0.metadata.fileName.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.metadata.fileName","typeLabel":"string | null"},"sourceUrl":{"oneOf":[{"type":"string","description":"The link it was downloaded from, or `null` for uploads.","uniqueKey":"oneOf.0.metadata.sourceUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link it was downloaded from, or `null` for uploads.","uniqueKey":"oneOf.0.metadata.sourceUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.metadata.sourceUrl","typeLabel":"string | null"},"format":{"type":"string","description":"The format as a lowercase extension, such as `pdf` or `docx`.","uniqueKey":"oneOf.0.metadata.format","typeLabel":"string"},"totalPages":{"type":"integer","description":"How many pages the document has.","uniqueKey":"oneOf.0.metadata.totalPages","typeLabel":"integer"},"pagesParsed":{"type":"integer","description":"How many pages were read and charged.","uniqueKey":"oneOf.0.metadata.pagesParsed","typeLabel":"integer"},"ocrPages":{"type":"integer","description":"How many of those pages were read with AI.","uniqueKey":"oneOf.0.metadata.ocrPages","typeLabel":"integer"}},"uniqueKey":"oneOf.0.metadata","typeLabel":"object"},"durationMs":{"oneOf":[{"type":"integer","description":"Once completed. How long parsing took, in milliseconds.","uniqueKey":"oneOf.0.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Once completed. How long parsing took, in milliseconds.","uniqueKey":"oneOf.0.durationMs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.durationMs","typeLabel":"integer | null"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"What a parse would cost, returned with `dryRun: true`. Nothing is parsed or charged.","properties":{"status":{"type":"string","enum":["estimate"],"uniqueKey":"oneOf.1.status","typeLabel":"enum\u003cstring>"},"fileId":{"type":"string","format":"uuid","description":"The stored document's ID. Send it as `fileId` to parse the document without fetching it again.","uniqueKey":"oneOf.1.fileId","typeLabel":"string\u003cuuid>"},"fileName":{"type":"string","description":"The document's file name.","uniqueKey":"oneOf.1.fileName","typeLabel":"string"},"format":{"type":"string","description":"The document's format, such as `PDF` or `Word`.","uniqueKey":"oneOf.1.format","typeLabel":"string"},"totalPages":{"type":"integer","description":"How many pages the document has.","uniqueKey":"oneOf.1.totalPages","typeLabel":"integer"},"pagesToParse":{"type":"integer","description":"How many pages would be parsed, after `pages` and `maxPages`.","uniqueKey":"oneOf.1.pagesToParse","typeLabel":"integer"},"credits":{"type":"integer","description":"Page credits the parse would cost.","uniqueKey":"oneOf.1.credits","typeLabel":"integer"},"creditsNote":{"type":"string","description":"Only when you sent a `prompt` or `schema`. Says that AI credits for the extraction come on top.","uniqueKey":"oneOf.1.creditsNote","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"completed":{"title":"completed","value":{"jobId":"c5a8d5a2-b10e-44f5-8c9e-dbbd334d19d1","status":"completed","fileName":"1706.03762","sourceUrl":"https://arxiv.org/pdf/1706.03762","fileId":"29273629-c557-4ac8-9e36-14fb96b1018d","format":"PDF","totalPages":15,"pagesParsed":3,"creditsUsed":3,"markdown":"### Provided proper attribution is provided, Google hereby grants permission to\n\nreproduce the tables and figures in this paper solely for use in journalistic or scholarly works.\n\n## Attention Is All You Need\n\n...","warnings":[],"metadata":{"fileName":"1706.03762","sourceUrl":"https://arxiv.org/pdf/1706.03762","format":"pdf","totalPages":15,"pagesParsed":3,"ocrPages":0},"durationMs":1005}},"extracted":{"title":"extracted","value":{"jobId":"58eaa06c-d540-4d28-aadf-3c2722b20ab6","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":2,"markdown":"### Provided proper attribution is provided, Google hereby grants permission to\n\n...","json":{"title":"Attention Is All You Need","authors":["Ashish Vaswani","Noam Shazeer","Niki Parmar","..."]},"warnings":[],"metadata":{"fileName":"1706.03762","sourceUrl":"https://arxiv.org/pdf/1706.03762","format":"pdf","totalPages":15,"pagesParsed":1,"ocrPages":0},"durationMs":1289}},"estimate":{"title":"estimate","value":{"status":"estimate","fileId":"614b6cf9-baab-440a-a1d8-422ce676bb5d","fileName":"1706.03762","format":"PDF","totalPages":15,"pagesToParse":2,"credits":2}}},"exampleType":"examples"}},"exampleType":"examples"},"45a2a86e-e9c9-4e8b-8a11-b60ff0a4a788":{"description":"The document is still being parsed after 20 seconds, or you sent `wait: false`. Poll `GET /parse/{jobId}` for the result.","content":{"application/json":{"schema":{"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":"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":"status","typeLabel":"enum\u003cstring>"},"fileName":{"type":"string","description":"The document's file name, or the last part of the link it came from.","uniqueKey":"fileName","typeLabel":"string"},"sourceUrl":{"oneOf":[{"type":"string","description":"The link the document was downloaded from, after redirects. `null` for uploads.","uniqueKey":"sourceUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link the document was downloaded from, after redirects. `null` for uploads.","uniqueKey":"sourceUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"fileId","typeLabel":"string\u003cuuid>"},"format":{"oneOf":[{"type":"string","description":"The document's format, such as `PDF`, `Word`, `Excel` or `PowerPoint`.","uniqueKey":"format.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document's format, such as `PDF`, `Word`, `Excel` or `PowerPoint`.","uniqueKey":"format.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"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":"totalPages.oneOf.1","typeLabel":"null"}],"uniqueKey":"totalPages","typeLabel":"integer | null"},"pagesParsed":{"oneOf":[{"type":"integer","description":"How many pages were read and charged. `null` until the job finishes.","uniqueKey":"pagesParsed.oneOf.0","typeLabel":"integer"},{"type":"null","description":"How many pages were read and charged. `null` until the job finishes.","uniqueKey":"pagesParsed.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"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":"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":"progress.message","typeLabel":"string"},"done":{"type":"integer","description":"Pages read so far.","uniqueKey":"progress.done","typeLabel":"integer"},"total":{"type":"integer","description":"Pages to read in all.","uniqueKey":"progress.total","typeLabel":"integer"}},"uniqueKey":"progress","typeLabel":"object"},"markdown":{"type":"string","description":"Once completed. The whole document as Markdown, pages joined by blank lines.","uniqueKey":"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":"pages.items.[INDEX].pageNumber","typeLabel":"integer"},"markdown":{"type":"string","description":"The page as Markdown. Empty when the page couldn't be read.","uniqueKey":"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":"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":"pages.items.[INDEX].error","typeLabel":"string"}},"uniqueKey":"pages.items.[INDEX]","typeLabel":"object"},"description":"Only when you asked for it (`includePages`, or `?pages=true` when polling). Each page on its own.","uniqueKey":"pages","typeLabel":"object[]"},"json":{"description":"Only when you sent a `prompt` or `schema`. The extracted data.","uniqueKey":"json","typeLabel":"any"},"warnings":{"type":"array","items":{"type":"string","uniqueKey":"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":"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":"metadata.fileName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document's file name.","uniqueKey":"metadata.fileName.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.fileName","typeLabel":"string | null"},"sourceUrl":{"oneOf":[{"type":"string","description":"The link it was downloaded from, or `null` for uploads.","uniqueKey":"metadata.sourceUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link it was downloaded from, or `null` for uploads.","uniqueKey":"metadata.sourceUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.sourceUrl","typeLabel":"string | null"},"format":{"type":"string","description":"The format as a lowercase extension, such as `pdf` or `docx`.","uniqueKey":"metadata.format","typeLabel":"string"},"totalPages":{"type":"integer","description":"How many pages the document has.","uniqueKey":"metadata.totalPages","typeLabel":"integer"},"pagesParsed":{"type":"integer","description":"How many pages were read and charged.","uniqueKey":"metadata.pagesParsed","typeLabel":"integer"},"ocrPages":{"type":"integer","description":"How many of those pages were read with AI.","uniqueKey":"metadata.ocrPages","typeLabel":"integer"}},"uniqueKey":"metadata","typeLabel":"object"},"durationMs":{"oneOf":[{"type":"integer","description":"Once completed. How long parsing took, in milliseconds.","uniqueKey":"durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Once completed. How long parsing took, in milliseconds.","uniqueKey":"durationMs.oneOf.1","typeLabel":"null"}],"uniqueKey":"durationMs","typeLabel":"integer | null"},"message":{"type":"string","description":"How many pages are being parsed and where to poll.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"jobId":"65245c0c-3f99-4805-bfe1-6a1c91b45478","status":"queued","fileName":"1706.03762","sourceUrl":"https://arxiv.org/pdf/1706.03762","fileId":"df4dd604-5f72-4f54-9873-5fd1b90b66cd","format":"PDF","totalPages":15,"pagesParsed":null,"creditsUsed":0,"message":"Parsing 1 page. Poll /api/parse/65245c0c-3f99-4805-bfe1-6a1c91b45478 for the result."},"examples":{"Example":{"title":"Example","value":{"jobId":"65245c0c-3f99-4805-bfe1-6a1c91b45478","status":"queued","fileName":"1706.03762","sourceUrl":"https://arxiv.org/pdf/1706.03762","fileId":"df4dd604-5f72-4f54-9873-5fd1b90b66cd","format":"PDF","totalPages":15,"pagesParsed":null,"creditsUsed":0,"message":"Parsing 1 page. Poll /api/parse/65245c0c-3f99-4805-bfe1-6a1c91b45478 for the result."}}},"exampleType":"examples"}},"exampleType":"examples"},"22f6d70d-03e7-40a5-8c39-9d1e7ea89a88":{"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"},"26f67ab1-c799-4d31-a93b-18abcd6deebf":{"description":"The account's payment is overdue. Update the payment method in the dashboard to continue.","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":"Your payment is overdue. Please update your payment method to continue.","code":"PAYMENT_OVERDUE"},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Your payment is overdue. Please update your payment method to continue.","code":"PAYMENT_OVERDUE"}}},"exampleType":"examples"}},"exampleType":"examples"},"d0f2317c-db8e-4505-83aa-6e63a878aacd":{"description":"The account doesn't have enough credits for the pages to parse. `creditsNeeded` says how many it would take. Parse fewer pages, or top up and send the request again.","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"},"creditsNeeded":{"type":"integer","description":"The page credits this parse needs.","uniqueKey":"creditsNeeded","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"You don't have enough credits to parse this document.","creditsNeeded":15},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"You don't have enough credits to parse this document.","creditsNeeded":15}}},"exampleType":"examples"}},"exampleType":"examples"},"4f783b43-f1e4-44a4-894b-01edf64b15cf":{"description":"The `fileId` doesn't exist on your account, or it's more than 24 hours old or was deleted. Send the document again as a `url` or `file`.","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":"No file with that fileId. Files can be parsed again for 24 hours after upload."},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"No file with that fileId. Files can be parsed again for 24 hours after upload."}}},"exampleType":"examples"}},"exampleType":"examples"},"3ba040e4-f0b3-4333-aba0-87b8dfcd006d":{"description":"The `fileId` comes from a prepared upload whose bytes haven't been sent yet, or the file was replaced after it was counted. `PUT` the file to the `uploadUrl` first, or parse it again.","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":{"not_uploaded":{"title":"not_uploaded","value":{"status":"error","message":"The file hasn't been uploaded yet. PUT it to the uploadUrl first."}},"changed":{"title":"changed","value":{"status":"error","message":"The file changed after it was checked. Parse it again."}}},"exampleType":"examples"}},"exampleType":"examples"},"a20f437e-25c0-47ad-8ae9-ea2572b37fcf":{"description":"The upload or the linked document is over 50 MB. Use [Prepare a large upload](/api-reference/parse/parse-uploads) for files up to 500 MB.","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":{"upload":{"title":"upload","value":{"status":"error","message":"The file is larger than 50 MB. Use POST /api/parse/uploads for files up to 500 MB."}},"link":{"title":"link","value":{"status":"error","message":"The document is larger than 50 MB."}}},"exampleType":"examples"}},"exampleType":"examples"},"5d157abb-3c04-4680-8462-667ec7c4a55d":{"description":"The file isn't a supported document type. The format is worked out from the file's content first and its name second.","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":"This file type isn't supported. Supported: pdf, docx, doc, xlsx, pptx, ppt, odt, ods, odp, rtf, epub, csv, html, htm."},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"This file type isn't supported. Supported: pdf, docx, doc, xlsx, pptx, ppt, odt, ods, odp, rtf, epub, csv, html, htm."}}},"exampleType":"examples"}},"exampleType":"examples"},"6f12d23d-5fd2-4945-a219-46689bd05b3d":{"description":"The request can't be parsed as sent. `message` says what to fix. This covers:\n\n- no source, or more than one;\n- an option with a wrong value (`mode`, `pages`, `maxPages`, `prompt`, `schema`, or `options` that isn't valid JSON);\n- page ranges that don't exist in the PDF, or more than 2,000 pages to parse;\n- a link that's private, unreachable, empty, or answers with an HTTP error;\n- a document that can't be opened at all. These also carry a `code`: `encrypted`, `malformed`, `empty` or `unsupported`.\n","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":{"no_source":{"title":"no_source","value":{"status":"error","message":"Send exactly one of \"file\", \"url\" or \"fileId\"."}},"bad_mode":{"title":"bad_mode","value":{"status":"error","message":"\"mode\" must be \"auto\", \"fast\" or \"ocr\"."}},"no_pages":{"title":"no_pages","value":{"status":"error","message":"This PDF has 15 pages; none of the requested pages exist."}},"too_many_pages":{"title":"too_many_pages","value":{"status":"error","message":"This document has 2,400 pages. Parse up to 2,000 at a time with \"pages\" or \"maxPages\"."}},"link_error":{"title":"link_error","value":{"status":"error","message":"The link returned HTTP 404."}},"private_url":{"title":"private_url","value":{"status":"error","message":"Private and internal URLs are not allowed."}}},"exampleType":"examples"}},"exampleType":"examples"},"2fb5964d-58d6-45b8-82a1-0e1d768bbeca":{"description":"More than 60 parse requests in a minute. Wait, then send the request again.","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":"Too many parse requests. Please slow down and try again shortly."},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Too many parse requests. Please slow down and try again shortly."}}},"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":"Parse - Spidra","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T09:08:38.374Z","originalFileLocation":"api-reference/parse/parse.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=\"Turns one document into Markdown, and into JSON when you send a prompt or schema. Send exactly one source: a link in url, an upload in file (multipart), or the fileId of a document you\u0026#x27;ve already sent. PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, CSV and HTML files work. See List formats and the Parse guide. The request waits up to 20 seconds. If the document is done by then, you get the result with 200. If not, or if you send wait: false, you get 202 with a jobId to poll at Get a parse job. A document that can\u0026#x27;t be parsed answers 200 with status: \u0026quot;failed\u0026quot; and the reason in error. Uploads and links can be up to 50 MB. For bigger files, up to 500 MB, use Prepare a large upload. One request parses up to 2,000 pages; use pages or maxPages for longer PDFs. Every document is stored for 24 hours under its fileId, so you can parse it again with other options, then deleted. Credits: 1 per page parsed, plus AI credits for the tokens used when you send a prompt or schema. Formats without pages count one page per 3,000 characters of text. Pages that can\u0026#x27;t be read and failed documents cost nothing. dryRun: true tells you the cost for free. See How credits work. Rate limits: 60 parse requests a minute, shared with POST /parse/batch and POST /parse/uploads.\">\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=\"Parse - Spidra\">\u003cmeta data-mint-head property=\"og:description\" content=\"Turns one document into Markdown, and into JSON when you send a prompt or schema. Send exactly one source: a link in url, an upload in file (multipart), or the fileId of a document you\u0026#x27;ve already sent. PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, CSV and HTML files work. See List formats and the Parse guide. The request waits up to 20 seconds. If the document is done by then, you get the result with 200. If not, or if you send wait: false, you get 202 with a jobId to poll at Get a parse job. A document that can\u0026#x27;t be parsed answers 200 with status: \u0026quot;failed\u0026quot; and the reason in error. Uploads and links can be up to 50 MB. For bigger files, up to 500 MB, use Prepare a large upload. One request parses up to 2,000 pages; use pages or maxPages for longer PDFs. Every document is stored for 24 hours under its fileId, so you can parse it again with other options, then deleted. Credits: 1 per page parsed, plus AI credits for the tokens used when you send a prompt or schema. Formats without pages count one page per 3,000 characters of text. Pages that can\u0026#x27;t be read and failed documents cost nothing. dryRun: true tells you the cost for free. See How credits work. Rate limits: 60 parse requests a minute, shared with POST /parse/batch and POST /parse/uploads.\">\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\">\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=Parse\u0026amp;description=Turns+one+document+into+Markdown%2C+and+into+JSON+when+you+send+a+%60prompt%60+or+%60schema%60.+Send+exactly+one+source%3A+a+link+in+%60url%60%2C+an+upload+in+%60file%60+%28multipart%29%2C\u0026amp;theme=fd0fe7fea6781527f1876f07\u0026amp;signature=9ca57df43bb2e0a064de08a30036e51e6b3f6b650959d051746adabf24fbecbf\">\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=\"Parse - Spidra\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Turns one document into Markdown, and into JSON when you send a prompt or schema. Send exactly one source: a link in url, an upload in file (multipart), or the fileId of a document you\u0026#x27;ve already sent. PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, CSV and HTML files work. See List formats and the Parse guide. The request waits up to 20 seconds. If the document is done by then, you get the result with 200. If not, or if you send wait: false, you get 202 with a jobId to poll at Get a parse job. A document that can\u0026#x27;t be parsed answers 200 with status: \u0026quot;failed\u0026quot; and the reason in error. Uploads and links can be up to 50 MB. For bigger files, up to 500 MB, use Prepare a large upload. One request parses up to 2,000 pages; use pages or maxPages for longer PDFs. Every document is stored for 24 hours under its fileId, so you can parse it again with other options, then deleted. Credits: 1 per page parsed, plus AI credits for the tokens used when you send a prompt or schema. Formats without pages count one page per 3,000 characters of text. Pages that can\u0026#x27;t be read and failed documents cost nothing. dryRun: true tells you the cost for free. See How credits work. Rate limits: 60 parse requests a minute, shared with POST /parse/batch and POST /parse/uploads.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spidra.mintlify.site/_mintlify/api/og/v2?division=Parse\u0026amp;title=Parse\u0026amp;description=Turns+one+document+into+Markdown%2C+and+into+JSON+when+you+send+a+%60prompt%60+or+%60schema%60.+Send+exactly+one+source%3A+a+link+in+%60url%60%2C+an+upload+in+%60file%60+%28multipart%29%2C\u0026amp;theme=fd0fe7fea6781527f1876f07\u0026amp;signature=9ca57df43bb2e0a064de08a30036e51e6b3f6b650959d051746adabf24fbecbf\">\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\">\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.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#webpage\",\"url\":\"https://docs.spidra.io/api-reference/parse/parse\",\"name\":\"Parse\",\"description\":\"Turns one document into Markdown, and into JSON when you send a prompt or schema. Send exactly one source: a link in url, an upload in file (multipart), or the fileId of a document you've already sent. PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, CSV and HTML files work. See List formats and the Parse guide. The request waits up to 20 seconds. If the document is done by then, you get the result with 200. If not, or if you send wait: false, you get 202 with a jobId to poll at Get a parse job. A document that can't be parsed answers 200 with status: \\\"failed\\\" and the reason in error. Uploads and links can be up to 50 MB. For bigger files, up to 500 MB, use Prepare a large upload. One request parses up to 2,000 pages; use pages or maxPages for longer PDFs. Every document is stored for 24 hours under its fileId, so you can parse it again with other options, then deleted. Credits: 1 per page parsed, plus AI credits for the tokens used when you send a prompt or schema. Formats without pages count one page per 3,000 characters of text. Pages that can't be read and failed documents cost nothing. dryRun: true tells you the cost for free. See How credits work. Rate limits: 60 parse requests a minute, shared with POST /parse/batch and POST /parse/uploads.\",\"dateModified\":\"2026-10-25T09:08:38.374Z\",\"isPartOf\":{\"@id\":\"https://docs.spidra.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.spidra.io/api-reference/parse/parse#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.spidra.io/api-reference/parse/parse#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Spidra\",\"item\":\"https://docs.spidra.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Parse\",\"item\":\"https://docs.spidra.io/api-reference/parse/parse\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.spidra.io/api-reference/parse/parse#apireference\",\"headline\":\"Parse\",\"name\":\"Parse\",\"description\":\"Turns one document into Markdown, and into JSON when you send a prompt or schema. Send exactly one source: a link in url, an upload in file (multipart), or the fileId of a document you've already sent. PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, CSV and HTML files work. See List formats and the Parse guide. The request waits up to 20 seconds. If the document is done by then, you get the result with 200. If not, or if you send wait: false, you get 202 with a jobId to poll at Get a parse job. A document that can't be parsed answers 200 with status: \\\"failed\\\" and the reason in error. Uploads and links can be up to 50 MB. For bigger files, up to 500 MB, use Prepare a large upload. One request parses up to 2,000 pages; use pages or maxPages for longer PDFs. Every document is stored for 24 hours under its fileId, so you can parse it again with other options, then deleted. Credits: 1 per page parsed, plus AI credits for the tokens used when you send a prompt or schema. Formats without pages count one page per 3,000 characters of text. Pages that can't be read and failed documents cost nothing. dryRun: true tells you the cost for free. See How credits work. Rate limits: 60 parse requests a minute, shared with POST /parse/batch and POST /parse/uploads.\",\"url\":\"https://docs.spidra.io/api-reference/parse/parse\",\"mainEntityOfPage\":{\"@id\":\"https://docs.spidra.io/api-reference/parse/parse#webpage\"},\"dateModified\":\"2026-10-25T09:08:38.374Z\",\"keywords\":\"POST /parse, parse API, PDF to Markdown API\",\"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}","description":"Cancels a search. A search that hasn't started is removed straight away and its held credits are returned.\n\nA running search can't be stopped instantly. It stops at its next checkpoint and then reports `status: \"failed\"` with `error: \"Search cancelled\"`, and the response's `message` says so. If it had already finished searching, it completes normally and is charged. Check [Get a search](/api-reference/search/search-status) for the final state.\n\nMost searches finish in seconds, so this matters mostly for searches with `scrapeOptions`.\n","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}","description":"Returns a parse job's status and, once it has finished, its Markdown, its extracted `json` and its warnings. Use it for jobs that [Parse](/api-reference/parse/parse) answered with `202`, or for any document in a [batch](/api-reference/parse/parse-batch). Poll every 2 to 5 seconds until `status` is `completed` or `failed`. Polling is free and has no rate limit.\n\nWhile the job runs, `progress` says how many pages have been read. Add `?pages=true` to get each page's Markdown on its own in `pages`.\n\nA failed job answers `200` with `status: \"failed\"` and the reason in `error`. You aren't charged for it.\n","href":"/api-reference/parse/parse-status"},{"title":"Parse a batch","openapi":"POST /parse/batch","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","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":"Parse - 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"]}