hosting

GET /v1/vector/indexes/{indexId}

One vector index.

All hosting endpoints

Authentication

Send an API key as a bearer token. The key must carry the vector.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/vector/indexes/{indexId} \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

One index belonging to this organisation. Requires `vector.view`.

Parameters

NameTypeRequiredWhat it is
indexId (path)stringYesThe index's id.

Response

NameTypeRequiredWhat it is
idstringYes
namestringYesLower-case, hyphenated, unique within the organisation.
dimensionintegerYesThe width your embedding model emits, and the width reads return. Fixed at creation.
metricstring<cosine, l2, inner_product>YesThe distance function. Fixed at creation.
statusstring<ready, deleting>Yes
vectorsintegerYesHow many vectors the index holds.
storage_bytesintegerYesWhat the index counts for against `vector_index_gb`. A published formula rather than a physical table size, so it is reproducible: 96 bytes of row overhead, plus the stored widt…
created_atstringYes

Errors this endpoint can return

401 · 403 · 404 · 429