
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 *string
Pinecone API key
cloud *string
Cloud provider (aws, gcp, azure)
dimension *integerstring
Number of dimensions in the vector embeddings
indexName *string
Index name
Name of the Pinecone index to operate on.
region *string
Cloud region (e.g. us-east-1)
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150deletionProtection 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.
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)