/indexes/{index_id}
Updates an index’s metadata and delete protection status.
Important: Thedimensionof an index must match the output dimension of the embedding model you intend to use. Mismatches will lead to errors or poor performance.Always consult the embedding model’s documentation to confirm its required vector dimension.
- 768:
nomic-ai/nomic-embed-text:v1.5- 1024:
baai/bge-large-en-v1.5,microsoft/multilingual-e5-large
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
metadata | object | No | Updated key-value metadata. |
delete_protection | boolean | No | Enable or disable delete protection. |
Example Requests
- cURL
- Python SDK
- JavaScript SDK

