GET
/
collections
/
{collection_name}
# pip install "pinecone[grpc]"
from pinecone.grpc import PineconeGRPC as Pinecone

pc = Pinecone(api_key='API_KEY')
pc.describe_collection("tiny-collection")
{
  "dimension": 3,
  "environment": "us-east1-gcp",
  "name": "tiny-collection",
  "size": 3126700,
  "status": "Ready",
  "vector_count": 99
}
# pip install "pinecone[grpc]"
from pinecone.grpc import PineconeGRPC as Pinecone

pc = Pinecone(api_key='API_KEY')
pc.describe_collection("tiny-collection")

Path Parameters

collection_name
string
required

The name of the collection to be described.

Response

200
application/json
Configuration information and status of the collection.

The CollectionModel describes the configuration and status of a Pinecone collection.

name
string
required

The name of the collection.

status
enum<string>
required

The status of the collection.

Available options:
Initializing,
Ready,
Terminating
environment
string
required

The environment where the collection is hosted.

size
integer

The size of the collection in bytes.

dimension
integer

The dimension of the vectors stored in each record held in the collection.

Required range: 1 < x < 2000
vector_count
integer

The number of records stored in the collection.