Create a Pinecone index. Define the schema for your index — including vector fields, semantic text fields, and metadata fields — and the deployment infrastructure (managed serverless, pod-based, or BYOC). The index schema cannot be modified after creation. Field types, dimensions, metrics, and text-analysis settings are permanent. Choose your schema carefully before creating an index. For guidance and examples, see Create an index.
Documentation Index
Fetch the complete documentation index at: https://docs.pinecone.io/llms.txt
Use this file to discover all available pages before exploring further.
202601-alpha. APIs may continue to evolve before general availability.GET /indexes/{index_name} until status.ready: true (and, for Dedicated read capacity, read_capacity.status.state: "Ready") before performing data plane operations.
semantic_text fields. To combine semantic ranking with full-text search, declare a dense_vector field and provide vector values when you upsert documents. For integrated embedding indexes that use the records API, see Create an index.full_text_search field. language, stemming, and stop_words reflect request settings or defaults; lowercase and max_token_length are server-applied and cannot be overridden.Required date-based version header
The desired configuration for the index.
The configuration needed to create a Pinecone index.
The schema field is required and defines the typed fields for the index. The deployment field selects infrastructure and defaults to managed (serverless) on AWS us-east-1 if omitted. The name is auto-generated if not provided.
The schema to use when creating a Pinecone index. Defines the typed fields that documents in the index can contain, including vector fields, semantic text fields, and metadata fields.
At least one primary field (dense_vector, sparse_vector, semantic_text, or a string field with full_text_search) must be present.
{
"fields": {
"embedding": {
"dimension": 1536,
"metric": "cosine",
"type": "dense_vector"
},
"genre": { "filterable": true, "type": "string" },
"year": { "filterable": true, "type": "float" }
}
}The name of the index. Must be unique within the project. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'. If not provided, a name is generated automatically. Callers that require retry-safe behavior should provide an explicit name — a duplicate request with the same name returns 409, making success detectable on retry.
1 - 45"example-index"
The deployment configuration for index creation. The deployment_type field selects the infrastructure model. Defaults to managed (serverless) in us-east-1 on aws if omitted.
pod: Dedicated pod-based infrastructure. - managed: Serverless infrastructure managed by Pinecone, including
full-text search indexes.
byoc: Bring-your-own-compute.
{
"deployment_type": "pod",
"environment": "us-east1-gcp",
"pod_type": "p1.x1",
"replicas": 1,
"shards": 1
}The name of a collection from which to create the index. The collection must have been created from a pod-based index with a compatible schema.
"movie-embeddings"
The ID of a backup from which to restore the index. Mutually exclusive with source_collection.
"670e8400-e29b-41d4-a716-446655440000"
The ID of a customer-managed encryption key (CMEK) to use for this index. Requires CMEK to be enabled for your organization.
"arn:aws:kms:us-east-1:123456789012:key/mrk-abc123"
By default the index will be created with read capacity mode OnDemand. If you prefer to allocate dedicated read nodes for your workload, you must specify mode Dedicated and additional configurations for node_type and scaling.
{ "mode": "OnDemand" }Custom user tags added to an index. Keys must be 80 characters or less. Values must be 120 characters or less. Keys must be alphanumeric, '', or '-'. Values must be alphanumeric, ';', '@', '', '-', '.', '+', or ' '. To unset a key, set the value to be an empty string.
{ "tag0": "val0", "tag1": "val1" }Whether deletion protection is enabled/disabled for the index.
Possible values: disabled or enabled.
The index has been successfully created.
The IndexModel describes the configuration and status of a Pinecone index.
The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.
1 - 45"example-index"
The URL address where the index is hosted.
"semantic-search-c01b5b5.svc.us-west1-gcp.pinecone.io"
The current status of the index.
{ "ready": true, "state": "Ready" }The deployment configuration of a Pinecone index. The deployment_type field indicates which infrastructure model the index uses.
pod: Dedicated pod-based infrastructure. Suitable for workloads that
require predictable performance.
managed: Serverless infrastructure managed by Pinecone, including
full-text search indexes. Scales automatically; billed per usage.
byoc: Bring-your-own-compute. Runs in customer-managed infrastructure.
{
"deployment_type": "pod",
"environment": "us-east1-gcp",
"pod_type": "p1.x1",
"replicas": 1,
"shards": 1
}The schema of a Pinecone index. The schema defines the typed fields that documents in the index can contain, including vector fields, semantic text fields, and metadata fields.
{
"fields": {
"embedding": {
"dimension": 1536,
"metric": "cosine",
"type": "dense_vector"
},
"title": {
"full_text_search": { "language": "en" },
"type": "string"
}
}
}Whether deletion protection is enabled/disabled for the index.
Possible values: disabled or enabled.
The private endpoint URL of an index.
"semantic-search-c01b5b5.svc.private.us-west1-gcp.pinecone.io"
Response containing read capacity configuration
{
"mode": "OnDemand",
"status": { "state": "Ready" }
}The name of the collection this index was created from, if any.
"movie-embeddings"
The ID of the backup this index was restored from, if any.
"670e8400-e29b-41d4-a716-446655440000"
The ID of the customer-managed encryption key (CMEK) used to encrypt this index, if any.
"arn:aws:kms:us-east-1:123456789012:key/mrk-abc123"
Custom user tags added to an index. Keys must be 80 characters or less. Values must be 120 characters or less. Keys must be alphanumeric, '', or '-'. Values must be alphanumeric, ';', '@', '', '-', '.', '+', or ' '. To unset a key, set the value to be an empty string.
{ "tag0": "val0", "tag1": "val1" }