v1

latestOpenAPI 3.1.0Apache-2.02026-07-17586455.2 KB
Documents

Chunk + embed text for a registered document.

Deterministic char-window chunking, batched embeddings via the core embedding provider, and one provenance-linked memory per chunk. Idempotent on byte-identical text under the current chunker_version: the response's idempotent_skip flag indicates whether work was performed. A re-index with new text soft-deletes the prior generation of chunks + derived memories before inserting the fresh one.

post/v1/documents/{id}/index

Path parameters

idstring uuid required

Request body

textstring required

Required. text.

user_idstring required

Required. user_id.

Response

Indexing result with chunk + memory counts.

chunker_versionstring required
chunks_creatednumber required
document_idstring required
idempotent_skipboolean required
indexed_content_hashstring required
memories_creatednumber required
parser_versionstring required