
Pinecone CreateIndex
CertifiedCreate a serverless Pinecone index
Pinecone CreateIndex
Create a serverless Pinecone index
Creates a new serverless index in Pinecone. Pod-based indexes are out of scope — use serverless only. If an index with the same name already exists, the task throws an error.
type: io.kestra.plugin.pinecone.CreateIndexExamples
Create a serverless index on AWS us-east-1.
id: pinecone_create_index
namespace: company.team
tasks:
- id: create_index
type: io.kestra.plugin.pinecone.CreateIndex
apiKey: "{{ secret('PINECONE_API_KEY') }}"
indexName: my-embeddings
dimension: 1536
metric: COSINE
cloud: aws
region: us-east-1
Properties
apiKey *Requiredstring
Pinecone API key
cloud *Requiredstring
Cloud provider (aws, gcp, azure)
dimension *Requiredintegerstring
Number of dimensions in the vector embeddings
indexName *Requiredstring
Index name
Name of the Pinecone index to operate on.
region *Requiredstring
Cloud region (e.g. us-east-1)
deletionProtection string
disabledDeletion protection
Set to 'enabled' to prevent accidental deletion. Defaults to 'disabled'.
host string
Control-plane host override
Optional URL override for the Pinecone control-plane API. Defaults to https://api.pinecone.io when unset. Set this to point to a local emulator (e.g. http://localhost: 5080).
metric string
COSINECOSINEEUCLIDEANDOTPRODUCTDistance metric used for similarity search
Accepted values: COSINE, EUCLIDEAN, DOTPRODUCT.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
tlsEnabled booleanstring
trueEnable TLS for gRPC data-plane connections
Set to false when connecting to a local emulator that does not support TLS. Defaults to true (production Pinecone always requires TLS).
Outputs
host string
Host URL of the created index
name string
Name of the created index
status string
Index status state (e.g. Initializing, Ready)