Documents

Update document file content

Trigger processing of a document after client has uploaded to storage.

put/api/v0/documents/{document_id}/upload-url

Path parameters

document_idstring uuid required

Request body

upload_urlstring required

The signed upload URL for the document.

generate_contentboolean

Whether to generate structured content (e.g., HTML tables)

generate_descriptionboolean

Whether to generate human-readable descriptions for visual components

generate_summaryboolean

Whether to generate a document summary

skip_visual_transcriptionboolean

When True, skip VLM-based transcription for visual components

skip_page_processingboolean

When True, skip per-page visual processing entirely (no layout detection, OCR, or component extraction). The document is stored, converted to PDF, and its page count recorded.

Response

Successful Response

job_status_idstring uuid required

The ID of the job status.

statusstring required

The status of the job. Options: pending, done, error.

error_messagestring nullable required

The error message if the job failed.

document_idstring uuid nullable required

The ID of the document that was uploaded.

Changes

No recorded changes to this endpoint across all 1 revision of this API.