Explore Plans
Mobile menu Close menu
Agile OctopusAgile Octopus

History of energy price threshold change for duration

This query returns a list of when energy price threshold changes for set duration. Note: this query will only return future events after this Applet is created.

Developer info

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

Query fields

Price threshold Text input

Label
At what price should this activate?
Helper text
Price in pence. Max 35 pence.
Slug
price_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

Number of periods Text input

Label
Number of 30-minute periods matching threshold
Helper text
Must be between 1 and 48.
Slug
number_of_periods
Required
true
Can have default value
true

When to trigger carbon intensity Dropdown list

Label
Carbon intensity filter
Slug
when_to_trigger_carbon_intensity
Required
true
Can have default value
true

Carbon intensity threshold Text input > Regular expression

Label
Carbon intensity threshold
Helper text
Leave blank to ignore carbon intensity.
Slug
carbon_intensity_threshold
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

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

PriceEnergy price (pence) when trigger event occurred.

Slug
price
Filter code
AgileOctopus.historyOfEnergyPriceThresholdChangeForDuration.Price
Type
String
Example
10.50

Triggered atDate when trigger event occurred.

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

Trigger pricePrice (pence) threshold in trigger settings.

Slug
trigger_price
Filter code
AgileOctopus.historyOfEnergyPriceThresholdChangeForDuration.TriggerPrice
Type
String
Example
10

Trigger intervalsNumber of 30-minute intervals in trigger settings.

Slug
trigger_intervals
Filter code
AgileOctopus.historyOfEnergyPriceThresholdChangeForDuration.TriggerIntervals
Type
String
Example
3