Skip to main content
GET
Get your usage
  • A charged call is a tool call that finished with a result, or that refused your input itself, counted when Pomerado accepted it. A call that failed because the tool or the website broke is free, and so is one a repair finished, a write you stopped with your own Stop answer after it saved a step, or a write its tool ended before saving anything with no refusal its output declares. A build counts when it published a tool.
  • With interval, the range also comes as a series of UTC hours, days or months.
  • With group_by member, an Owner or Admin sees every member, including those who have left; a Member sees only their own row. An API key without team:manage (billing:manage on a Personal account) gets each member’s ID and counts with their name, email and role null; a connected app without it gets its own member’s row in full and everyone else’s that way.
  • With group_by api_key, each API key, connected OAuth app and signed-in session the calls came through; an Owner or Admin sees the whole account’s, a Member only their own calls’. An API key without team:manage (billing:manage on a Personal account) gets each key’s and app’s name null.
  • With member_id, every count is that member’s alone, such as one member’s calls per integration; a Member may name only themselves.
  • With group_by environment, each environment’s calls and builds. With environment, every count is those environments’ alone, such as environment=staging; without it, every environment’s, as billed.
  • coverage.complete says whether the whole range lies within recorded history.
  • Callers: an API key, an MCP OAuth token or a Dashboard session.
  • Permission: usage:read.
  • Effect: Changes nothing.
  • Errors: only the errors any request can get.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

from
string

Start of the range, inclusive (default: when recording began)

to
string

End of the range, exclusive (default: now)

group_by
enum<string>

integration: also list each integration's calls and integrations created. member: also list each member's calls and integrations created. tool: also list each tool's calls. api_key: also list the calls that came through each API key, connected OAuth app and signed-in session. environment: also list each environment's calls and integrations created

Available options:
integration,
member,
tool,
api_key,
environment
environment
string

Only these environments' calls and builds, by key, comma-separated, such as production,staging: the totals, series and every grouping count theirs alone (default: every environment's, as billed). A series then leaves out refused_runs, which no environment holds

interval
enum<string>

Also return the range as a series of UTC hours, days or months, at most 1000 buckets. Without from, the series starts at the bucket holding coverage.started_at

Available options:
hour,
day,
month
member_id
string

Only this member's calls and builds, by their user ID: the totals, series and every grouping count theirs alone. An Owner or Admin may name any member; a Member only themselves

Response

Your usage in the range

from
string | null
required
to
string
required
as_of
string
required
calls
integer
required

Charged tool calls in the range

Required range: x >= 0
last_used_at
string | null
required
unattributed_calls
integer
required

Calls in the range recorded before calls named their integration

Required range: x >= 0
integrations_created
integer
required

Successful builds in the range: each build that published a tool, including one that added a tool to an existing integration

Required range: x >= 0
coverage
object
required
groups
object[]
series
object[]

Every bucket of the range in order, empty ones included. The first and last bucket count only their part inside the range

tools
object[]

One row per tool and the integration its calls ran in

credentials
object[]
members
object[]
environments
object[]

Each environment's share, production's first: only those with calls or builds in the range