Skip to main content
GET
Get per-agent ROI summary

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Query Parameters

from
string<date-time>

Window start, ISO-8601 with offset. Defaults to 30 days before to. Range is capped at 365 days.

to
string<date-time>

Window end, ISO-8601 with offset. Defaults to now.

limit
integer

Max agent rows returned in agents (1-200, default 50). Totals always cover every agent in the window, not just the returned page.

Response

200 - application/json

Per-agent cost/attributed-revenue/margin rows plus org-wide totals for the window, all money in integer cents.

The response is of type object.