Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
input
stringstring[]UploadResponse · object
required
The URL of the document to be classified. You can provide one of the following:
A publicly available URL
A presigned S3 URL
A reducto:// prefixed URL obtained from the /upload endpoint after directly uploading a document
model
enum<string>
default:default
The classification model to use. Set to "accurate" to run Deep Classify for higher accuracy on hard documents. Defaults to "default".
Available options:
default,
accurate
priority
boolean
default:true
Workers poll the priority queue ahead of the standard queue, so priority jobs start sooner when there is queued work; sync jobs are prioritized above async jobs by default.
async
AsyncConfig · object
The configuration options for asynchronous processing. Used by /classify_async.
Show child attributes
force_url_result
boolean
default:false
Force the endpoint result to be returned in URL form.
classification_schema
ClassificationCategory · object[]
A list of classification categories and their matching criteria.
Show child attributes
category_groups
Category Groups · object
A mapping of higher-level classify groups to the category labels that belong to each group. When provided, the response includes extra_metadata.grouping with the matched group name, or ungrouped if the selected category is not in any group.
Show child attributes
page_range
PageRange · objectPageRange · object[]integer[]
The page range to process (1-indexed). By default, the first 5 pages are used. At most 10 pages can be selected. Only applies to PDFs; ignored for other document types.
Show child attributes
document_metadata
string | null
Optional document-level metadata to include in classification prompts.
Response
Successful Response
job_id
string
required
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Reducto","colors":{"primary":"#5c0c5c","light":"#c77dba","dark":"#5c0c5c"},"logo":{"light":"https://cdn.reducto.ai/logo.svg","dark":"https://cdn.reducto.ai/logo-dark.svg"},"favicon":"https://mintcdn.com/reducto/7owl8-bq0hdh9XB8/favicon.ico?fit=max\u0026auto=format\u0026n=7owl8-bq0hdh9XB8\u0026q=85\u0026s=90372b27ca6d42c4f6192cbba673afb5","api":{"examples":{"languages":["python","javascript","go"]}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"https://reducto.ai/?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_product_bridge\u0026utm_content=navbar_product","label":"Product"},{"href":"https://reducto.ai/blog","label":"Blog"}],"primary":{"type":"button","label":"Log In","href":"https://studio.reducto.ai/"}},"footer":{"socials":{"x":"https://x.com/reductoai","linkedin":"https://www.linkedin.com/company/reducto-ai"},"links":[{"header":"Product","items":[{"label":"Homepage","href":"https://reducto.ai/"},{"label":"Pricing","href":"https://reducto.ai/pricing"},{"label":"Playground","href":"https://studio.reducto.ai/"}]},{"header":"Company","items":[{"label":"Careers","href":"https://reducto.ai/careers"},{"label":"Blog","href":"https://reducto.ai/blog"},{"label":"Support","href":"mailto:support@Reducto.ai"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://reducto.ai/privacy"},{"label":"Terms of Service","href":"https://reducto.ai/terms"}]}]},"fonts":{"heading":{"family":"Reducto Sans Bold","source":"https://cdn.reducto.ai/fonts/ReductoSansBold.woff2","format":"woff2"},"body":{"family":"Reducto Sans","source":"https://cdn.reducto.ai/fonts/ReductoSans.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Status","icon":"signal","href":"https://status.reducto.ai"},{"anchor":"Studio","icon":"browser","href":"https://studio.reducto.ai"},{"anchor":"Support","icon":"envelope","href":"mailto:support@reducto.ai"},{"anchor":"Model Versions","icon":"bell","href":"/reference/model-versions"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"/reference/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"reducto","hasAudioNarration":false,"actualSubdomain":"reducto","customDomains":["docs.reducto.ai"],"gitSource":{"type":"github","owner":"reductoai","repo":"api","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"issues":false,"edits":false,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af8eb188deffcac16fd5506","clientVersion":"0.0.4160","searchFilterCounts":[{"language":"default","tag":"Documentation","count":92},{"language":"default","tag":"API Reference","count":36},{"language":"default","tag":"SDKs","count":30},{"language":"default","tag":"Document Processing","count":24},{"language":"default","tag":"Configurations","count":18},{"language":"default","tag":"On-premise Resources","count":18},{"language":"default","tag":"Core Methods","count":18},{"language":"default","tag":"Core Functions","count":15},{"language":"default","tag":"Security and privacy","count":14},{"language":"default","tag":"Utilities","count":10}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@reducto.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/classify-async","slug":"/api-reference/classify-async","pageMetadata":{"public":true,"openapi":"openapi.json post /classify_async","title":"Classify Async","description":"Async classify endpoint.\n\nPersists a pollable job row, then runs the same classify CPU-worker pipeline\nwithout awaiting the result. Clients poll ``GET /job/{job_id}``.","href":"/api-reference/classify-async"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Async classify endpoint.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Persists a pollable job row, then runs the same classify CPU-worker pipeline\\nwithout awaiting the result. Clients poll \", _jsx(_components.code, {\n children: \"GET /job/{job_id}\"\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":{"public":true,"openapi":"openapi.json post /classify_async","title":"Classify Async","description":"Async classify endpoint.\n\nPersists a pollable job row, then runs the same classify CPU-worker pipeline\nwithout awaiting the result. Clients poll ``GET /job/{job_id}``.","href":"/api-reference/classify-async"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Classify Async","description":"Async classify endpoint.\n\nPersists a pollable job row, then runs the same classify CPU-worker pipeline\nwithout awaiting the result. Clients poll ``GET /job/{job_id}``.","operationId":"classify_async_classify_async_post","requestBody":"beec0903-ab0f-4cfa-bf2f-60de128af15f","responses":{"200":"ff9c73ab-e9e5-45d1-8683-a3327b8a5f96","422":"5b6702e3-20ea-43fc-9606-a969866f3258"},"security":["d836b801-35bb-4b44-a063-467520d15729"],"method":"post","type":"path","servers":["c54bc755-b143-4d6e-aca7-48b3280ce506"],"path":"/classify_async","baseUrlOptions":["https://platform.reducto.ai"],"title":"Classify Async","codeSamples":[],"requestExampleLanguages":["python","javascript","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"input":{"oneOf":[{"type":"string","title":"Input","description":"The URL of the document to be classified. You can provide one of the following:\n1. A publicly available URL\n2. A presigned S3 URL\n3. A reducto:// prefixed URL obtained from the /upload endpoint after directly uploading a document","isRequired":true,"uniqueKey":"input.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX]","typeLabel":"string"},"title":"Input","description":"The URL of the document to be classified. You can provide one of the following:\n1. A publicly available URL\n2. A presigned S3 URL\n3. A reducto:// prefixed URL obtained from the /upload endpoint after directly uploading a document","isRequired":true,"uniqueKey":"input.oneOf.1","typeLabel":"string[]"},{"type":"object","title":"UploadResponse","description":"The URL of the document to be classified. You can provide one of the following:\n1. A publicly available URL\n2. A presigned S3 URL\n3. A reducto:// prefixed URL obtained from the /upload endpoint after directly uploading a document","required":["file_id"],"properties":{"file_id":{"type":"string","title":"File Id","isRequired":true,"uniqueKey":"input.oneOf.2.file_id","typeLabel":"string"},"presigned_url":{"oneOf":[{"type":"string","title":"Presigned Url","uniqueKey":"input.oneOf.2.presigned_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Presigned Url","uniqueKey":"input.oneOf.2.presigned_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.2.presigned_url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"input.oneOf.2","typeLabel":"UploadResponse · object"}],"isRequired":true,"uniqueKey":"input","typeLabel":"string | string[] | UploadResponse · object"},"model":{"type":"string","enum":["default","accurate"],"title":"Model","description":"The classification model to use. Set to \"accurate\" to run Deep Classify for higher accuracy on hard documents. Defaults to \"default\".","default":"default","uniqueKey":"model","typeLabel":"enum\u003cstring>"},"priority":{"type":"boolean","title":"Priority","description":"Workers poll the priority queue ahead of the standard queue, so priority jobs start sooner when there is queued work; sync jobs are prioritized above async jobs by default.","default":true,"uniqueKey":"priority","typeLabel":"boolean"},"async":{"properties":{"metadata":{"title":"Metadata","description":"JSON metadata included in webhook request body. Defaults to None.","uniqueKey":"async.metadata","typeLabel":"any"},"priority":{"type":"boolean","title":"Priority","description":"Workers poll the priority queue ahead of the standard queue, so priority jobs start sooner when there is queued work; sync jobs are prioritized above async jobs by default.","default":false,"uniqueKey":"async.priority","typeLabel":"boolean"},"webhook":{"oneOf":[{"type":"object","title":"SvixWebhookConfig","description":"The webhook configuration for the asynchronous processing.","properties":{"mode":{"type":"string","const":"svix","title":"Mode","default":"svix","uniqueKey":"async.webhook.oneOf.0.mode","typeLabel":"string"},"channels":{"items":{"type":"string","uniqueKey":"async.webhook.oneOf.0.channels.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Channels","description":"A list of Svix channels the message will be delivered down, omit to send to all channels.","uniqueKey":"async.webhook.oneOf.0.channels","typeLabel":"string[]"}},"uniqueKey":"async.webhook.oneOf.0","typeLabel":"SvixWebhookConfig · object"},{"type":"object","title":"DirectWebhookConfig","description":"The webhook configuration for the asynchronous processing.","required":["url"],"properties":{"url":{"type":"string","title":"Url","isRequired":true,"uniqueKey":"async.webhook.oneOf.1.url","typeLabel":"string"},"mode":{"type":"string","const":"direct","title":"Mode","default":"direct","uniqueKey":"async.webhook.oneOf.1.mode","typeLabel":"string"}},"uniqueKey":"async.webhook.oneOf.1","typeLabel":"DirectWebhookConfig · object"},{"type":"null","title":"Webhook","description":"The webhook configuration for the asynchronous processing.","uniqueKey":"async.webhook.oneOf.2","typeLabel":"null"}],"uniqueKey":"async.webhook","typeLabel":"SvixWebhookConfig · object | DirectWebhookConfig · object | null"}},"type":"object","title":"AsyncConfig","description":"The configuration options for asynchronous processing. Used by /classify_async.","default":{"priority":false},"uniqueKey":"async","typeLabel":"AsyncConfig · object"},"force_url_result":{"type":"boolean","title":"Force Url Result","description":"Force the endpoint result to be returned in URL form.","default":false,"uniqueKey":"force_url_result","typeLabel":"boolean"},"classification_schema":{"items":{"properties":{"category":{"type":"string","title":"Category","description":"The category name/label that documents will be classified into (e.g., 'invoice', 'contract', 'receipt').","isRequired":true,"uniqueKey":"classification_schema.items.[INDEX].category","typeLabel":"string"},"criteria":{"items":{"type":"string","uniqueKey":"classification_schema.items.[INDEX].criteria.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Criteria","description":"A list of criteria, keywords, or descriptions that define what characteristics a document must have to be classified into this category (e.g., ['contains billing information', 'has itemized charges']).","isRequired":true,"uniqueKey":"classification_schema.items.[INDEX].criteria","typeLabel":"string[]"}},"type":"object","required":["category","criteria"],"title":"ClassificationCategory","description":"A single classification category with its matching criteria.","uniqueKey":"classification_schema.items.[INDEX]","typeLabel":"ClassificationCategory · object"},"type":"array","title":"Classification Schema","description":"A list of classification categories and their matching criteria.","default":[],"uniqueKey":"classification_schema","typeLabel":"ClassificationCategory · object[]"},"category_groups":{"additionalProperties":{"items":{"type":"string","uniqueKey":"category_groups.additionalProperties.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"category_groups.additionalProperties","typeLabel":"string[]"},"type":"object","title":"Category Groups","description":"A mapping of higher-level classify groups to the category labels that belong to each group. When provided, the response includes `extra_metadata.grouping` with the matched group name, or `ungrouped` if the selected category is not in any group.","uniqueKey":"category_groups","typeLabel":"Category Groups · object"},"page_range":{"oneOf":[{"type":"object","title":"PageRange","description":"The page range to process (1-indexed). By default, the first 5 pages are used. At most 10 pages can be selected. Only applies to PDFs; ignored for other document types.","properties":{"start":{"oneOf":[{"type":"integer","title":"Start","description":"The page number to start processing from (1-indexed).","uniqueKey":"page_range.oneOf.0.start.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Start","description":"The page number to start processing from (1-indexed).","uniqueKey":"page_range.oneOf.0.start.oneOf.1","typeLabel":"null"}],"uniqueKey":"page_range.oneOf.0.start","typeLabel":"integer | null"},"end":{"oneOf":[{"type":"integer","title":"End","description":"The page number to stop processing at (1-indexed).","uniqueKey":"page_range.oneOf.0.end.oneOf.0","typeLabel":"integer"},{"type":"null","title":"End","description":"The page number to stop processing at (1-indexed).","uniqueKey":"page_range.oneOf.0.end.oneOf.1","typeLabel":"null"}],"uniqueKey":"page_range.oneOf.0.end","typeLabel":"integer | null"}},"uniqueKey":"page_range.oneOf.0","typeLabel":"PageRange · object"},{"type":"array","items":{"properties":{"start":{"oneOf":[{"type":"integer","title":"Start","description":"The page number to start processing from (1-indexed).","uniqueKey":"page_range.oneOf.1.items.[INDEX].start.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Start","description":"The page number to start processing from (1-indexed).","uniqueKey":"page_range.oneOf.1.items.[INDEX].start.oneOf.1","typeLabel":"null"}],"uniqueKey":"page_range.oneOf.1.items.[INDEX].start","typeLabel":"integer | null"},"end":{"oneOf":[{"type":"integer","title":"End","description":"The page number to stop processing at (1-indexed).","uniqueKey":"page_range.oneOf.1.items.[INDEX].end.oneOf.0","typeLabel":"integer"},{"type":"null","title":"End","description":"The page number to stop processing at (1-indexed).","uniqueKey":"page_range.oneOf.1.items.[INDEX].end.oneOf.1","typeLabel":"null"}],"uniqueKey":"page_range.oneOf.1.items.[INDEX].end","typeLabel":"integer | null"}},"type":"object","title":"PageRange","uniqueKey":"page_range.oneOf.1.items.[INDEX]","typeLabel":"PageRange · object"},"title":"Page Range","description":"The page range to process (1-indexed). By default, the first 5 pages are used. At most 10 pages can be selected. Only applies to PDFs; ignored for other document types.","uniqueKey":"page_range.oneOf.1","typeLabel":"PageRange · object[]"},{"type":"array","items":{"type":"integer","uniqueKey":"page_range.oneOf.2.items.[INDEX]","typeLabel":"integer"},"title":"Page Range","description":"The page range to process (1-indexed). By default, the first 5 pages are used. At most 10 pages can be selected. Only applies to PDFs; ignored for other document types.","uniqueKey":"page_range.oneOf.2","typeLabel":"integer[]"},{"type":"null","title":"Page Range","description":"The page range to process (1-indexed). By default, the first 5 pages are used. At most 10 pages can be selected. Only applies to PDFs; ignored for other document types.","uniqueKey":"page_range.oneOf.3","typeLabel":"null"}],"uniqueKey":"page_range","typeLabel":"PageRange · object | PageRange · object[] | integer[] | null"},"document_metadata":{"oneOf":[{"type":"string","title":"Document Metadata","description":"Optional document-level metadata to include in classification prompts.","uniqueKey":"document_metadata.oneOf.0","typeLabel":"string"},{"type":"null","title":"Document Metadata","description":"Optional document-level metadata to include in classification prompts.","uniqueKey":"document_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"document_metadata","typeLabel":"string | null"}},"type":"object","required":["input"],"title":"ClassifyConfig","uniqueKey":"","typeLabel":"ClassifyConfig · object"},"examples":{"Example":{"title":"Example","value":{"input":"\u003cstring>","model":"default","priority":true,"async":{"priority":false},"force_url_result":false,"classification_schema":[],"category_groups":{},"page_range":{"start":123,"end":123},"document_metadata":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"ff9c73ab-e9e5-45d1-8683-a3327b8a5f96":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"job_id":{"type":"string","title":"Job Id","isRequired":true,"uniqueKey":"job_id","typeLabel":"string"}},"type":"object","required":["job_id"],"title":"AsyncClassifyResponse","uniqueKey":"","typeLabel":"AsyncClassifyResponse · object"},"examples":{"Example":{"title":"Example","value":{"job_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"5b6702e3-20ea-43fc-9606-a969866f3258":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d836b801-35bb-4b44-a063-467520d15729":{"SkippableHTTPBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"SkippableHTTPBearer"}}},"servers":{"c54bc755-b143-4d6e-aca7-48b3280ce506":{"url":"https://platform.reducto.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"SkippableHTTPBearer"},"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":"SkippableHTTPBearer","name":"Authorization"}],"title":"SkippableHTTPBearer"}]},"originalFileLocation":"openapi.json"},"subdomain":"reducto","siteName":"Reducto","title":"Classify Async - Reducto","navMaps":{"firstHrefInVersion":{"Current":{"href":"/api-reference/classify-async","matchLevel":0},"Legacy API":{"href":"/api-reference/legacy/parse","matchLevel":2},"Python":{"href":"/sdk/python/overview","matchLevel":4},"JavaScript":{"href":"/sdk/javascript/overview","matchLevel":4},"Go":{"href":"/sdk/go/overview","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-09-18T17:20:11.322Z","originalFileLocation":"api-reference/classify-async.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=\"light\"}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=\"Async classify endpoint. Persists a pollable job row, then runs the same classify CPU-worker pipeline without awaiting the result. Clients poll GET /job/{job_id}.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Reducto\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/reducto/riSUMTseceMg4CLB/_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/reducto/riSUMTseceMg4CLB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/reducto/riSUMTseceMg4CLB/_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/reducto/riSUMTseceMg4CLB/_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/reducto/riSUMTseceMg4CLB/_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/reducto/riSUMTseceMg4CLB/_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/reducto/riSUMTseceMg4CLB/_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/reducto/riSUMTseceMg4CLB/_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/reducto/riSUMTseceMg4CLB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Classify Async - Reducto\">\u003cmeta data-mint-head property=\"og:description\" content=\"Async classify endpoint. Persists a pollable job row, then runs the same classify CPU-worker pipeline without awaiting the result. Clients poll GET /job/{job_id}.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Reducto\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.reducto.ai/api-reference/classify-async\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://reducto.mintlify.site/_mintlify/api/og/v2?division=Document+Processing\u0026amp;title=Classify+Async\u0026amp;description=Async+classify+endpoint.%0A%0APersists+a+pollable+job+row%2C+then+runs+the+same+classify+CPU-worker+pipeline%0Awithout+awaiting+the+result.+Clients+poll+%60%60GET+%2Fjob%2F%7Bjob\u0026amp;theme=8265b8622ae183e65f8e9b16\u0026amp;signature=72ef93be22d0d2268ca19f2ce1aad94750da68281986ce913ce01a990cbf5e71\">\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=\"Classify Async - Reducto\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Async classify endpoint. Persists a pollable job row, then runs the same classify CPU-worker pipeline without awaiting the result. Clients poll GET /job/{job_id}.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://reducto.mintlify.site/_mintlify/api/og/v2?division=Document+Processing\u0026amp;title=Classify+Async\u0026amp;description=Async+classify+endpoint.%0A%0APersists+a+pollable+job+row%2C+then+runs+the+same+classify+CPU-worker+pipeline%0Awithout+awaiting+the+result.+Clients+poll+%60%60GET+%2Fjob%2F%7Bjob\u0026amp;theme=8265b8622ae183e65f8e9b16\u0026amp;signature=72ef93be22d0d2268ca19f2ce1aad94750da68281986ce913ce01a990cbf5e71\">\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/reducto/riSUMTseceMg4CLB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Reducto\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5c0c5c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.reducto.ai/api-reference/classify-async\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/classify-async.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.reducto.ai/#organization\",\"name\":\"Reducto\",\"url\":\"https://docs.reducto.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://cdn.reducto.ai/logo.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.reducto.ai#website\",\"name\":\"Reducto\",\"url\":\"https://docs.reducto.ai\",\"publisher\":{\"@id\":\"https://docs.reducto.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.reducto.ai/api-reference/classify-async#webpage\",\"url\":\"https://docs.reducto.ai/api-reference/classify-async\",\"name\":\"Classify Async\",\"description\":\"Async classify endpoint. Persists a pollable job row, then runs the same classify CPU-worker pipeline without awaiting the result. Clients poll GET /job/{job_id}.\",\"dateModified\":\"2026-09-18T17:20:11.322Z\",\"isPartOf\":{\"@id\":\"https://docs.reducto.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.reducto.ai/api-reference/classify-async#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.reducto.ai/api-reference/classify-async#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Document Processing\",\"item\":\"https://docs.reducto.ai/api-reference/parse\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Classify Async\",\"item\":\"https://docs.reducto.ai/api-reference/classify-async\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.reducto.ai/api-reference/classify-async#apireference\",\"headline\":\"Classify Async\",\"name\":\"Classify Async\",\"description\":\"Async classify endpoint. Persists a pollable job row, then runs the same classify CPU-worker pipeline without awaiting the result. Clients poll GET /job/{job_id}.\",\"url\":\"https://docs.reducto.ai/api-reference/classify-async\",\"mainEntityOfPage\":{\"@id\":\"https://docs.reducto.ai/api-reference/classify-async#webpage\"},\"dateModified\":\"2026-09-18T17:20:11.322Z\",\"publisher\":{\"@id\":\"https://docs.reducto.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.reducto.ai#website\"}}]}\u003c/script>","agentPointerHref":"/api-reference/classify-async.md","siteName":"Reducto","nav":{"global":{"anchors":[{"anchor":"Status","icon":"signal","href":"https://status.reducto.ai"},{"anchor":"Studio","icon":"browser","href":"https://studio.reducto.ai"},{"anchor":"Support","icon":"envelope","href":"mailto:support@reducto.ai"},{"anchor":"Model Versions","icon":"bell","href":"/reference/model-versions"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"/reference/changelog"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/overview"}]},{"tab":"API Reference","versions":[{"version":"Current","groups":[{"group":"Document Processing","pages":[{"openapi":"openapi.json post /parse","title":"Parse","href":"/api-reference/parse"},{"title":"Parse Async","openapi":"openapi.json post /parse_async","href":"/api-reference/async-parse"},{"openapi":"openapi.json post /upload","title":"Upload","href":"/api-reference/upload"},{"openapi":"openapi.json post /extract","title":"Extract","href":"/api-reference/extract"},{"openapi":"openapi.json post /extract_async","title":"Extract Async","href":"/api-reference/extract-async"},{"openapi":"openapi.json post /split","title":"Split","href":"/api-reference/split"},{"openapi":"openapi.json post /split_async","title":"Split Async","href":"/api-reference/split-async"},{"openapi":"openapi.json post /classify","title":"Classify","description":null,"href":"/api-reference/classify"},{"public":true,"openapi":"openapi.json post /classify_async","title":"Classify Async","href":"/api-reference/classify-async"},{"openapi":"openapi.json post /edit","title":"Edit","description":null,"href":"/api-reference/edit"},{"openapi":"openapi.json post /edit_async","title":"Edit Async","href":"/api-reference/edit-async"},{"openapi":"openapi.json post /pipeline","title":"Pipeline","href":"/api-reference/pipeline"},{"openapi":"openapi.json post /pipeline_async","title":"Pipeline Async","href":"/api-reference/pipeline-async"}]},{"group":"Job Management","pages":[{"title":"Retrieve Job","openapi":"openapi.json get /job/{job_id}","href":"/api-reference/retrieve-parse"},{"openapi":"openapi.json post /cancel/{job_id}","title":"Cancel Job","href":"/api-reference/cancel-job"},{"title":"Delete Job","openapi":"openapi.json delete /job/{job_id}","href":"/api-reference/delete-job"},{"openapi":"openapi.json get /jobs","title":"Get Jobs","href":"/api-reference/get-jobs"}]},{"group":"File Management","pages":[{"title":"Delete Upload","openapi":"openapi.json delete /upload/{file_id}","href":"/api-reference/delete-upload"}]},{"group":"Utilities","pages":[{"openapi":"openapi.json post /configure_webhook","title":"Webhook Portal","href":"/api-reference/webhook-portal"},{"openapi":"openapi.json get /version","title":"Get Version","href":"/api-reference/get-version"}]}]},{"version":"Legacy API","pages":[{"title":"Legacy API","href":"/api-reference/legacy/parse"}]}]},{"tab":"Cookbooks","pages":[{"title":"Cookbooks","href":"/cookbooks/overview"}]},{"tab":"SDKs","versions":[{"version":"Python","groups":[{"group":"Get Started","pages":[{"title":"Python SDK Overview","sidebarTitle":"Overview","href":"/sdk/python/overview"}]},{"group":"Core Methods","pages":[{"title":"Upload","sidebarTitle":"Upload","href":"/sdk/python/upload"},{"title":"Parse","sidebarTitle":"Parse","href":"/sdk/python/parse"},{"title":"Extract","sidebarTitle":"Extract","href":"/sdk/python/extract"},{"title":"Split","sidebarTitle":"Split","href":"/sdk/python/split"},{"title":"Edit","sidebarTitle":"Edit","href":"/sdk/python/edit"},{"title":"Pipeline","sidebarTitle":"Pipeline","href":"/sdk/python/pipeline"}]},{"group":"Async \u0026 Utilities","pages":[{"title":"Async Client","sidebarTitle":"Async Client","href":"/sdk/python/async"},{"title":"Job Management","sidebarTitle":"Job Management","href":"/sdk/python/job-management"},{"title":"Error Handling","sidebarTitle":"Error Handling","href":"/sdk/python/error-handling"}]}]},{"version":"JavaScript","pages":[{"title":"JavaScript","href":"/sdk/javascript/overview"}]},{"version":"Go","pages":[{"title":"Go","href":"/sdk/go/overview"}]}]},{"tab":"Studio","pages":[{"title":"Studio","href":"/studio-parse"}]}]},"basePath":"","title":"Classify Async - Reducto","buildId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","deploymentId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BFmjTMeT.js","utils-BWr-sjpP.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-LafIDf0N.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-MJNzuxek.js","snippetPresets-DPZEtUvW.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DQ2UhGIs.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DUUJTUkE.js","shallow-BTf5bw35.js","getApiPlaygroundDisplay-h2POYYOO.js","CodeSnippet-C4qEftRe.js","CodeSnippets-CsSrOqMC.js","Page-CWFqNdGh.js","getPastedJson-DU6W6y78.js","icon-2ZYNQ78y.js","MethodPill-BMXJzYMm.js","DuplicateIcon-DNjdEpYZ.js","createIcon-WdPVhKxl.js","DynamicMarkdown-Z_y464fM.js","SectionHeading-Bcrd8azU.js","axios-vUo_bRtp.js","Markdown-BnvucbFu.js","dist-D7YyC486.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-D1I8TPjt.js"]}