GET
/
collections
PINECONE_API_KEY="YOUR_API_KEY"

curl -i -X GET "https://api.pinecone.io/collections" \
  -H "Api-Key: $PINECONE_API_KEY"
{
"collections": [
{
"name": "small-collection",
"size": 3126700,
"status": "Ready",
"dimension": 3,
"vector_count": 99,
"environment": "us-east1-gcp"
},
{
"name": "small-collection-new",
"size": 3126700,
"status": "Initializing",
"dimension": 3,
"vector_count": 99,
"environment": "us-east1-gcp"
},
{
"name": "big-collection",
"size": 160087040000000,
"status": "Ready",
"dimension": 1536,
"vector_count": 10000000,
"environment": "us-east1-gcp"
}
]
}
PINECONE_API_KEY="YOUR_API_KEY"

curl -i -X GET "https://api.pinecone.io/collections" \
  -H "Api-Key: $PINECONE_API_KEY"

Authorizations

Api-Key
string
header
required

Response

200
application/json

This operation returns a list of all the collections in your current project.

The list of collections that exist in the project.