GET
/
vectors
/
fetch
curl --request GET \
  --url https://{index_host}/vectors/fetch \
  --header 'Api-Key: <api-key>'
{
  "vectors": {},
  "namespace": "example-namespace",
  "usage": {
    "readUnits": {
      "read_units": 5
    }
  }
}

Authorizations

Api-Key
string
header
required

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

Query Parameters

ids
string[]
required

The vector IDs to fetch. Does not accept values containing spaces.

namespace
string

Response

200
application/json
A successful response.

The response for the fetch operation.

vectors
object
namespace
string

The namespace of the vectors.

usage
object

Was this page helpful?