Api Limit Policies Retrieve
GET/PATCH/DELETE /api/limit-policies/<id>/
Detail is PG-only. Live counters live on the /list/ route
(dashboard context). The detail view is for editing config.
Authentication
AuthorizationBearer
JWT access token or Respan API key
Path parameters
id
Response
id
name
scope
scope_value
compose
metric
cost- Costrequest_count- Request counttoken_count- Token count
algorithm
balance_fixed_window- Balance fixed windowtoken_bucket- Token bucket
period
effective_at
expires_at
priority
is_active
threshold_value
meter_definition_id
updated_by
created_at
updated_at
current_state
Live counter state for the policy’s current window. Sourced from Redis (same key apply_limits evaluates against). Populated by the view’s bulk prefetch on list responses; falls back to a single HGET on detail.
rules
anchor
calendar- Calendarfirst_event- First eventexplicit_ts- Explicit timestamp
anchor_at
refill_rate