Document Metadata Endpoints

  • Replace or merge a document’s metadata: PUT and PATCH on /v3/collections/{collection_name}/documents/{document_id}/metadata write custom metadata after indexing, and the v3 documents list accepts metadata_filter to look documents up by that metadata.


Neighboring Chunks

  • Read past a cut-off chunk without a second query: set include.neighboring_chunks: true on v3 Query and each result carries the chunk immediately before and after it in the source file, under neighboring_chunks.prev and neighboring_chunks.next. prev is null for the first chunk in a document, next is null for the last. See Advanced Search & Relations.
  • Off by default: the base query response is unchanged unless include.neighboring_chunks is set.

Page-Level Retrieval

  • Fetch one page of a document: GET /v3/collections/{collection_name}/documents/{document_id}/pages/{page_number} returns the chunks, text, and regions of a single page, next to Get Document in the v3 reference.
© 2026 Captain