Insert Chunk
Insert a new chunk into a knowledge base file.
Authorizations
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Body
Place the new chunk immediately after this chunk_uid. Mutually
exclusive with before_uid. If neither is set, the chunk is
appended at the end of the file.
Place the new chunk immediately before this chunk_uid. Mutually
exclusive with after_uid.
Text used for vector / full-text indexing. Defaults to content
when omitted; provide an explicit value to keep an
indexing-optimized variant distinct from the user-visible text.
Response
Chunk inserted
Source-document layout metadata (e.g. bounding boxes, page coords)
when available. null for chunks created or edited by the user.
Indexing state for search (pending, indexing, indexed, or failed).
Ordering key within the file.
Revision token for optimistic concurrency on update and delete.
Origin of the chunk: parser, user_edit, or insert.
Stable per-chunk identity.