Configure an index
This operation specifies the pod type and number of replicas for an index. It applies to pod-based indexes only. Serverless indexes scale automatically based on usage.
PATCH
Authorizations
Path Parameters
The name of the index to configure.
Body
application/json
The desired pod type and replica configuration for the index.
Configuration used to scale an index.
Response
202
application/json
The request to configure the index has been accepted. Check the index status to see when the change has been applied.
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 '-'.
Required string length:
1 - 45
The dimensions of the vectors to be inserted in the index.
Required range:
1 < x < 20000
The distance metric to be used for similarity search. You can use 'euclidean', 'cosine', or 'dotproduct'.
Available options:
cosine
, euclidean
, dotproduct
The URL address where the index is hosted.
Was this page helpful?