A beginner's guide
Explore Plans
Mobile menu Close menu
KaiterraKaiterra

History of AQI below threshold

This query returns a list of when the AQI at your location was below a selected threshold. Note: this query will only return future events after this Applet is created.

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This query returns a list of when the AQI at your location was below a selected threshold. Note: this query will only return future events after this Applet is created.
API endpoint slug
kaiterra.history_of_aqi_below_threshold
Runtime method
performQuery("kaiterra.history_of_aqi_below_threshold")

Query fields

Location Location input > Point

Label
What is your location?
Helper text
Select the location you want air quality data for
Slug
location
Required
true
Can have default value
true

Threshold Dropdown list

Label
What is your AQI threshold?
Slug
threshold
Required
true
Can have default value
false

Ingredients

Created atDate and time event was created.

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

AqiThe current aqi value in your location

Slug
aqi
Filter code
Kaiterra.historyOfAqiBelowThreshold.Aqi
Type
String
Example
20