GET
Get Usage History
Returns a paginated list of runs across all agents in your organization, including duration, cost, and usage details for each run. Use start_date and end_date (ISO 8601) to scope the window, and page / limit to paginate. Pass filters as a JSON-encoded string to narrow results further. To fetch the full transcript or recording for a specific run, use Retrieve Agent Run Details.

Authorizations

Authorization
string
header
required

An EESI API key (sk-eesi-...) or a Clerk session token.

Headers

authorization
string | null
X-API-Key
string | null

Query Parameters

start_date
string | null

ISO 8601 date-time string (UTC). Lower bound (inclusive) on created_at.

Example:

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

end_date
string | null

ISO 8601 date-time string (UTC). Upper bound (inclusive) on created_at.

Example:

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

page
integer
default:1
Required range: x >= 1
limit
integer
default:50
Required range: 1 <= x <= 100
filters
string | null

JSON-encoded array of filter objects. Each object has the shape:

Supported attribute / type / value combinations:

Unknown attributes and unsupported type values are silently ignored.

Date filtering on this endpoint is done via the dedicated start_date / end_date query params, not via a dateRange filter object.

Example:

"[{\"attribute\":\"callerNumber\",\"type\":\"text\",\"value\":{\"value\":\"415555\"}}]"

Response

Successful Response

runs
WorkflowRunUsageResponse ยท object[]
required
total_eesi_tokens
number
required
total_duration_seconds
integer
required
total_count
integer
required
page
integer
required
limit
integer
required
total_pages
integer
required