POST
/
collections
curl --request POST \
     --url https://controller.us-east1-gcp.pinecone.io/collections \
     --header 'accept: text/plain' \
     --header 'content-type: application/json'
"<string>"
curl --request POST \
     --url https://controller.us-east1-gcp.pinecone.io/collections \
     --header 'accept: text/plain' \
     --header 'content-type: application/json'

Authorizations

Api-Key
string
header
required

An API Key is required to call Pinecone APIs. Get yours at https://app.pinecone.io/.

Body

application/json
name
string
required

The name of the collection to be created.

Example:

"example-collection"

source
string
required

The name of the source index to be used as the source for the collection.

Example:

"example-source-index"

Response

201
text/plain
The collection has been successfully created.

The response is of type string.