hosting

GET /v1/vector/usage

Vector storage and query usage against the plan.

Všechny koncové body hosting

Autentizace

Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění vector.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.

Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

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

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

Both meters against both caps: indexes held, bytes stored, and queries served this calendar month. A `null` limit means the plan states no cap for that meter. Requires `vector.view` — usage is a billing question, so it is readable without the key that can spend the allowance.

Odpověď

NázevTypPožadovánoCo to je
indexes_usedintegerAno
indexes_limitintegerNe`null` when the plan states no cap.
storage_bytes_usedintegerAno
storage_gb_limitintegerNe
queries_this_monthintegerAno
queries_monthly_limitintegerNe
periodstringAnoThe calendar month these query counts are for, as `YYYY-MM` in UTC.

Chyby, které může tento koncový bod vrátit

401 · 403 · 404 · 429