Keys
Read the account's usage
How many metered calls the account made today, the daily limit, when the count resets at 00:00 UTC, and the last 30 days.
GET
/user/usageTL;DR
| Question | Answer |
|---|---|
| What does it do? | Read the account's usage. |
| What does it take? | Nothing. |
| What does it return? | Status 200 with a body of type Usage. |
| What can go wrong? | 401 not signed in; 429 too many requests. Every failure uses the one error envelope. |
What it does
How many metered calls the account made today, the daily limit, when the count resets at 00:00 UTC, and the last 30 days. REST API calls and MCP tool calls count; handshakes, tool listings and signing in do not. Reading it is not counted.
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The account's usage. | Usage |
| 401 | Not signed in. | ErrorResponse |
| 429 | Too many requests. | ErrorResponse |
Response body
A 200 answer has the type Usage.
| Field | Type | Required | Description |
|---|---|---|---|
plan | "free" | "pro" | yes | The plan the account is on, which decides the limit. |
limit | integer | yes | Metered calls the account may make per UTC day, across every key and connected agent. |
used | integer | yes | Metered calls made today. minimum 0. |
remaining | integer | yes | Calls left today. Zero when the limit is used up. minimum 0. |
resetsAt | integer | yes | When the count goes back to zero (00:00 UTC), in milliseconds since the epoch. |
today | object | yes | Today's calls, split by how they reached the service. |
today.api | integer | yes | minimum 0. |
today.mcp | integer | yes | minimum 0. |
days | UsageDay[] | yes | The last 30 days, oldest first, ending today. A day with no calls is present with zeros. |
days[].day | string | yes | The UTC date, as YYYY-MM-DD. |
days[].api | integer | yes | REST API calls that day. minimum 0. |
days[].mcp | integer | yes | MCP tool calls that day. minimum 0. |
See also
| Doc | Why |
|---|---|
| API reference | Every endpoint, and the error envelope |
| Schemas | Every request and response type |
| Tool reference | The operations as callable tools |