Create index

POST /v1/vectors/:namespace/index

This is a publicly undocumented API that can be used to force creation of an index.


distance_metric stringrequired

The function used to calculate vector similarity. Possible values are cosine_distance or euclidean_squared.


// Request payload
  "distance_metric": "euclidean_squared",

// Response payload
  "message": "🐡 ⏳ Indexing is queued, please check back later! It currently takes ~3min for about 1m vectors.",
  "status": "accepted"
Email us
© 2024 turbopuffer Inc.
Privacy PolicyTerms of service
SOC2 Type 1 certified