Skip to main content
Retrieve specific points from your collection by their IDs. Choose to include vector data, payload metadata, or both.

Retrieve points by ID

The retrieve() method is an alias for get_many(). Control what data is returned with these options:
  • with_vectors=False — Reduces bandwidth when you only need payload metadata.
  • with_payload=False — Returns only vectors, useful for computation without metadata.
By default, both vectors and payloads are included in the response. Each point includes these fields:
  • id: The unique identifier of the point.
  • vector: The vector embedding (array of floats) if requested.
  • payload: The metadata dictionary if requested.

Scroll through points

Scroll operations are ideal for processing large collections that do not fit in memory. The cursor tracks your position in the collection, allowing you to process data in manageable chunks.
The method returns this data:
  • results: List of points for the current page.
    • id: The unique identifier of the point.
    • vector: The vector embedding if requested.
    • payload: The metadata dictionary if requested.
  • next_offset: Cursor position for the next page (None if no more pages).