Control plane
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
/
indexes
/
{index_name}
Authorizations
Api-Key
string
headerrequiredPath Parameters
index_name
string
requiredThe name of the index to configure.
Body
application/json
spec
object
requiredResponse
202 - application/json
name
string
requiredThe 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 '-'.
dimension
integer
requiredThe dimensions of the vectors to be inserted in the index.
metric
enum<string>
default: cosinerequiredThe distance metric to be used for similarity search. You can use 'euclidean', 'cosine', or 'dotproduct'.
Available options:
cosine
, euclidean
, dotproduct
host
string
The URL address where the index is hosted.
spec
object
requiredstatus
object
requiredWas this page helpful?