Create a collection
This operation creates a Pinecone collection.
Serverless indexes do not support collections.
Body
The configuration needed to create a Pinecone collection.
The name of the collection to be created. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.
1 - 45
The name of the index to be used as the source for the collection.
Response
The CollectionModel describes the configuration and status of a Pinecone collection.
The name of the collection.
The status of the collection.
Initializing
, Ready
, Terminating
The environment where the collection is hosted.
The size of the collection in bytes.
The dimension of the vectors stored in each record held in the collection.
1 < x < 20000
The number of records stored in the collection.
Was this page helpful?