Vector

Vector reference

Upsert + similarity search routed to the cheapest healthy vector provider.

Endpoints

MethodPathScopeDescription
POST/dashboard/vector/indexesvector:writeCreate an index.
POST/v1/vector/indexes/{name}/upsertvector:writeUpsert points.
POST/v1/vector/indexes/{name}/queryvector:readQuery by raw vector.
POST/v1/vector/indexes/{name}/query/textvector:readQuery by text (embedded server-side).

Quickstart

curl -X POST https://api.valienz.io/v1/vector/indexes/product-search/query/text \
  -H "Authorization: Bearer $VALIENZ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "red running shoes",
    "topK": 5
  }'

Errors

CodeHTTPDescriptionResolution
E_INDEX_DIM_MISMATCH400Point dimension does not match index.Match the index dimension exactly or upsert into a different index.