Get Chart builder data
Changed onReturns the same chart data as the cabinet "Chart builder" (labels + datasets), scoped to the project of the API key. Use GET /reports/chart-builder/catalog to discover valid metric, x_axis and series ids. from/to are interpreted in the project timezone; defaults to the last 30 days.
Request
- Base URLhttps://api.web2wave.com/api
- URLhttps://api.web2wave.com/api/reports/chart-builder
- AuthAPI key in header api_key
Query parameters
Metric id from catalog.builder_metrics.
Dimension id from catalog.dimensions for the X axis.
Dimension id to break the chart into series, or none. Ignored when equal to x_axis.
Sort order key.
Sort direction.
Filter rows by metric value together with y_value.
Metric value threshold for y_operator.
Start date (YYYY-MM-DD, project timezone). Defaults to 29 days ago.
End date (YYYY-MM-DD, project timezone). Defaults to today.
Limit to quiz ids.
Limit to paywall ids.
Filter by utm_source values.
Filter by utm_medium values.
Filter by utm_campaign values.
Filter by utm_content values.
Filter by utm_term values.
Filter by payment system id.
Filter by user country code.
Filter by user platform.
Filter by experiment id.
Experiment variant (used with experiment_id, default 0).
User property name to filter by (with user_property_value).
User property value.
Headers
API key for authentication
Response
Chart data
Example response
{
"success": true,
"builder": {
"title": "Total revenue by Day"
}
}Changes
- info
endpoint added
- info