Browse modules▾
Custom dashboards
Custom dashboards: create, update, share and list their widgets.
All tools
6list_dashboard_widgetsreadCatalog of every widget placeable on a custom dashboard (KPI tiles, charts, funnels, donuts, tables) with each defId, default grid size and config fields. Call BEFORE create_dashboard to get valid defIds.
list_dashboardsreadThe agency's saved custom dashboards: name, id, sections/widgets state.
create_dashboardwriteCreate a custom dashboard from sections of widgets. `sections` is a list of {name, widgets:[<defId> | {defId, config}]}, auto-laid-out on a 12-column grid; get valid defIds from list_dashboard_widgets. config: period=7|30|90|180|365; pipelineId/accountId/employeeId (''=default); channel='instagram'|'email'; displayMode='value'|'trend'|'comparison'; customLabel. Optional sub_account_id SCOPES the dashboard to that one workspace (write semantics — it is not a result filter); omit for agency-wide.
delete_dashboardwriteDelete a custom dashboard by id.
update_dashboardwriteUpdate a custom dashboard's name and/or sections. `sections` fully replaces the widget layout, same shape as create_dashboard.