hosting
GET /v1/vector/usage
Vector storage and query usage against the plan.
Автентифікація
Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл vector.view; ключ без нього відхиляється з кодом 403, а не 404.
Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.
Спробувати
Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.
curl -X GET https://api.zinndigital.com/v1/vector/usage \
-H "Authorization: Bearer zdk_live_…"Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API
Деталі
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.
Відповідь
| Назва | Тип | Обов'язкове | Що це таке |
|---|---|---|---|
indexes_used | integer | Так | — |
indexes_limit | integer | Ні | `null` when the plan states no cap. |
storage_bytes_used | integer | Так | — |
storage_gb_limit | integer | Ні | — |
queries_this_month | integer | Так | — |
queries_monthly_limit | integer | Ні | — |
period | string | Так | The calendar month these query counts are for, as `YYYY-MM` in UTC. |
Помилки, які може повертати ця кінцева точка
401 · 403 · 404 · 429