Update Chunk
Edit a chunk’s content / embed / page range. Requires If-Match: <revision> from the prior GET.
Authorizations
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Path Parameters
Body
Text used for vector / full-text indexing. When content is
provided and embed is omitted, embed is auto-set to the new
content. Send an explicit value to keep an indexing-optimized
variant distinct from the user-visible text.
Tri-state: omit to leave unchanged, send null to clear, send an
integer to set.
Response
Chunk updated. Search results reflect the change after re-indexing completes (index_status field).
Source-document layout metadata (e.g. bounding boxes, page coords)
when available. null for chunks created or edited by the user.
Indexing state. One of pending, indexing, indexed, failed.
While not indexed, the chunk's contribution to search results may
be stale.
Ordering key. Chunks in a file are returned in ascending ordinal
order. Treat the value as opaque — placement on insert is controlled
by after_uid / before_uid, not by setting ordinal directly.
Optimistic concurrency token. Send back as If-Match: <revision>
on the next mutation (PATCH / DELETE).
Origin of the chunk: parser, user_edit, or insert.
Stable per-chunk identity.