Skip to main content

Intensity Metric Tools

Read and load intensity metrics — emissions per unit of activity (tCO₂e per litre bottled, per unit produced, per €M of revenue). A group defines the denominator: a free-text unit and the emission scopes that make up the numerator. Each record inside the group holds one period’s quantity, and the API returns the resulting value (emissions ÷ quantity) plus the delta against the previous period.
The numerator is the whole organization’s emissions. A single-site volume loaded onto a multi-site organization produces a misleading intensity — use the organization whose emissions match the volume.
Periods may not overlap inside a group, so a group holds either annual records or monthly ones — never both. Periods are immutable: delete and recreate a record to move it.

list_intensity_metric_groups

List the organization’s intensity metric groups. Start here to find the group_id the other tools need. Parameters: Example response:
Key response fields:

get_intensity_metric_group

Get one group by ID. Parameters:

list_intensity_metrics

List the records in a group, each with its period, quantity, computed intensity and delta. Parameters: Example response:
Key response fields:

get_intensity_metric

Get one record by ID. Parameters:

get_organization_intensity_metrics

Every intensity value across all of the organization’s groups — the fastest way to see all intensities at once. Parameters:
This summary returns value and delta but not the underlying quantities. Use list_intensity_metrics when you need the volumes.
Example prompts:

create_intensity_metric_group

Create a group — the denominator definition. Create it once, then add one record per period. Parameters:
scopes accepts only the combinations the API allows: [1], [2], [3], [1,2], [2,3], [1,2,3]. Anything else (e.g. [1,3]) is rejected before the request is sent.

update_intensity_metric_group

Update a group. Only provided fields are changed. Parameters:

delete_intensity_metric_group

Delete a group and every record inside it. Parameters:
The periods the group held stop contributing to dashboards and reports. Confirm with the user before calling this.

create_intensity_metric

Add a production volume for one period to a group. Parameters: Returns the created record including the computed intensity value. An overlapping period is rejected with INTENSITY_METRICS_ALEADY_EXISTS_IN_THIS_PERIOD.

update_intensity_metric

Update a record’s quantity. Periods are immutable. Parameters:

delete_intensity_metric

Delete a record. Parameters: Example prompts:

Workflow

  1. Find the grouplist_intensity_metric_groups, or create_intensity_metric_group if the denominator doesn’t exist yet
  2. Check what’s loadedlist_intensity_metrics to see existing periods and avoid an overlap
  3. Load periodscreate_intensity_metric once per period, all with the same granularity
  4. Verifylist_intensity_metrics for the group, or get_organization_intensity_metrics for everything at once

Limitations

Parent-level roll-up cannot be configured through these tools: a group can be created with is_grouping, but linking a parent grouping to its children’s groups is not exposed by the API yet.

Emissions

The numerator — GHG emissions these metrics divide

Organizations

The org tree, to pick the organization matching a volume

Custom KPIs

User-defined indicators collected through campaigns

CLI Intensity Metrics

The same operations from the command line