Skip to main content
POST
Create Document Version Handler

Headers

authorization
string | null

Path Parameters

document_id
string<uuid>
required

Document ID

Cookies

ks_uat
string | null

Response

Successful Response

DocumentVersion response model.

Shared schema for DocumentVersion responses, used by Document endpoints and DocumentVersion endpoints.

id
string<uuid>
required

DocumentVersion ID

path_part_id
string<uuid>
required

PathPart ID

version
integer
required

Version number (0, 1, 2...)

name
string
required

Auto-generated name from path_part (v0, v1, ...)

parent_path_id
string<uuid> | null
required

Document's PathPart ID

materialized_path
string
required

Full materialized path from root

system_managed
boolean
required

Whether this version is system-managed

tenant_id
string<uuid>
required

Tenant ID

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp

asset_s3_url
string | null

Presigned URL to download the source document (6-hour validity)

fast_plaintext_url
string | null

Presigned URL to download the fast plaintext export (6-hour validity)

system_metadata
DocumentVersionMetadata · object

Version metadata (S3 artifacts, pipeline state, statistics)