Skip to main content
GET
Request statistics

Authorizations

Authorization
string
header
required

Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.

Query Parameters

from
string<date-time>

Start of the window (inclusive). Default: 30 days before to.

Example:

"2026-10-01T00:00:00Z"

to
string<date-time>

End of the window (exclusive). Default: now.

Example:

"2026-11-01T00:00:00Z"

environment
string

Comma-separated environments.

Example:

"prod,staging"

group_id
string

Comma-separated billing group ids (your stable ids).

Example:

"grp_84f20c19"

copilot_id
string

Comma-separated copilot ids.

Example:

"cccccccc-0000-4000-8000-000000000001"

agent_id
string

Comma-separated agent ids; every version of the agent counts.

Example:

"6f1c0f4e-2b7a-4a51-9a2f-0c9d1b3e5a10"

resolution
enum<string>
default:auto

Time series bucket. auto picks hour up to 2 days, day up to 93 days, month beyond.

Available options:
auto,
hour,
day,
month

Response

The statistics

resolution
enum<string>
Available options:
hour,
day,
month
totals
object
series
object[]
by_group
object[]
by_agent
object[]
by_workflow
object[]
by_model
object[]
by_tool
object[]
by_scorer
object[]