Skip to main content
POST
cURL

Authorizations

X-Session-Token
string
header
required

Session token for authentication.

Query Parameters

limit
integer<int64>
default:100

Limit the number of resources returned by the API

Required range: x >= 1
offset
integer<int64>
default:0

Offset the resources returned by the API

Required range: x >= 0
date_op
enum<string>

Optional created_at range operator AND-ed onto the query as an additional constraint (a dashboard's global date range applied to a card). Relative presets (today, yesterday, last_n_days, this_week, this_month, this_quarter, this_year) are resolved live against the fixed Europe/London timezone at run time, including DST-sensitive boundaries; between/before/after take concrete bound(s). Omit for no additional constraint. Pair with date_values when the operator needs parameters.

Available options:
today,
yesterday,
last_n_days,
this_week,
this_month,
this_quarter,
this_year,
between,
before,
after
date_values
string[]

Parameter values for date_op (e.g. 30 for last_n_days, or the two ends of a between). Repeat the parameter for multiple values. Ignored when date_op is absent.

Body

application/vnd.api+json

The query to create.

data
object
required

Response

The query result rows, as a JSON:API collection of query-result-rows (dynamic attributes, with column descriptors and pagination in meta).

The response is of type object.