Menu
Configure an index
Configure an index
PATCH
/indexes/{index_name}Use it in a workflow
- Add a step and choose the Pinecone connector.
- Pick the Configure an index action (under Indexes).
- Fill in the fields below, then reference the result from later steps as
{{configureAnIndex.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"deployment": {
"replicas": 4
},
"schema": {
"fields": {
"content": {
"read_parameters": {
"input_type": "query",
"truncate": "NONE"
},
"type": "semantic_text",
"write_parameters": {
"input_type": "passage"
}
}
}
},
"read_capacity": null,
"tags": {
"tag0": "val0",
"tag1": "val1"
},
"deletion_protection": "disabled"
}
Response
Returns 200 with an object. Read it in later steps with {{configureAnIndex.response.data.<field>}}.
{
"name": "example-index",
"host": "semantic-search-c01b5b5.svc.us-west1-gcp.pinecone.io",
"status": {
"ready": true,
"state": "Ready"
},
"deployment": null,
"schema": {
"fields": {
"body": {
"embed": {
"dimension": 1024,
"metric": "cosine",
"model": "llama-text-embed-v2"
},
"full_text_search": {
"language": "en",
"stemming": false,
"stop_words": false
},
"sparse_embed": {
"model": "pinecone-sparse-english-v0"
},
"store_text": true,
"type": "string"
},
"title": {
"full_text_search": {
"language": "en",
"stemming": false,
"stop_words": false
},
"store_text": true,
"type": "string"
}
}
},
"deletion_protection": "disabled",
"private_host": "semantic-search-c01b5b5.svc.private.us-west1-gcp.pinecone.io",
"read_capacity": null,
"source_collection": "movie-embeddings",
"source_backup_id": "670e8400-e29b-41d4-a716-446655440000",
"cmek_id": "arn:aws:kms:us-east-1:123456789012:key/mrk-abc123",
"tags": {
"tag0": "val0",
"tag1": "val1"
}
}
Need more? See the Pinecone guide for connection setup and behaviour shared by every action.
Was this page helpful?