This page shows you how to use the fetch endpoint to fetch documents by ID from an index.
Parameter
Description
Type
Required
Default
ids
The document IDs to fetch up to 1,000.
string[]
✓
includeVectors
Indicates whether vector values are included in the response.
boolean
false
consistentRead
Determines the read consistency model: If set to true, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.