Skip to content
Connect an agent
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/usage

TL;DR

QuestionAnswer
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

StatusMeaningBody
200The account's usage.Usage
401Not signed in.ErrorResponse
429Too many requests.ErrorResponse

Response body

A 200 answer has the type Usage.

FieldTypeRequiredDescription
plan"free" | "pro"yesThe plan the account is on, which decides the limit.
limitintegeryesMetered calls the account may make per UTC day, across every key and connected agent.
usedintegeryesMetered calls made today. minimum 0.
remainingintegeryesCalls left today. Zero when the limit is used up. minimum 0.
resetsAtintegeryesWhen the count goes back to zero (00:00 UTC), in milliseconds since the epoch.
todayobjectyesToday's calls, split by how they reached the service.
today.apiintegeryesminimum 0.
today.mcpintegeryesminimum 0.
daysUsageDay[]yesThe last 30 days, oldest first, ending today. A day with no calls is present with zeros.
days[].daystringyesThe UTC date, as YYYY-MM-DD.
days[].apiintegeryesREST API calls that day. minimum 0.
days[].mcpintegeryesMCP tool calls that day. minimum 0.

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools