Skip to main content
GET
Get revenue breakdown by agent

Authorizations

Authorization
string
header
required

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

Path Parameters

orgId
string
required

Organization ID

Example:

"org-abc123"

Query Parameters

to
string

ISO-8601 end date (inclusive). Omit for no upper bound.

Example:

"2026-02-01T23:59:59.999Z"

from
string

ISO-8601 start date (inclusive). Omit for no lower bound.

Example:

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

Response

Revenue breakdown

items
object[]
required

Per-agent revenue rows.

totalRevenue
string
required

Aggregate revenue across all agents, serialised as a string (bigint).

Example:

"4200000000"