/v1/namespacesREAD / WRITECreate a collection
Creates a collection with an explicit dimension and metric. Idempotent — calling it again with an identical config returns the existing collection.
dimension and metric are required for every collection name, including
one named default — Valori never infers a dimension from a project or
environment default. Both are immutable after creation; a later call with
a different value for the same name is rejected, not silently applied.
Request body
namestringrequiredCollection name.
dimensionintegerrequiredVector dimension for every record in this collection.
metricstringrequiredDistance metric. squared_l2 is the only supported value today.
indexstringoptionalIndex algorithm: brute, hnsw, ivf, bq, or auto. Omit for exact
(non-ANN) search — a fully supported, first-class configuration.
Response fields
createdbooleanoptionaltrue if this call created the collection; false if it already existed
with an identical config.
idintegeroptionalThe collection's internal numeric id.