hosting
GET /v1/vector/usage
Vector storage and query usage against the plan.
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ázev | Typ | Požadováno | Co to je |
|---|---|---|---|
indexes_used | integer | Ano | — |
indexes_limit | integer | Ne | `null` when the plan states no cap. |
storage_bytes_used | integer | Ano | — |
storage_gb_limit | integer | Ne | — |
queries_this_month | integer | Ano | — |
queries_monthly_limit | integer | Ne | — |
period | string | Ano | The 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