Skip to main content
POST
Aggregate view records

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key

Path Parameters

org_id
string
required

Org ID

view_id
string
required

View ID

Body

metric
object
required
group_by
object
window
object

Rolling date window, resolved to real dates at query time.

filter
object
compare
enum<string>

Adds the same window shifted back as a delta. Ignored when grouped.

Available options:
previous_period
limit
integer

Max groups returned (up to 50); the tail folds into other.

Required range: 1 <= x <= 50

Response

200 - application/json
kind
enum<string>
required
Available options:
value
value
number | null
required
previous
number | null