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 emissionscopesthat make up the numerator. - Each record inside the group holds one period’s quantity. The API returns the resulting
value(emissions ÷ quantity) and thedeltaagainst the previous period.
Available Commands
List Groups
simple groups hold their own records. grouping groups aggregate child organizations’ groups.
Flags
Create a Group
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
Flags
Dates are inclusive calendar dates, interpreted as UTC.
List Records in a Group
Flags
Update a Quantity
Delete
--yes is passed.
All Values at Once
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 ofstart,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