Custom KPI Tools
Query and submit Custom KPI data — user-defined indicators organized into datasets, collected through campaigns, and assigned to facilities via assignments. Each dataset groups related KPIs (e.g. “ESG Social Metrics”), campaigns are time-boxed data collection rounds sent to assigned facilities, and values are the submitted responses.list_custom_kpis
List Custom KPI definitions for an organization. Returns each KPI with its parent dataset context flattened in.
Parameters:
Example response:
KPI value types
KPI value types
get_custom_kpi
Get one Custom KPI definition with full detail — formula, unit, value type, and linked dataset. Use list_custom_kpis first to discover available KPI IDs.
Parameters:
Example response:
list_kpi_datasets
List Custom KPI dataset containers — each dataset groups related KPIs together.
Parameters:
Example response:
list_kpi_campaigns
List data collection campaigns for a specific KPI dataset. Each campaign represents a time-boxed reporting period with a submission deadline.
Parameters:
Example response:
get_kpi_campaign_values
Get submitted values/responses for a specific campaign — the actual data collected from facilities.
Parameters:
Example response:
list_kpi_assignments
List facility/user assignments for a Custom KPI dataset — which facilities and data owners are responsible for reporting.
Parameters:
Example response:
Example prompts:
submit_kpi_response
Submit values for a Custom KPI campaign. Each entry targets a specific KPI and provides the appropriate value type (numeric, text, date, or select option).
Parameters:
Value entry fields:
Each entry must include
kpi_id and exactly one value field matching the KPI’s type. Use get_kpi_campaign_values to see which KPIs are expected, and list_kpi_assignments to find the correct facility_id.Workflow
- Discover datasets —
list_kpi_datasetsto see available KPI dataset containers - Explore definitions —
list_custom_kpisto see individual KPI definitions (filter byfacility_idordataset_id) - Find campaigns —
list_kpi_campaignsto see data collection rounds and their deadlines - Read submitted data —
get_kpi_campaign_valuesto retrieve the actual values submitted by facilities - Check assignments —
list_kpi_assignmentsto see which facilities and data owners are responsible - Submit values —
submit_kpi_responseto submit KPI values for a campaign
Related
Elastic Data
Custom datasets with flexible schemas — a different way to track custom data
Facilities
Facilities that KPI datasets are assigned to
Emissions
GHG emissions data — standard environmental metrics
API Reference
REST API endpoints for custom KPIs