GET
/
vectors
/
fetch
curl --request GET \
     --url https://index_name-project_id.svc.environment.pinecone.io/vectors/fetch \
     --header 'accept: application/json'
{
  "vectors": {},
  "namespace": "example-namespace"
}

Authorizations

Api-Key
string
headerrequired

An API Key is required to call Pinecone APIs. Get yours at https://app.pinecone.io/.

Query Parameters

ids
string[]
required

The 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.

Was this page helpful?