Manage Indexes
Create a collection
Create a Pinecone collection.
Serverless indexes do not support collections.
post/collections
Headers
X-Pinecone-Api-Versionstring required
Required date-based version header
Request body
Example request
{
"source": "example-source-index"
}Response
The collection has been successfully created.
Example response
{
"name": "example-collection",
"size": 10000000,
"status": "Initializing",
"dimension": 1536,
"vector_count": 120000,
"environment": "us-east1-gcp"
}