Custom reports
Get Custom Report
gethttps://d1iwal3igywepk.cloudfront.net/custom-reports/{id}
Returns one custom report with every block's id, title and request (report, params, viz, metric, columns). Use the block ids to edit, remove or move a block.
get
/custom-reports/{id}curl -X GET "https://d1iwal3igywepk.cloudfront.net/custom-reports/string"Example Responses
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "description": "string", "source": "agent", "url": "string", "pinned": true, "sidebar_position": 0, "updated_at": "string", "filters": [ { "key": "date_range", "default": { "range": "last_30_days" } } ], "blocks": [ { "id": "b3280abc24d7", "kind": "string", "size": "small", "source": "agent", "layout": { "x": 0, "y": 0, "w": 0, "h": 0 }, "chart": { "source": "report", "report": "channel-report", "title": "Revenue by channel", "viz": "line", "metric": "total_cash_cents", "metric_x": "string", "columns": [ "string" ], "block": "devices", "params": { "range": "last_90_days", "order_by": "total_cash_cents", "limit": 10 } }, "filters": [ { "key": "date_range", "default": { "range": "last_30_days" } } ] } ]}application/json
