Data plane
Fetch
Warning: The legacy version of the API, which requires regional URLs for control plane operations, is deprecated as of April 15, 2024 and will be removed in a future, to be announced, release. For more information, see Migrate to the new API.
The Fetch
operation looks up and returns vectors, by ID, from a single namespace.
The returned vectors include the vector data and/or metadata.
GET
/
vectors
/
fetch
Authorizations
Api-Key
string
headerrequiredAn API Key is required to call Pinecone APIs. Get yours at https://app.pinecone.io/.
Query Parameters
ids
string[]
requiredThe vector IDs to fetch. Does not accept values containing spaces. Limited to 1000 IDs.
namespace
string
Response
200 - application/json
vectors
object
The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
namespace
string
The <a href='https://docs.pinecone.io/docs/namespaces'>namespace</a> of the vectors.