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

Authorizations

Api-Key
string
headerrequired

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.

source
string
required

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

Response

201 - text/plain

The response is of type string.