Tenant Quotas

Update tenant quota and rate-limit configuration

Write/admin endpoint for tenant-specific quota and endpoint-class rate-limit overrides. Requires full-access token at gateway level and tenant-scope check in service.

put/api/tenants/:id/quotas

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/tenants/:id/quotas
  • Auth: none declared

Path parameters

idstring required
Example:stadtwerk-a

Tenant identifier.

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Request body

tokenstring

Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

Example request

{
  "rateLimits": {
    "read": 600,
    "write": 60,
    "compute": 30
  },
  "quotas": {
    "project_max_bytes": 2147483648,
    "project_max_files": 10000,
    "project_max_file_bytes": 2147483648,
    "project_chunk_bytes": 8388608,
    "llm_tokens_per_day": 250000,
    "llm_tokens_per_month": 5000000,
    "max_async_jobs_per_day": 250,
    "max_rag_chunks_per_month": 100000
  }
}

Response

Updated tenant quota snapshot.

Changes

No recorded changes to this operation across all 2 revisions of this API.