Skip to Content
Docs

Every stored policy, grouped by layer, plus the models cost limits cannot see

GET
/api/admin/quotas

Query args (all optional; without them every row is returned): teams_q: Case-insensitive substring of the team name or slug. users_q: Case-insensitive substring of the user's subject id or email. teams_page / users_page: 1-based page of that list; only a list whose page arg is given is paginated. page_size: Teams or users per page, clamped to 1-100 (default 20); a page carries every bucket row of each of them.

teams_total and users_total count the teams and users after filtering and before paging. Rows keep the repository order (subject, then bucket).

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/admin/quotas'
Example Response200
Empty