This page shows you how to use the fetch endpoint to fetch documents by IDs from a collection.Documentation Index
Fetch the complete documentation index at: https://docs.lambdadb.ai/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Description | Type | Required | Default |
|---|---|---|---|---|
| ids | The document IDs to fetch up to 100. | string[] | ✓ | |
| includeVectors | Indicates whether vector values are included in the response. (Python: include_vectors) | 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. (Python: consistent_read) | boolean | false | |
| fields | A list of field names to include and/or exclude in the result. Use dot notation (e.g., user.name) to specify nested fields. | object | ||
| partitionFilter | Partition filter. | object |
The order of the returned documents is not guaranteed to match the order of the IDs in the request.