This page shows you how to use the [fetch]/reference/api/data-plane/fetch) operation to fetch records by ID from an index namespace. The returned records are complete, including all relevant dense vector, metadata, and sparse vector values.

Fetch records from the default namespace

To fetch records from the default namespace ("") in an index, specify the record IDs but no namespace:

Fetch records from a non-default namespace

To fetch records from a non-default namespace in an index, specify the record IDs and the namespace:

Was this page helpful?