Dashboards & Reports
Configurable dashboards with widgets, plus aggregate reporting endpoints. All
endpoints require a valid Bearer JWT
and are scoped to the token's project_id.
Dashboards
| Method | Path | Description |
|---|---|---|
| GET | /api/dashboards | List dashboards. |
| GET | /api/dashboards/{id} | Fetch a dashboard. |
| POST | /api/dashboards | Create a dashboard. |
| PUT | /api/dashboards/{id} | Update a dashboard. |
| DELETE | /api/dashboards/{id} | Delete a dashboard. |
Widgets
| Method | Path | Description |
|---|---|---|
| POST | /api/dashboards/{id}/widgets | Add a widget to a dashboard. |
| PUT | /api/dashboards/{dashboard_id}/widgets/{widget_id} | Update a widget. |
| PUT | /api/dashboards/{id}/widgets/layout | Update the widget layout. |
| DELETE | /api/dashboards/{dashboard_id}/widgets/{widget_id} | Delete a widget. |
| GET | /api/widget-templates | List available widget templates. |
| GET | /api/widgets/{widget_type}/{widget_key}/data | Fetch data for a widget. |
Reports
| Method | Path | Description |
|---|---|---|
| GET | /api/reports/metrics | Aggregate metrics. |
| POST | /api/reports/activity | Activity report. |
| POST | /api/v2/reports/activity | Activity report (v2). |
| POST | /api/reports/calls | Calls report. |