Skip to content

Quotas

Monitor and manage resource usage quotas across all services. Quotas define the maximum amount of resources a user can consume within a specific period (e.g., monthly transcription minutes, total storage).

Base path: /api/v1/quotas

Method Endpoint Description
GET /api/v1/quotas Get My Quotas

Get My Quotas

GET /api/v1/quotas

Requires Authentication

Returns the authenticated user's effective quota limits and current usage across all services. Values reflect any user-level overrides applied by an administrator, falling back to tenant or subscription plan defaults.

curl -X GET "https://koldan.dixilang.com/api/v1/quotas" \
  -H "X-API-Key: $KOLDAN_API_KEY"
import requests

resp = requests.get(
    "https://koldan.dixilang.com/api/v1/quotas",
    headers={"Authorization": f"Bearer {JWT}"}
)
print(resp.json())
QuotasResponse
Field Type Nullable Description
speech-service SpeechServiceQuotas No Quota usage for Speech Services.
text-service TextServiceQuotas No Quota usage for Text Services.
SpeechServiceQuotas
Field Type Nullable Description
storage QuotaEntry No Storage quota (bytes).
transcription QuotaEntry No Monthly transcription minutes (includes offline jobs and online streaming sessions).
summaries QuotaEntry No Monthly summary requests.
summaryTokens QuotaEntry No Monthly summary tokens (total LLM tokens).
translations QuotaEntry No Monthly translation requests.
translationTokens QuotaEntry No Monthly translation tokens (total LLM tokens).
TextServiceQuotas
Field Type Nullable Description
textTranslations QuotaEntry No Monthly on-demand text translation requests.
textTranslationTokens QuotaEntry No Monthly text translation tokens (total LLM tokens).
QuotaEntry
Field Type Nullable Description
limit long No The maximum allowed value for this quota type.
used long No The current usage for this quota type.
available long No The remaining amount available (limit - used).
QuotasResponse
{
  "speech-service": {
    "storage": {
      "limit": 10737418240,
      "used": 3221225472,
      "available": 7516192768
    },
    "transcription": {
      "limit": 600,
      "used": 120,
      "available": 480
    },
    "summaries": {
      "limit": 100,
      "used": 5,
      "available": 95
    },
    "summaryTokens": {
      "limit": 1000000,
      "used": 45000,
      "available": 955000
    },
    "translations": {
      "limit": 100,
      "used": 2,
      "available": 98
    },
    "translationTokens": {
      "limit": 1000000,
      "used": 15000,
      "available": 985000
    }
  },
  "text-service": {
    "textTranslations": {
      "limit": 1000,
      "used": 50,
      "available": 950
    },
    "textTranslationTokens": {
      "limit": 5000000,
      "used": 200000,
      "available": 4800000
    }
  }
}
Status Description
200 OK Effective quota limits and usage retrieved.
401 Unauthorized Missing or invalid authentication.