Skip to main content
POST
Commit complete canonical file index

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project ID, slug, or domain from the authenticated context.

branchName
string
required

Branch name or ID from the route.

filePath
string
required

URL-encoded file path for the chunked file.

Body

application/json

Supply 0-500 contiguous chunks with real aligned vectors from the canonical embedding model; an empty set is accepted only when the version body has no indexable content (empty, whitespace-only or frontmatter-only). The complete request is limited to 32 MiB. Larger sets fail without truncation. Indexes are replaced only for the selected writable branch; release indexes are immutable. Identical durable replay retains chunk IDs. The example indexes an empty document; replace its sample version ID.

expected_version_id
string<uuid>
required
chunks
object[]
required
Maximum array length: 500
model
object
required

Response

Durable complete index

file_id
string<uuid>
required
version_id
string<uuid>
required
path
string
required
checksum
string | null
required
indexed_chunk_count
integer
required
Required range: x >= 0
model
object
required