# Usage

> The workspace's usage, as the dashboard's Usage tab shows it, for agents and reports.

Source: https://docs.generalinput.com/api/usage



Usage is read as the member the key acts as, under the same rule as the Usage tab: a member whose role or team gives usage access (`audit:org_usage_access`, Owners and Admins by default) reads every member's usage, and anyone else reads only their own. The rule is read on every call, so a revoked permission applies to the next one.

<Access scope="usage:read" />

Each call runs several aggregate reads, so usage has a budget of its own: 30 reads a minute per member and 120 per workspace, shared by the API, the CLI and agents, and with [members' work](/api/members). Each report, breakdown or receipts page counts one. Past it the API answers `429` with `Retry-After`. One report, then the breakdowns it points to, answers most questions; poll no more often than you need.

| Endpoint                                          | Does                                                                                                                                                      |
| ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`GET /v1/usage/report`](/api/usage/report)       | The overview: totals, a trend, credits by category, per member, credits left and runway, plan and seats, failing workflows, top specialists and resources |
| [`GET /v1/usage/breakdown`](/api/usage/breakdown) | What spend went on, by member, team, specialist, resource, category, activity, AI model or run                                                            |
| [`GET /v1/usage/receipts`](/api/usage/receipts)   | Each charge, newest first, with what caused it                                                                                                            |

Each takes a rolling `window` or a calendar range (`from` and `to`, at most 93 days), in `tz`. Usage by integration isn't recorded: calls to a connected service aren't billed charges.
