Get vector database chunk
Vector database
Get vector database chunk
Retrieve provenance details for a chunk in a vector database.
GET
Get vector database chunk
Returns the text content of the specified chunk along with its location within the source file and a reference to the original uploaded file. Location data includes line numbers, character offsets, page number, and the heading hierarchy at the point where the chunk appears. The
file_id in the response identifies the source document and can be used with the file download endpoint to retrieve it.
The chunk_id required to call this endpoint is available in the assistant message content after a run that used the file search tool. Each chunk in the message includes chunk_id alongside page, lines, and section, giving you a complete lineage chain from model output to the original source file.
page_number is null for native Markdown and JSON files, which have no page structure.Authorizations
Your Seekr API key, sent in the Authorization header with no 'Bearer' prefix.
Response
Success
User-defined metadata attached to this chunk at ingestion time, or updated via PATCH /vectordb/{database_id}/metadata. Null if no metadata was provided.
Last modified on June 18, 2026