hosting

GET /v1/vector/indexes/{indexId}

One vector index.

Todos os endpoints de hosting

Autenticação

Envie uma chave de API como um token de portador. A chave deve ter a permissão vector.view; uma chave sem ela é recusada com 403, e não 404.

Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.

Experimente

Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.

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

Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API

Detalhes

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

Parâmetros

NomeTipoObrigatórioO que é
indexId (path)stringSimThe index's id.

Resposta

NomeTipoObrigatórioO que é
idstringSim
namestringSimLower-case, hyphenated, unique within the organisation.
dimensionintegerSimThe width your embedding model emits, and the width reads return. Fixed at creation.
metricstring<cosine, l2, inner_product>SimThe distance function. Fixed at creation.
statusstring<ready, deleting>Sim
vectorsintegerSimHow many vectors the index holds.
storage_bytesintegerSimWhat 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_atstringSim

Erros que este endpoint pode retornar

401 · 403 · 404 · 429