Skip to main content
GET
Count your team's runs per login, tool or integration
  • Each row counts its runs, how they ended, the runs that asked a question and the runs that asked for a repair, with how many of those succeeded, and the 50th and 95th percentile time of its finished runs.
  • Counts and times match runs.list’s summary for the same runs.
  • Filter by saved login, tool, integration, environment and time range, up to the last 90 days.
  • A key limited to environments, or an environment’s MCP URL, counts only the runs in them, and naming another is refused.
  • A tool’s row names its integration.
  • With interval, the range also comes as a series of UTC hours or days, each counting its runs and how they ended.
  • Rows name a login by its ID: logins.get names it.
  • Callers: an API key, an MCP OAuth token or a Dashboard session.
  • Permission: jobs:read.
  • Effect: Changes nothing.
  • Errors: business_account_required, and 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

group_by
enum<string>

login: one row per saved login, leaving out runs that used none (default). tool: one row per tool. integration: one row per integration

Available options:
login,
tool,
integration
integration_id
string

Only this integration's runs

Example:

"int_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"

login_id
string

Only this saved login's runs

Example:

"login_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"

tool_id
string

Only this tool's runs

Example:

"tool_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"

environment
string

Only runs in these environments, by key, comma-separated

from
string

Accepted at or after, inclusive (default: 7 days before to; earliest: 90 days ago)

to
string

Accepted before (default: now)

interval
enum<string>

Also return the range as a series of UTC hours or days, at most 1000 buckets, counting every run the filters match

Available options:
hour,
day
page
string

The page to read, from 1 (default 1)

limit
string

Rows per page, 1 to 1000 (default 100)

Response

One page of the team's run counts

data
object[]
required
page
integer
required

a non-negative number

Required range: x >= 0
limit
integer
required

a non-negative number

Required range: x >= 0
total
integer
required

Rows matching the filters, on every page

Required range: x >= 0
series
object[]

With interval: every run matching the filters, per bucket of the range, whatever group_by; the same on every page