Valori LogoValori
GET/v1/namespacesREAD

List collections

Returns every collection in the authenticated project, including its dimension, metric, index, and record count.

Returns an empty list for a brand-new project — there is no implicit "default" collection.

Response fields

collectionsarrayoptional

One entry per collection in the project.

collections[].namestringoptional

The collection's name, as given to Create a collection.

collections[].dimensionintegeroptional

The vector dimension this collection was created with.

collections[].metricstringoptional

The distance metric this collection was created with. squared_l2 today.

collections[].indexstringoptional

The index algorithm currently serving this collection: brute, hnsw, ivf, or bq.

collections[].record_countintegeroptional

Live record count.

GET /v1/namespaces
curl "https://app.valori.systems/v1/namespaces" \
  -H "Authorization: Bearer vlk_your_project_api_key"
200
{
  "collections": [
    {
      "name": "documents",
      "id": 1,
      "dimension": 768,
      "metric": "squared_l2",
      "index": "brute",
      "record_count": 1204,
      "max_records": 1000000
    }
  ]
}