Skip to main content
GET
Get the agents' hourly, daily or weekly activity rollups (runs, tokens, cost) in a time window, oldest first, a page at a time.

Authorizations

Authorization
string
header
required

A platform API key, created in the Console under Developers. Pass as Authorization: Bearer <key>. It acts as itself, under its role grants narrowed by its scopes.

Query Parameters

bucket
string
required
startTime
number
required
endTime
number
required
limit
integer
default:100

Items for this page, 1 to 100; a larger value is a 400 too_big.

Required range: 1 <= x <= 100
cursor
string

The opaque meta.nextCursor from the previous page, with the same other parameters.

Minimum string length: 1

Response

Get the agents' hourly, daily or weekly activity rollups (runs, tokens, cost) in a time window, oldest first, a page at a time.

data
object[]
required
meta
object
required

A list page's continuation. While hasMore is true, nextCursor is a string: pass it as cursor for the next page. hasMore: false ends the list; with truncated: true, more exist past what this list reads, and no cursor reaches them.