# Read the account's usage

> Page: https://docs.plotwork.dev/api/get-user-usage. Index of every page: https://docs.plotwork.dev/llms.txt

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/usage`

## TL;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`](https://docs.plotwork.dev/api/schemas.md#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`](https://docs.plotwork.dev/api/schemas.md#usage) |
| 401 | Not signed in. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 429 | Too many requests. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |

## Response body

A 200 answer has the type [`Usage`](https://docs.plotwork.dev/api/schemas.md#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](https://docs.plotwork.dev/api/reference.md) | Every endpoint, and the error envelope |
| [Schemas](https://docs.plotwork.dev/api/schemas.md) | Every request and response type |
| [Tool reference](https://docs.plotwork.dev/mcp/tools.md) | The operations as callable tools |
