List logging quota evaluations
GET
/api/admin/logging-policies/quota-evaluations
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/admin/logging-policies/quota-evaluations \ --header 'Authorization: Bearer <token>'List stored quota evaluations, optionally filtered by tenant and evaluation state.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” tenant_id
string
Tenant id filter. Platform admins can supply another tenant; tenant-scoped admins are constrained to their current tenant.
filter[tenant_id]
string
Alternative tenant id filter syntax.
state
string
Quota evaluation state filter.
limit
integer format: int64
Maximum number of items to return.
Responses
Section titled “ Responses ”Logging quota evaluation list.
Media type application/json
object
items
required
Array<object>
object
key
additional properties
total
required
integer
page
object
key
additional properties
key
additional properties
Example
{ "items": [ { "id": "lqe_123", "quota_policy_id": "lqp_123", "tenant_id": "tenant_123", "tenant_key": null, "log_type": "audit", "plane": "control", "lane": "default", "metric_name": "byte_count", "window_kind": "day", "window_start_at": 1770000000000, "window_end_at": 1770086400000, "value": 850000, "soft_limit": 1000000, "hard_limit": 2000000, "state": "warning", "enforcement_action": "notify", "evaluated_at": 1770001000000, "notification_event_id": "notif_123", "metadata_json": "{\"critical_scope\":false,\"enforcement_mode\":\"warn_only\"}" } ], "total": 1}default
Section titled “default ”Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}