GET
/
vectors
/
list
curl --request GET \
  --url https://{index_host}/vectors/list \
  --header 'Api-Key: <api-key>'
{
  "vectors": [
    {
      "id": "document1#abb"
    },
    {
      "id": "document1#abc"
    }
  ],
  "pagination": {
    "next": "Tm90aGluZyB0byBzZWUgaGVyZQo="
  },
  "namespace": "example-namespace"
}

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

prefix
string

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

limit
integer
default:
100

Max number of IDs to return.

paginationToken
string

Pagination token to continue a previous listing operation.

namespace
string

Response

200
application/json
A successful response.

The response for the List operation.

vectors
object[]
pagination
object
namespace
string

The namespace of the vectors.

Was this page helpful?