Skip to main content
GET
Get outcomes over time

Authorizations

Authorization
string
header
required

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

Path Parameters

Query Parameters

from
string<date-time>

Start date (ISO 8601)

Example:

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

to
string<date-time>

End date (ISO 8601)

Example:

"2024-12-31T23:59:59.999Z"

timezone
string
default:UTC

IANA time zone the daily buckets follow, so a day runs from local midnight to midnight.

Example:

"Europe/Zagreb"

interval
enum<string>
default:day

Bucket size. Weeks start on Monday.

Available options:
day,
week,
month

Response

from
string<date-time>
required
to
string<date-time>
required
interval
enum<string>
required
Available options:
day,
week,
month
timezone
string
required
Example:

"Europe/Zagreb"

agentId
string
required
total
object
required
buckets
object[]
required

Every bucket in the range, oldest first; empty ones are zero.