Skip to main content

Dashboard Tools

Query saved report dashboards — custom views with widgets that visualize sustainability metrics, emissions charts, pivot tables, and KPI trackers. Dashboards are linked to projects and contain configurable widgets.

list_dashboards

List all dashboards saved for the organization. Parameters:
ParameterTypeRequiredDefaultDescription
organization_idstringNodefault orgOrganization UUID
Example response:
[
  {
    "id": "d1a2b3c4-...",
    "project_id": "p5e6f7a8-...",
    "widgets": [
      {
        "id": "w1",
        "name": "Scope 1 & 2 Emissions",
        "type": "chart",
        "config": {
          "metrics": [...],
          "periodicity": "monthly",
          "periods": [{"from": "2024-01", "to": "2024-12"}],
          "unit": "tCO2e"
        }
      }
    ],
    "layouts": {
      "lg": [{ "i": "w1", "x": 0, "y": 0, "w": 6, "h": 4 }]
    },
    "created_at": "2024-06-01T10:00:00",
    "updated_at": "2025-01-15T14:30:00"
  }
]
Key response fields:
FieldDescription
project_idThe project this dashboard belongs to
widgetsList of widget objects with name, type, and configuration
layoutsResponsive grid layout positions per breakpoint (lg, md, sm)

get_dashboard

Get a specific dashboard by ID with its full widget configuration. Parameters:
ParameterTypeRequiredDefaultDescription
dashboard_idstringYesUUID of the dashboard
organization_idstringNodefault orgOrganization UUID

Widget Types

Widgets can visualize different data sources:
Widget ConfigDescription
MetricsEmission charts with configurable metrics, periodicity, and time periods
Custom KPICustom KPI visualizations linked to datasets and campaigns
Pivot TableTabular data views (carbon footprint, energy, water, logistics)
Shipment MapGeographic visualization of transport routes
FileEmbedded file display
Example prompts:
"What dashboards do we have?"
"Show me our emissions overview dashboard"
"List all dashboards for this project"
"What widgets are configured in dashboard abc-123?"
"Show me the metrics tracked in our main dashboard"

Workflow

  1. List dashboardslist_dashboards to discover available dashboards
  2. Get detailsget_dashboard with the dashboard ID to see widget configurations
  3. Explore data — Use the tools that feed the widgets: get_greenhouse_gas_emissions for emission metrics, list_custom_kpis for KPI data, list_logistics_requests for shipment maps

Emissions

GHG emissions data that powers dashboard charts

Custom KPIs

Custom KPI definitions used in dashboard widgets

Projects

Projects that own dashboards

API Reference

REST API endpoints for dashboards