Pinter
ENID
Quotas & Usage
View as Markdown

List Token Quotas & Budget Allocations

GET/api/governance/quotas/

Overview

Retrieves monthly token quotas, allocated budgets, and remaining balances per user or role group.

Authentication & Headers

  • Auth: Bearer Token (L1 / L2)
  • Required Header: API-Version: 1

Parameters

Query

target_typestring
Entity type target for quota assignment ('user' or 'role_group').
statusstring
Filter by lifecycle state (e.g. 'published', 'draft', 'archived', 'active').

Responses

200 Quota allocations list

400 Bad Request - The request parameters or headers are invalid (e.g. unsupported API-Version).

401 Unauthorized - Missing, invalid, or expired JWT Bearer token.

403 Forbidden - Insufficient role permissions or resource access denied by RBAC policy.

404 Not Found - The requested resource ID was not found.

422 Validation Error

detailobject[]
detail[].locstring | integer[]required
detail[].msgstringrequired
detail[].typestringrequired
detail[].inputobject
detail[].ctxobject
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}

Example

curl -X GET "$PINTER_URL/api/governance/quotas/" \
  -H "Authorization: Bearer $ACCESS_TOKEN"