Full projection for the unified viewer: file metadata, processing status, transcription, extraction result and overrides, quality verdict.att_id is the attachment id from the list route. A missing or cross-tenant id is 404.
Authorizations
extractApiKeybearerAuthcookieAuth
Authorization
string
header
required
Extract API key (sk-abacus-*)
Path Parameters
att_id
integer
required
Response
Full projection of a ChatAttachment for the unified document view.
Extends the list item with the heavy content + extraction surface the
document viewer (tabs: Extracted / Markdown / Translation / Warnings)
needs in one round-trip. extraction_result + extraction_overrides
are returned independently so the client can render the LLM original, the
user override, or both side-by-side without a follow-up call, and
extraction_status carries the quality verdict on that extraction
(AD-520) so a sparse or mismatched result is not indistinguishable from
a clean one.
Current processing stage name, or the failure reason on a FAILED attachment
page_count
integer
required
read-only
Number of pages in the original document
has_schema
boolean
required
read-only
True when a schema (StructVersion) is pinned for extraction.
extraction_struct_version_id
integer | null
required
read-only
StructVersion that produced this attachment's extraction_result. NULL for non-batch attachments or pre-versioning records.
target_language
string
required
read-only
ISO language code for translation target (e.g. 'en', 'ar')
is_from_kb
boolean
required
read-only
Whether this attachment came from Knowledge Base
kb_file_id
integer | null
required
read-only
Original Knowledge Base file ID if from KB
lynx_document_id
string | null
required
read-only
Lynx document ID after processing (extraction + chunking + indexing)
document_summary
string | null
required
read-only
Cached document summary from Lynx processing
has_extraction
boolean
required
read-only
True when schema-guided extraction produced a result.
has_translation
boolean
required
read-only
True when at least one translated version exists.
has_warnings
boolean
required
read-only
True when Lynx emitted any processing warnings.
home_chat_id
integer
required
read-only
created_at
string<date-time>
required
read-only
completed_at
string<date-time> | null
required
read-only
When Lynx processing finished (set on COMPLETED/FAILED transitions).
markdown_content
string
required
read-only
translated_versions
object
required
read-only
Translated versions keyed by language, minus internal Lynx ids.
Show child attributes
extraction_result
any
required
extraction_status
string | null
required
read-only
Quality verdict on the extraction, independent of processing_status.
success / partial / schema_mismatch / ocr_failed, or
None when no extraction has run. AD-520: processing_status
answers "did the pipeline finish", this answers "is the extraction any
good" — a refused verdict is processing_status="failed" with every
field the engine DID recover still present in extraction_result,
and the human-readable reason on processing_stage. Same vocabulary
the batch grid publishes, so the two document surfaces describe one
document identically.
Reads the pinned StructVersion — the detail view
select_relateds it, so this costs no extra query.
extraction_message
string
required
read-only
Why extraction_status is not success, or "".
Derived when the document is read, from the same processing warnings the
status reads: a document whose pages all failed text recognition, or whose
schema the extraction service could not run, says so here even when
processing_stage holds an older message.
extraction_overrides
object
required
read-only
The raw per-field override map (empty dict when none).
Show child attributes
extraction_struct
object | null
required
read-only
The (slug, version, schema_url) triple for the producing StructVersion.
Returns None when the doc was processed without a schema (free
transcription) or the version reference was orphaned by hard delete.
Mirrors serializers.DocumentDetailSerializer.get_extraction_struct
so both document surfaces emit the same schema-navigation shape.
Show child attributes
processing_warnings
object[]
required
read-only
Per-page Lynx warnings; empty list when the doc processed cleanly.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Abacus Docs","colors":{"primary":"#040404"},"logo":{"light":"https://abacusdocs.com/static/abacus-black.png","dark":"https://abacusdocs.com/static/abacus-white.png","href":"https://abacusdocs.com"},"favicon":"https://abacusdocs.com/static/documents/images/abacus-white.png","api":{"openapi":"https://gist.githubusercontent.com/MoHayat/4b48b87f8182c8e0dc85741b402ce034/raw/abacus-docs-openapi.yml","playground":{"display":"interactive","proxy":true},"examples":{"languages":["curl","python","javascript"]}},"navbar":{"links":[{"href":"https://abacusdocs.com/contact","label":"Contact"}],"primary":{"type":"button","label":"Sign In","href":"https://abacusdocs.com/auth/login"}},"footer":{"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://abacusdocs.com/privacy"},{"label":"Terms of Service","href":"https://abacusdocs.com/terms"}]},{"header":"Support","items":[{"label":"Contact Us","href":"https://abacusdocs.com/contact"}]}]},"seo":{"metatags":{"canonical":"https://help.abacusdocs.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"abacus-docs","hasAudioNarration":false,"actualSubdomain":"abacus-docs","customDomains":["help.abacusdocs.com"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-abacus-docs-7e325004","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ad20b742c87cf377d1352b2","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"API Reference","count":75},{"language":"default","tag":"Documents","count":25},{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"Schemas","count":17},{"language":"default","tag":"Sharing","count":13},{"language":"default","tag":"Chat-id routes","count":12},{"language":"default","tag":"Batches","count":10},{"language":"default","tag":"Ingest","count":9},{"language":"default","tag":"Overview","count":4},{"language":"default","tag":"Notifications","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/documents/get-attachment","slug":"/api-reference/documents/get-attachment","pageMetadata":{"title":"Get a document","sidebarTitle":"Get a document","openapi":"GET /api/v2/documents/attachments/{att_id}/","description":"Full ChatAttachment projection for the unified viewer.","href":"/api-reference/documents/get-attachment"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Full ChatAttachment projection for the unified viewer.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Full projection for the unified viewer: file metadata, processing status, transcription, extraction result and overrides, quality verdict.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`att_id`}),` is the attachment id from the list route. A missing or cross-tenant id is `,_jsx(_components.strong,{children:`404`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get a document","sidebarTitle":"Get a document","openapi":"GET /api/v2/documents/attachments/{att_id}/","description":"Full ChatAttachment projection for the unified viewer.","href":"/api-reference/documents/get-attachment"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"v2_documents_attachments_retrieve","description":"Full ChatAttachment projection for the unified viewer.","summary":"Get a document (full projection)","parameters":["34be4a03-7461-4d8c-aa34-c4f6613f2b61"],"tags":["v2/documents"],"security":["e7078583-fa33-4ef0-a99a-8af5e6debb59","24d38270-3b5b-4a53-95f4-c41eab73fc0c","4fb57f0f-b17a-40e6-96f8-fd82bdf475e6"],"responses":{"200":"a720aef2-c81b-491a-b05b-af92681124e6","404":"259d36d2-9f63-49d9-aebc-b262eedc0e6f"},"method":"get","type":"path","servers":[],"path":"/api/v2/documents/attachments/{att_id}/","baseUrlOptions":[],"title":"Get a document (full projection)","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"34be4a03-7461-4d8c-aa34-c4f6613f2b61":{"in":"path","name":"att_id","schema":{"type":"integer","isRequired":true,"uniqueKey":"","typeLabel":"integer"},"required":true}},"responses":{"a720aef2-c81b-491a-b05b-af92681124e6":{"content":{"application/json":{"schema":{"type":"object","description":"Full projection of a ``ChatAttachment`` for the unified document view.\n\nExtends the list item with the heavy content + extraction surface the\ndocument viewer (tabs: Extracted / Markdown / Translation / Warnings)\nneeds in one round-trip. ``extraction_result`` + ``extraction_overrides``\nare returned independently so the client can render the LLM original, the\nuser override, or both side-by-side without a follow-up call, and\n``extraction_status`` carries the quality verdict on that extraction\n(AD-520) so a sparse or mismatched result is not indistinguishable from\na clean one.","properties":{"id":{"type":"integer","readOnly":true,"isRequired":true,"uniqueKey":"id","typeLabel":"integer"},"file_name":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"file_name","typeLabel":"string"},"file_type":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"file_type","typeLabel":"string"},"processing_status":{"type":"string","description":"Lynx processing pipeline status: pending → completed/failed\n\n* `pending` - Pending\n* `completed` - Completed\n* `failed` - Failed","enum":["pending","completed","failed"],"isRequired":true,"uniqueKey":"processing_status","typeLabel":"enum\u003cstring>"},"processing_progress":{"type":"integer","readOnly":true,"description":"Processing completion percentage 0-100","isRequired":true,"uniqueKey":"processing_progress","typeLabel":"integer"},"processing_stage":{"type":"string","readOnly":true,"description":"Current processing stage name, or the failure reason on a FAILED attachment","isRequired":true,"uniqueKey":"processing_stage","typeLabel":"string"},"page_count":{"type":"integer","readOnly":true,"description":"Number of pages in the original document","isRequired":true,"uniqueKey":"page_count","typeLabel":"integer"},"has_schema":{"type":"boolean","description":"True when a schema (StructVersion) is pinned for extraction.","readOnly":true,"isRequired":true,"uniqueKey":"has_schema","typeLabel":"boolean"},"extraction_struct_version_id":{"oneOf":[{"type":"integer","description":"StructVersion that produced this attachment's extraction_result. NULL for non-batch attachments or pre-versioning records.","readOnly":true,"isRequired":true,"uniqueKey":"extraction_struct_version_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"StructVersion that produced this attachment's extraction_result. NULL for non-batch attachments or pre-versioning records.","readOnly":true,"isRequired":true,"uniqueKey":"extraction_struct_version_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"extraction_struct_version_id","typeLabel":"integer | null"},"target_language":{"type":"string","readOnly":true,"description":"ISO language code for translation target (e.g. 'en', 'ar')","isRequired":true,"uniqueKey":"target_language","typeLabel":"string"},"is_from_kb":{"type":"boolean","readOnly":true,"description":"Whether this attachment came from Knowledge Base","isRequired":true,"uniqueKey":"is_from_kb","typeLabel":"boolean"},"kb_file_id":{"oneOf":[{"type":"integer","readOnly":true,"description":"Original Knowledge Base file ID if from KB","isRequired":true,"uniqueKey":"kb_file_id.oneOf.0","typeLabel":"integer"},{"type":"null","readOnly":true,"description":"Original Knowledge Base file ID if from KB","isRequired":true,"uniqueKey":"kb_file_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"kb_file_id","typeLabel":"integer | null"},"lynx_document_id":{"oneOf":[{"type":"string","readOnly":true,"description":"Lynx document ID after processing (extraction + chunking + indexing)","isRequired":true,"uniqueKey":"lynx_document_id.oneOf.0","typeLabel":"string"},{"type":"null","readOnly":true,"description":"Lynx document ID after processing (extraction + chunking + indexing)","isRequired":true,"uniqueKey":"lynx_document_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lynx_document_id","typeLabel":"string | null"},"document_summary":{"oneOf":[{"type":"string","readOnly":true,"description":"Cached document summary from Lynx processing","isRequired":true,"uniqueKey":"document_summary.oneOf.0","typeLabel":"string"},{"type":"null","readOnly":true,"description":"Cached document summary from Lynx processing","isRequired":true,"uniqueKey":"document_summary.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"document_summary","typeLabel":"string | null"},"has_extraction":{"type":"boolean","description":"True when schema-guided extraction produced a result.","readOnly":true,"isRequired":true,"uniqueKey":"has_extraction","typeLabel":"boolean"},"has_translation":{"type":"boolean","description":"True when at least one translated version exists.","readOnly":true,"isRequired":true,"uniqueKey":"has_translation","typeLabel":"boolean"},"has_warnings":{"type":"boolean","description":"True when Lynx emitted any processing warnings.","readOnly":true,"isRequired":true,"uniqueKey":"has_warnings","typeLabel":"boolean"},"home_chat_id":{"type":"integer","readOnly":true,"isRequired":true,"uniqueKey":"home_chat_id","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","readOnly":true,"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","readOnly":true,"description":"When Lynx processing finished (set on COMPLETED/FAILED transitions).","isRequired":true,"uniqueKey":"completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","readOnly":true,"description":"When Lynx processing finished (set on COMPLETED/FAILED transitions).","isRequired":true,"uniqueKey":"completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"completed_at","typeLabel":"string\u003cdate-time> | null"},"markdown_content":{"type":"string","readOnly":true,"isRequired":true,"uniqueKey":"markdown_content","typeLabel":"string"},"translated_versions":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"translated_versions.additionalProperties","typeLabel":"any"},"description":"Translated versions keyed by language, minus internal Lynx ids.","readOnly":true,"isRequired":true,"uniqueKey":"translated_versions","typeLabel":"object"},"extraction_result":{"oneOf":[{"readOnly":true,"isRequired":true}],"isRequired":true,"uniqueKey":"extraction_result","typeLabel":"any"},"extraction_status":{"oneOf":[{"type":"string","description":"Quality verdict on the extraction, independent of ``processing_status``.\n\n``success`` / ``partial`` / ``schema_mismatch`` / ``ocr_failed``, or\n``None`` when no extraction has run. AD-520: ``processing_status``\nanswers \"did the pipeline finish\", this answers \"is the extraction any\ngood\" — a refused verdict is ``processing_status=\"failed\"`` with every\nfield the engine DID recover still present in ``extraction_result``,\nand the human-readable reason on ``processing_stage``. Same vocabulary\nthe batch grid publishes, so the two document surfaces describe one\ndocument identically.\n\nReads the pinned ``StructVersion`` — the detail view\n``select_related``s it, so this costs no extra query.","readOnly":true,"isRequired":true,"uniqueKey":"extraction_status.oneOf.0","typeLabel":"string"},{"type":"null","description":"Quality verdict on the extraction, independent of ``processing_status``.\n\n``success`` / ``partial`` / ``schema_mismatch`` / ``ocr_failed``, or\n``None`` when no extraction has run. AD-520: ``processing_status``\nanswers \"did the pipeline finish\", this answers \"is the extraction any\ngood\" — a refused verdict is ``processing_status=\"failed\"`` with every\nfield the engine DID recover still present in ``extraction_result``,\nand the human-readable reason on ``processing_stage``. Same vocabulary\nthe batch grid publishes, so the two document surfaces describe one\ndocument identically.\n\nReads the pinned ``StructVersion`` — the detail view\n``select_related``s it, so this costs no extra query.","readOnly":true,"isRequired":true,"uniqueKey":"extraction_status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"extraction_status","typeLabel":"string | null"},"extraction_message":{"type":"string","description":"Why ``extraction_status`` is not ``success``, or ``\"\"``.\n\nDerived when the document is read, from the same processing warnings the\nstatus reads: a document whose pages all failed text recognition, or whose\nschema the extraction service could not run, says so here even when\n``processing_stage`` holds an older message.","readOnly":true,"isRequired":true,"uniqueKey":"extraction_message","typeLabel":"string"},"extraction_overrides":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"extraction_overrides.additionalProperties","typeLabel":"any"},"description":"The raw per-field override map (empty dict when none).","readOnly":true,"isRequired":true,"uniqueKey":"extraction_overrides","typeLabel":"object"},"extraction_struct":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"extraction_struct.oneOf.0.additionalProperties","typeLabel":"any"},"description":"The (slug, version, schema_url) triple for the producing StructVersion.\n\nReturns ``None`` when the doc was processed without a schema (free\ntranscription) or the version reference was orphaned by hard delete.\nMirrors ``serializers.DocumentDetailSerializer.get_extraction_struct``\nso both document surfaces emit the same schema-navigation shape.","readOnly":true,"isRequired":true,"uniqueKey":"extraction_struct.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{}],"uniqueKey":"extraction_struct.oneOf.1.additionalProperties","typeLabel":"any"},"description":"The (slug, version, schema_url) triple for the producing StructVersion.\n\nReturns ``None`` when the doc was processed without a schema (free\ntranscription) or the version reference was orphaned by hard delete.\nMirrors ``serializers.DocumentDetailSerializer.get_extraction_struct``\nso both document surfaces emit the same schema-navigation shape.","readOnly":true,"isRequired":true,"uniqueKey":"extraction_struct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"extraction_struct","typeLabel":"object | null"},"processing_warnings":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"processing_warnings.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"processing_warnings.items.[INDEX]","typeLabel":"object"},"description":"Per-page Lynx warnings; empty list when the doc processed cleanly.","readOnly":true,"isRequired":true,"uniqueKey":"processing_warnings","typeLabel":"object[]"},"lynx_chunk_count":{"type":"integer","readOnly":true,"isRequired":true,"uniqueKey":"lynx_chunk_count","typeLabel":"integer"}},"required":["completed_at","created_at","document_summary","extraction_message","extraction_overrides","extraction_result","extraction_status","extraction_struct","extraction_struct_version_id","file_name","file_type","has_extraction","has_schema","has_translation","has_warnings","home_chat_id","id","is_from_kb","kb_file_id","lynx_chunk_count","lynx_document_id","markdown_content","page_count","processing_progress","processing_stage","processing_status","processing_warnings","target_language","translated_versions"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":123,"file_name":"\u003cstring>","file_type":"\u003cstring>","processing_status":"pending","processing_progress":123,"processing_stage":"\u003cstring>","page_count":123,"has_schema":true,"extraction_struct_version_id":123,"target_language":"\u003cstring>","is_from_kb":true,"kb_file_id":123,"lynx_document_id":"\u003cstring>","document_summary":"\u003cstring>","has_extraction":true,"has_translation":true,"has_warnings":true,"home_chat_id":123,"created_at":"2023-11-07T05:31:56Z","completed_at":"2023-11-07T05:31:56Z","markdown_content":"\u003cstring>","translated_versions":{},"extraction_result":"\u003cunknown>","extraction_status":"\u003cstring>","extraction_message":"\u003cstring>","extraction_overrides":{},"extraction_struct":{},"processing_warnings":[{}],"lynx_chunk_count":123}}},"exampleType":"generated"}},"description":"","exampleType":"generated"},"259d36d2-9f63-49d9-aebc-b262eedc0e6f":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"description":"","exampleType":"generated"}},"security":{"e7078583-fa33-4ef0-a99a-8af5e6debb59":{"extractApiKey":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Extract API key (sk-abacus-*)","scopes":[],"schemeName":"extractApiKey"}},"24d38270-3b5b-4a53-95f4-c41eab73fc0c":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Enter your Auth0 JWT token","scopes":[],"schemeName":"bearerAuth"}},"4fb57f0f-b17a-40e6-96f8-fd82bdf475e6":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"sessionid","scopes":[],"schemeName":"cookieAuth"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Extract API key (sk-abacus-*)","scopes":[],"schemeName":"extractApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Extract API key (sk-abacus-*)","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"extractApiKey","name":"Authorization"}],"title":"extractApiKey"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Enter your Auth0 JWT token","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Enter your Auth0 JWT token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"cookie","name":"sessionid","scopes":[],"schemeName":"cookieAuth"},"schema":{"title":"sessionid","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"cookieAuth","name":"sessionid"}],"title":"cookieAuth"}]},"originalFileLocation":"https://gist.githubusercontent.com/MoHayat/4b48b87f8182c8e0dc85741b402ce034/raw/abacus-docs-openapi.yml"},"subdomain":"abacus-docs","siteName":"Abacus Docs","title":"Get a document - Abacus Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-20T18:35:32.129Z","originalFileLocation":"api-reference/documents/get-attachment.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=\"Full ChatAttachment projection for the unified viewer.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Abacus Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://abacusdocs.com/static/documents/images/abacus-white.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://abacusdocs.com/static/documents/images/abacus-white.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://abacusdocs.com/static/documents/images/abacus-white.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://abacusdocs.com/static/documents/images/abacus-white.png\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a document - Abacus Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Full ChatAttachment projection for the unified viewer.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Abacus Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.abacusdocs.com/api-reference/documents/get-attachment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://abacus-docs.mintlify.site/_mintlify/api/og/v2?division=Documents\u0026amp;title=Get+a+document\u0026amp;description=Full+ChatAttachment+projection+for+the+unified+viewer.\u0026amp;theme=9ad23ac21ef16a116c90afc7\u0026amp;signature=41ce80bf04afb7a7ccd99e010c9ae9033185fee864d44454e3e33fac896bc447\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get a document - Abacus Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Full ChatAttachment projection for the unified viewer.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://abacus-docs.mintlify.site/_mintlify/api/og/v2?division=Documents\u0026amp;title=Get+a+document\u0026amp;description=Full+ChatAttachment+projection+for+the+unified+viewer.\u0026amp;theme=9ad23ac21ef16a116c90afc7\u0026amp;signature=41ce80bf04afb7a7ccd99e010c9ae9033185fee864d44454e3e33fac896bc447\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/abacus-docs/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Abacus Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#040404\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.abacusdocs.com/api-reference/documents/get-attachment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/documents/get-attachment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.abacusdocs.com/#organization\",\"name\":\"Abacus Docs\",\"url\":\"https://help.abacusdocs.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://abacusdocs.com/static/abacus-black.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.abacusdocs.com#website\",\"name\":\"Abacus Docs\",\"url\":\"https://help.abacusdocs.com\",\"publisher\":{\"@id\":\"https://help.abacusdocs.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.abacusdocs.com/api-reference/documents/get-attachment#webpage\",\"url\":\"https://help.abacusdocs.com/api-reference/documents/get-attachment\",\"name\":\"Get a document\",\"description\":\"Full ChatAttachment projection for the unified viewer.\",\"dateModified\":\"2026-09-20T18:35:32.129Z\",\"isPartOf\":{\"@id\":\"https://help.abacusdocs.com#website\"},\"breadcrumb\":{\"@id\":\"https://help.abacusdocs.com/api-reference/documents/get-attachment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.abacusdocs.com/api-reference/documents/get-attachment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Documents\",\"item\":\"https://help.abacusdocs.com/api-reference/documents/list-attachments\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a document\",\"item\":\"https://help.abacusdocs.com/api-reference/documents/get-attachment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://help.abacusdocs.com/api-reference/documents/get-attachment#apireference\",\"headline\":\"Get a document\",\"name\":\"Get a document\",\"description\":\"Full ChatAttachment projection for the unified viewer.\",\"url\":\"https://help.abacusdocs.com/api-reference/documents/get-attachment\",\"mainEntityOfPage\":{\"@id\":\"https://help.abacusdocs.com/api-reference/documents/get-attachment#webpage\"},\"dateModified\":\"2026-09-20T18:35:32.129Z\",\"publisher\":{\"@id\":\"https://help.abacusdocs.com/#organization\"},\"isPartOf\":{\"@id\":\"https://help.abacusdocs.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Abacus Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Abacus Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/documents/get-attachment.md","siteName":"Abacus Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Abacus Docs API","sidebarTitle":"Overview","href":"/api-reference/overview"},{"title":"Abacus Docs API Authentication Guide and Key Management","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Abacus Docs API Error Codes, HTTP Statuses and Handling","sidebarTitle":"Errors","href":"/api-reference/errors"},{"title":"Get current user","sidebarTitle":"Get current user","openapi":"GET /api/v2/me/","href":"/api-reference/me"}]},{"group":"Documents","pages":[{"title":"List documents","sidebarTitle":"List documents","openapi":"GET /api/v2/documents/attachments/","description":"Canonical library list. Each row is a ChatAttachment.","href":"/api-reference/documents/list-attachments"},{"title":"Get a document","sidebarTitle":"Get a document","openapi":"GET /api/v2/documents/attachments/{att_id}/","href":"/api-reference/documents/get-attachment"},{"title":"Edit document metadata","sidebarTitle":"Rename","openapi":"PATCH /api/v2/documents/attachments/{att_id}/","description":"Patch document metadata such as the display name.","href":"/api-reference/documents/patch-attachment"},{"title":"Edit an extraction cell","sidebarTitle":"Edit a cell","openapi":"PATCH /api/v2/documents/attachments/{att_id}/extraction/cells/{field_id}/","href":"/api-reference/documents/edit-cell"},{"title":"Download the file","sidebarTitle":"File","openapi":"GET /api/v2/documents/attachments/{att_id}/file/","href":"/api-reference/documents/attachment-file"},{"title":"Rendered markdown","sidebarTitle":"Markdown","openapi":"GET /api/v2/documents/attachments/{att_id}/markdown/","href":"/api-reference/documents/attachment-markdown"},{"title":"Move to another batch","sidebarTitle":"Move batch","openapi":"POST /api/v2/documents/attachments/{att_id}/move-batch/","href":"/api-reference/documents/move-batch"},{"title":"Reprocess a document","sidebarTitle":"Reprocess","openapi":"POST /api/v2/documents/attachments/{att_id}/reprocess/","href":"/api-reference/documents/reprocess"},{"title":"Sections","sidebarTitle":"Sections","openapi":"GET /api/v2/documents/attachments/{att_id}/sections/","href":"/api-reference/documents/attachment-sections"},{"title":"Processing progress (SSE)","sidebarTitle":"Progress stream","openapi":"GET /api/v2/documents/attachments/{att_id}/stream/","href":"/api-reference/documents/attachment-stream"},{"group":"Chat-id routes","pages":[{"title":"List documents (chat id)","sidebarTitle":"List","openapi":"GET /api/v2/documents/","href":"/api-reference/documents/list-chats"},{"title":"Upload documents (chat id)","sidebarTitle":"Upload","openapi":"POST /api/v2/documents/","href":"/api-reference/documents/upload-chat"},{"title":"Get document (chat id)","sidebarTitle":"Get","openapi":"GET /api/v2/documents/{id}/","href":"/api-reference/documents/get-chat"},{"title":"Delete document (chat id)","sidebarTitle":"Delete","openapi":"DELETE /api/v2/documents/{id}/","href":"/api-reference/documents/delete-chat"},{"title":"Retry a chat-id document","sidebarTitle":"Retry","openapi":"POST /api/v2/documents/{id}/retry/","href":"/api-reference/documents/retry-chat"},{"title":"Chat-id file bytes","sidebarTitle":"File","openapi":"GET /api/v2/documents/{id}/file/","href":"/api-reference/documents/chat-file"},{"title":"Chat-id progress","sidebarTitle":"Progress","openapi":"GET /api/v2/documents/{id}/progress/","href":"/api-reference/documents/chat-progress"},{"title":"Chat-id sections","sidebarTitle":"Sections","openapi":"GET /api/v2/documents/{id}/sections/","href":"/api-reference/documents/chat-sections"},{"title":"Chat-id events","sidebarTitle":"Events","openapi":"POST /api/v2/documents/{id}/events/","href":"/api-reference/documents/chat-events"},{"title":"List document share links","sidebarTitle":"Share links","openapi":"GET /api/v2/documents/{id}/share-links/","href":"/api-reference/documents/list-share-links"},{"title":"Issue a document share link","sidebarTitle":"Issue share link","openapi":"POST /api/v2/documents/{id}/share-links/","href":"/api-reference/documents/create-share-link"},{"title":"Revoke a document share link","sidebarTitle":"Revoke share link","openapi":"DELETE /api/v2/documents/{id}/share-links/{link_id}/","href":"/api-reference/documents/revoke-share-link"}]}]},{"group":"Schemas","pages":[{"title":"List schemas","sidebarTitle":"List schemas","openapi":"GET /api/v2/structs/","href":"/api-reference/schemas/list"},{"title":"Create a schema","sidebarTitle":"Create","openapi":"POST /api/v2/structs/","href":"/api-reference/schemas/create"},{"title":"Publish a schema","sidebarTitle":"Publish","openapi":"POST /api/v2/structs/{slug}/publish/","href":"/api-reference/schemas/publish"},{"title":"Get a schema","sidebarTitle":"Get","openapi":"GET /api/v2/structs/{slug}/","href":"/api-reference/schemas/get"},{"title":"Update a schema draft","sidebarTitle":"Update draft","openapi":"PATCH /api/v2/structs/{slug}/","href":"/api-reference/schemas/update"},{"title":"List schema versions","sidebarTitle":"Versions","openapi":"GET /api/v2/structs/{slug}/versions/","href":"/api-reference/schemas/versions"},{"title":"Delete a schema","sidebarTitle":"Delete","openapi":"DELETE /api/v2/structs/{slug}/","href":"/api-reference/schemas/delete"},{"title":"Copy a schema","sidebarTitle":"Copy","openapi":"POST /api/v2/structs/{slug}/copy/","href":"/api-reference/schemas/copy"},{"title":"Diff a schema","sidebarTitle":"Diff","openapi":"GET /api/v2/structs/{slug}/diff/","href":"/api-reference/schemas/diff"},{"title":"Restore a schema version","sidebarTitle":"Restore","openapi":"POST /api/v2/structs/{slug}/restore/{version_number}/","href":"/api-reference/schemas/restore"},{"title":"Get a schema version","sidebarTitle":"Get version","openapi":"GET /api/v2/structs/{slug}/versions/{version_number}/","href":"/api-reference/schemas/get-version"},{"title":"Deprecate a schema version","sidebarTitle":"Deprecate","openapi":"POST /api/v2/structs/{slug}/versions/{version_number}/deprecate/","href":"/api-reference/schemas/deprecate"},{"title":"Undeprecate a schema version","sidebarTitle":"Undeprecate","openapi":"POST /api/v2/structs/{slug}/versions/{version_number}/undeprecate/","href":"/api-reference/schemas/undeprecate"}]},{"group":"Batches","pages":[{"title":"List batches","sidebarTitle":"List batches","openapi":"GET /api/v2/batches/","href":"/api-reference/batches/list"},{"title":"Cancel batch documents","sidebarTitle":"Cancel","openapi":"POST /api/v2/batches/{batch_id}/cancel/","href":"/api-reference/batches/cancel"},{"title":"Upload and add files","sidebarTitle":"Upload and add","openapi":"POST /api/v2/batches/{batch_id}/upload-and-add/","href":"/api-reference/batches/upload-and-add"},{"title":"Reprocess batch documents","sidebarTitle":"Reprocess","openapi":"POST /api/v2/batches/{batch_id}/reprocess/","href":"/api-reference/batches/reprocess"},{"title":"Add library documents to a batch","sidebarTitle":"Add documents","openapi":"POST /api/v2/batches/{batch_id}/documents/","href":"/api-reference/batches/add-documents"},{"title":"Edit a batch cell","sidebarTitle":"Edit a cell","openapi":"PATCH /api/v2/batches/{batch_id}/documents/{doc_id}/cells/","href":"/api-reference/batches/edit-cell"},{"title":"Export batch JSON","sidebarTitle":"Export JSON","openapi":"GET /api/v2/batches/{batch_id}/export.json/","href":"/api-reference/batches/export-json"},{"title":"Set a batch default schema","sidebarTitle":"Default schema","openapi":"POST /api/v2/batches/{batch_id}/default-version/","href":"/api-reference/batches/default-version"},{"title":"Reassign a document schema","sidebarTitle":"Reassign schema","openapi":"POST /api/v2/batches/{batch_id}/documents/{doc_id}/version/","href":"/api-reference/batches/reassign-version"},{"title":"Resume a batch","sidebarTitle":"Resume","openapi":"POST /api/v2/batches/{batch_id}/resume/","href":"/api-reference/batches/resume"}]},{"group":"Notifications","pages":[{"title":"List notifications","sidebarTitle":"List","openapi":"GET /api/v2/notifications/","href":"/api-reference/notifications/list"},{"title":"Mark a notification read","sidebarTitle":"Mark read","openapi":"POST /api/v2/notifications/{id}/mark-read/","href":"/api-reference/notifications/mark-read"},{"title":"Mark all notifications read","sidebarTitle":"Mark all read","openapi":"POST /api/v2/notifications/mark-all-read/","href":"/api-reference/notifications/mark-all-read"},{"title":"Unread notification count","sidebarTitle":"Unread count","openapi":"GET /api/v2/notifications/unread-count/","href":"/api-reference/notifications/unread-count"}]},{"group":"Ingest","pages":[{"title":"Register an ingest agent","sidebarTitle":"Register agent","openapi":"POST /api/v2/ingest/agents/","href":"/api-reference/ingest/register-agent"},{"title":"Ingest items feed","sidebarTitle":"Items feed","openapi":"GET /api/v2/ingest/items/","href":"/api-reference/ingest/items"},{"title":"Start an ingest upload","sidebarTitle":"Start upload","openapi":"POST /api/v2/ingest/uploads/","href":"/api-reference/ingest/start-upload"},{"title":"Complete an ingest upload","sidebarTitle":"Complete upload","openapi":"POST /api/v2/ingest/uploads/{item_id}/complete/","href":"/api-reference/ingest/complete-upload"},{"title":"Ingest schemas","sidebarTitle":"Schemas","openapi":"GET /api/v2/ingest/schemas/","href":"/api-reference/ingest/schemas"},{"title":"Match an ingest item","sidebarTitle":"Match","openapi":"POST /api/v2/ingest/items/{item_id}/match/","href":"/api-reference/ingest/match-item"},{"title":"Auto-match ingest items","sidebarTitle":"Auto-match","openapi":"POST /api/v2/ingest/items/auto-match/","href":"/api-reference/ingest/auto-match"},{"title":"Process ingest items","sidebarTitle":"Process","openapi":"POST /api/v2/ingest/items/process/","href":"/api-reference/ingest/process-items"},{"title":"Latest ingest batch","sidebarTitle":"Latest batch","openapi":"GET /api/v2/ingest/schemas/{slug}/batches/latest/","href":"/api-reference/ingest/latest-batch"}]},{"group":"Sharing","pages":[{"title":"List org-library shares","sidebarTitle":"Library shares","openapi":"GET /api/v2/library/shares/","href":"/api-reference/sharing/list-shares"},{"title":"Issue a direct-share link","sidebarTitle":"Issue link","openapi":"POST /api/v2/library/share/links/","href":"/api-reference/sharing/create-link"},{"title":"Approve a library share","sidebarTitle":"Approve","openapi":"POST /api/v2/library/shares/{id}/approve/","href":"/api-reference/sharing/approve-share"},{"title":"Reject a library share","sidebarTitle":"Reject","openapi":"POST /api/v2/library/shares/{id}/reject/","href":"/api-reference/sharing/reject-share"},{"title":"Revoke a library share","sidebarTitle":"Revoke share","openapi":"POST /api/v2/library/shares/{id}/revoke/","href":"/api-reference/sharing/revoke-share"},{"title":"Kick a library share","sidebarTitle":"Kick","openapi":"POST /api/v2/library/shares/{id}/kick/","href":"/api-reference/sharing/kick-share"},{"title":"Pending share count","sidebarTitle":"Pending count","openapi":"GET /api/v2/library/shares/pending-count/","href":"/api-reference/sharing/pending-count"},{"title":"List direct-share links","sidebarTitle":"List links","openapi":"GET /api/v2/library/share/links/","href":"/api-reference/sharing/list-links"},{"title":"Revoke a direct-share link","sidebarTitle":"Revoke link","openapi":"POST /api/v2/library/share/links/{id}/revoke/","href":"/api-reference/sharing/revoke-link"},{"title":"Accept a direct-share link","sidebarTitle":"Accept","openapi":"POST /api/v2/library/share/links/by-token/{token}/accept/","href":"/api-reference/sharing/accept-link"},{"title":"Decline a direct-share link","sidebarTitle":"Decline","openapi":"POST /api/v2/library/share/links/by-token/{token}/decline/","href":"/api-reference/sharing/decline-link"},{"title":"Request a library share","sidebarTitle":"Request share","openapi":"POST /api/v2/library/shares/","href":"/api-reference/sharing/request-share"},{"title":"Remove a direct-share acceptance","sidebarTitle":"Remove acceptance","openapi":"POST /api/v2/library/share/acceptances/{id}/remove/","href":"/api-reference/sharing/remove-acceptance"}]}]}]},"basePath":"","title":"Get a document - Abacus Docs","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-B6WFFOBL.js","utils-BN5um1KA.js","cloneDeep-C3md22mN.js","_Uint8Array-DLlL8L26.js","isObject-FP1Yky1u.js","utils-BSmbkXJR.js","addUniqueKeysToSchema-2tqcVnUE.js","snippetPresets-CtWfvr2J.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-CnLhKuUV.js","ApiExamples-DkKHBy30.js","isEqual-O3q7y6pq.js","usePlaygroundInputsStore-Brc5H9UJ.js","shallow-C4L4xvbs.js","getApiPlaygroundDisplay-2bxyq_aI.js","CodeSnippet-BJu8ddd5.js","CodeSnippets-dazWmoqB.js","getPastedJson-Chy3Qa1S.js","icon-CyO7h3jh.js","MethodPill-Dle0_91v.js","DuplicateIcon-CVvWAf4a.js","createIcon-Di07A27B.js","DynamicMarkdown-C4w9kavL.js","SectionHeading-XiBebVYC.js","axios-vUo_bRtp.js","Markdown-DTeL0SpS.js","dist-OCScizqf.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-KcneGfMY.js"]}