Skip to main content
Early Access - The Dcycle CLI is currently available for enterprise customers. Contact us to learn more about access.

Overview

An intensity metric expresses emissions per unit of activity — tCO₂e per litre bottled, per unit produced, per €M of revenue. It has two parts:
  • A group defines the denominator: a free-text unit (what you divide by) and the emission scopes that make up the numerator.
  • Each record inside the group holds one period’s quantity. The API returns the resulting value (emissions ÷ quantity) and 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 — put the volume on the organization whose emissions actually match it.

Available Commands


List Groups

Output:
simple groups hold their own records. grouping groups aggregate child organizations’ groups.

Flags


Create a Group

Output:

Flags

--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.

Add a Period

Output:

Flags

Periods may not overlap other records in the same group, so a group holds either annual records or monthly ones — never both. An overlapping period is rejected with INTENSITY_METRICS_ALEADY_EXISTS_IN_THIS_PERIOD.
Dates are inclusive calendar dates, interpreted as UTC.

List Records in a Group

Output:

Flags


Update a Quantity

Periods are immutable — delete the record and create a new one to move it.

Delete

Deleting a group removes every record inside it, so the periods it held stop contributing to dashboards and reports. Both commands prompt for confirmation unless --yes is passed.

All Values at Once

Output:

Flags

This summary endpoint returns values and deltas but not the underlying quantities. Use dcy intensity list <group-id> when you need the volumes.

Typical Workflows

Load a Year of Monthly Volumes

Create the group once, then loop the periods from a CSV of start,end,quantity:
volumes.csv

Load the Same Metric Across a Group of Companies

Each subsidiary needs its own group, because the intensity is computed from that organization’s own emissions:

Audit What’s Loaded


Aliases

Limitations

  • Parent roll-up cannot be configured from the CLI. Groups can be created with --grouping, but linking a parent grouping to its children’s groups is not exposed by the API yet.
  • No bulk import command. Load periods with a shell loop as shown above.

Next Steps

Widgets

Add intensity measures to dashboard widgets

Organizations

Inspect the org tree to pick the right organization

Projects

Reporting projects that surface intensity metrics

MCP Intensity Tools

The same operations from an AI assistant