Commit complete canonical file index

http
POST /projects/{project_reference}/branches/{branchName}/files/{filePath}/index

Atomically replace the complete chunk and embedding set for the expected current canonical knowledge version. Requires project.files.write.

Parameters

NameInRequiredDescription
project_referencepathYes
branchNamepathYes
filePathpathYes

Request body

FieldTypeRequiredDescription
expected_version_idstringYes
chunksarrayYes
modelobjectYes

Responses

StatusDescription
200Durable complete index
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
413Payload too large
500Server error