Skip to main content
When vault search returns a truncated text_preview, use chunk retrieval to fetch the full chunk text and nearby chunks from the document manifest stored in Vault.

Endpoint

Endpoint

When to use it

Search is optimized for relevance and compact responses. That means results often contain only a preview of the matched chunk. If the match lands inside a table, exhibit list, or a passage that spans several chunks, call read-chunks to recover the surrounding text. Example workflow:
  1. Search returns chunk 13 with a partial exhibit table.
  2. Request start=12&end=14.
  3. Read the full text of chunks 12, 13, and 14 together.
Ranges are inclusive and capped at 10 chunks per request.

Parameters

Example

Response
For media-backed transcripts, chunks can include source audio/video timing when real word timing is available:
Media transcript chunk

Response fields

Each chunk includes:

Notes

  • end is clamped to the document’s final chunk if you request past the end.
  • Requests where start is out of range return an error.
  • Objects without stored chunks return total_chunks: 0 and an empty chunks array.
  • start_ms and end_ms are omitted for normal documents and text-only transcripts. They are not inferred when media word timing is unavailable.