v7

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-08-041951192.5 KB
Document

Get Document

Get document from index with index_id ⚠️ Use search or get_iterator first to obtain a valid doc_id. Document IDs are not guaranteed to be continuous and gapless!

get/api/v1/index/{index_id}/doc/{document_id}

Path parameters

index_idinteger required

index id

document_idinteger required

document id

Headers

apikeystring required

YOUR_SECRET_API_KEY

Request body

query_termsstring[]

query terms for highlighting

fieldsstring[]

which fields to return

Response

Document found, returns the JSON document consisting of arbitrary key-value pairs

object required