Attachments
Upload files to provide the AI with reference material. The AI can search and reference attachment content when editing your document — or you can load an attachment directly into the editor.Supported file types
Legacy Word (
.doc), OpenDocument (.odt), and Rich Text (.rtf) files are normalized into the same rich pipeline as .docx, so their headings, tables, and styling carry through.
LaTeX projects. A .tex file uploads directly. A multi-file LaTeX project — the shape editors export: a root .tex plus its \input chapters, figures, bibliography, and any custom class files — uploads as a single .zip; the root document is detected automatically. Math imports losslessly (every equation keeps its LaTeX source and exports as native Word math), footnotes become real footnotes, bibliographies render with their citations, and source-declared page geometry, font size, and line spacing carry into the editor. Documents built on heavily visual custom classes (many résumé and poster templates) are compiled and imported with their visual layout preserved. A .zip that contains no LaTeX root returns a structured error, and anything that can’t be represented (for example an EPS figure or a TikZ drawing) is marked with a visible placeholder plus an ingest warning — never silently dropped. Standard BibTeX (.bib) bibliographies resolve fully; biblatex-specific flows may degrade to bracketed citation keys plus an ingest warning.
Maximum file size: up to 100 MB through the pre-signed upload flow (request_upload_url → PUT → process) — the path the web app and SDKs use automatically for anything large. Direct inline and multipart uploads are reliable up to about 20 MB; an API-gateway request-body limit caps direct uploads below the pre-signed ceiling, so send larger files through the pre-signed flow (for files over ~100 KB it is preferable anyway, since bytes never pass through your context window). Oversized or unsupported uploads return a structured error naming the supported formats and the applicable limit.
Document scale. A single document can expand into up to 25,000 editable sections (roughly 6,000 pages), and one chat session can hold up to 30,000 sections across all of its open documents (roughly 7,500 pages). These are stability limits for the hosted service, not platform caps: there is no hard platform limit on document length or on how many documents you work with in parallel. Crossing a limit returns a structured 413 (DOCUMENT_TOO_COMPLEX for a single file, SESSION_TOO_FULL for a chat) with limit_expandable: true and a contact address; the team is notified automatically and limits are raised on request, typically within a day, via hello@superdocs.app. Larger dedicated deployments are available on Pro and Enterprise.
Upload a file
Attachments are processed asynchronously. Upload the file, get ajob_id, then poll for completion. The job_id is an opaque UUID — attachment jobs are queried through the same GET /v1/jobs/{job_id} path as chat jobs (there’s no separate id namespace or endpoint for them).
status is "completed", the attachment is indexed and available as AI context for that session.
Check attachment status
Attachments vs document upload
SuperDocs has two ways to load files — they serve different purposes:Loading an attachment into the editor
After uploading an attachment, you can ask the AI to load it into the editor — making it the active document you can edit:- Replace — clears the editor and loads the full attachment (default when the editor is empty)
- Insert — adds the attachment content to the existing document (when the editor already has content)
Image attachments and vision
SuperDocs can see the images you attach. The AI visually interprets diagrams, screenshots, photos, charts, scanned documents, and any other image content — and uses what it sees to inform the document it is editing. Common use cases:- Transcribe a screenshot into the document (“Add the table from this screenshot to my report”)
- Reference a diagram in generated content (“Write a paragraph describing the architecture in this image”)
- Extract data from a chart (“Summarize the trends in this chart and add a section about them”)
- Identify objects or text in a photo (“What does the sign in this photo say? Add it as a quote”)
- Swap an image in the document (“Replace the cover photo with this attached image”, “Use this as the new company logo”) — pure URL swap, no AI generation cost
image_attachments field also drives image generation and editing inside the document — see Visual content. Tell the AI “generate an image of a glass office building at sunrise” and it creates one and inserts it; click any image in the editor and tell the AI “brighten this dramatically” or “recolor with warm sepia” and the AI rewrites the bytes.
Images are handled inline with your chat request — no separate upload step is required:

