Usage API
The Platform Usage API lets billing administrators configure and inspect usage limits, and lets users and agent editors check their headroom and request more.
Use Cases
Usage Settings
Usage Limits
Limit Evaluation
Limit-Increase Requests
API Endpoints
Administrators evaluate any target with POST /api/admin/usage/limits/evaluate. Users evaluate themselves, or an agent they can edit, with POST /api/usage/limits/evaluate.
Administrative operations require permission to read or edit workspace billing in addition to their OAuth scope. A global administrator role is not required.
Every Usage endpoint except POST /api/admin/usage/limits is experimental. Send X-Glean-Include-Experimental: true on each request, or they are not exposed.
Use the Users, Departments, IdP Groups, and Agents APIs to find the identifiers that usage limit targets use.
For error responses, see Platform API Errors for the shared ProblemDetail code reference and remediation guidance.