Common Queries
Last updated
Was this helpful?
Last updated
Was this helpful?
Here's a list of common queries that developers might find useful:
query {
availableSignals(
tokenId: ${tokenId}
)
}
query {
signals(
tokenId: ${tokenId},
interval: "24h",
from: "${startDate}", to: "${endDate}",
filter: {
source: "autopi"
})
{
speed(agg: MED)
powertrainType(agg: RAND)
powertrainRange(agg: MIN)
exteriorAirTemperature(agg: MAX)
vehicleIdentificationModel(agg: RAND)
chassisAxleRow1WheelLeftTirePressure(agg: MIN)
timestamp
}
}
query {
signals(
tokenId: ${tokenId},
from: "${startDate}", to: "${endDate}",
interval: "24h"
)
{
timestamp
avgSpeed: speed(agg: AVG)
}
}