Preview Chart
analytics
Preview Chart
Execute an ad-hoc query without saving (for the chart builder preview).
POST
Preview Chart
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Period override: 7d, 30d, or custom:YYYY-MM-DD:YYYY-MM-DD
Body
application/json
For preview — same as ChartConfig but standalone.
Required array length:
1 - 5 elementsAvailable options:
1h, 24h, 7d, 30d, 90d, 12m, all Available options:
hour, day, week, month Required range:
1 <= x <= 500Response
Successful Response