hosting
GET /v1/vector/usage
Vector storage and query usage against the plan.
Autentifikacija
Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu vector.view; ključ bez nje se odbija sa 403, a ne sa 404.
Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
curl -X GET https://api.zinndigital.com/v1/vector/usage \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
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.
Odgovor
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
indexes_used | integer | Da | — |
indexes_limit | integer | Ne | `null` when the plan states no cap. |
storage_bytes_used | integer | Da | — |
storage_gb_limit | integer | Ne | — |
queries_this_month | integer | Da | — |
queries_monthly_limit | integer | Ne | — |
period | string | Da | The calendar month these query counts are for, as `YYYY-MM` in UTC. |
Greške koje ovaj krajnji tačka može da vrati
401 · 403 · 404 · 429