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