Explore Plans
Mobile menu Close menu
Agile OctopusAgile Octopus

History of carbon intensity changes

This query returns a list of when carbon intensity fell or rose past your set threshold and between your preferred time settings. Note: this query will only return future events after this Applet is created.

Developer info

API endpoint slug
agile_octopus.history_of_carbon_intensity_changes
Runtime method
performQuery("agile_octopus.history_of_carbon_intensity_changes")

Query fields

Intensity threshold Text input > Regular expression

Label
At what carbon intensity should this activate?
Helper text
The carbon intensity is a measure of grams of CO2 emitted per kWh of electricity generated. Renewable energy such as wind, solar and hydro is obviously zero. Coal is over 900. So pick a value somewhere in between for this trigger.
Slug
intensity_threshold
Required
true
Can have default value
true

When to trigger Dropdown list

Label
When to trigger?
Slug
when_to_trigger
Required
true
Can have default value
true

Happens after Dropdown list

Label
Happens after
Slug
happens_after
Required
true
Can have default value
false

Happens before Dropdown list

Label
Happens before
Slug
happens_before
Required
true
Can have default value
false

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
AgileOctopus.historyOfCarbonIntensityChanges.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Triggered atDate and time when trigger event occurred.

Slug
triggered_at
Filter code
AgileOctopus.historyOfCarbonIntensityChanges.TriggeredAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Carbon intensityCarbon intensity value in grams of CO2 per kWh

Slug
forecast
Filter code
AgileOctopus.historyOfCarbonIntensityChanges.CarbonIntensity
Type
String
Example
143

Carbon intensity indexCarbon intensity level

Slug
index
Filter code
AgileOctopus.historyOfCarbonIntensityChanges.CarbonIntensityIndex
Type
String
Example
moderate

Trigger intensityCarbon intensity threshold in trigger settings.

Slug
trigger_intensity
Filter code
AgileOctopus.historyOfCarbonIntensityChanges.TriggerIntensity
Type
String
Example
150

Triggers whenTriggers when your regional carbon intensity passes your set threshold

Slug
triggers_when
Filter code
AgileOctopus.historyOfCarbonIntensityChanges.TriggersWhen
Type
String
Example
above_intensity_threshold

Triggers afterTime (hours) in trigger settings, events happen after this time.

Slug
triggers_after
Filter code
AgileOctopus.historyOfCarbonIntensityChanges.TriggersAfter
Type
String
Example
12:00 AM

Triggers beforeTime (hours) in trigger settings, events happen before this time.

Slug
triggers_before
Filter code
AgileOctopus.historyOfCarbonIntensityChanges.TriggersBefore
Type
String
Example
12:00 PM