Skip to main content

Ignition Report

Engine hours tracking — ignition on time, horometer readings, fuel consumption, emissions, and temperature sensor data.

GET/apidev/v1/reports/avl/ignition
PermissionAPICLI_RPTAVL_IGNICION
Rate Limit10 req/min (sliding window)
Cache300s (5 min)
Max Range31 days

Overview

Total engine-on time (ignition hours) per vehicle with horometer readings, fuel/cost/CO₂ estimates, and temperature sensors.

  • Horometer readings — start and end values for precise engine-hour accounting
  • Daily breakdownperday=true for one row per vehicle per day
  • Cost estimation — fuel, cost, and CO₂ from ignition hours and vehicle config
  • Temperature sensors — readings from sensor 1 and sensor 2
  • Subtotalssubtotals=true for aggregated summaries

Query Parameters

ParameterTypeRequiredDefaultDescription
startdatestringYesISO 8601 start date-time
enddatestringYesISO 8601 end date-time. Max range 31 days
devicesstringNoAll visibleComma-separated device IDs. Max 500
perdaybooleanNofalseGroup results by day
subtotalsbooleanNofalseInclude subtotal rows
limitintegerNo25Records per page (1100)
offsetintegerNo0Records to skip

Code Examples

curl -s "https://$TENANT/apidev/v1/reports/avl/ignition?startdate=2026-03-01T00:00:00&enddate=2026-03-15T23:59:59&limit=50&perday=true" \
-H "Authorization: Bearer $TOKEN" \
-H "X-API-Key: $APIKEY" \
-H "tenant: $TENANT"

Response Fields

FieldTypeDescription
device_namestringDisplay name of the vehicle/device
device_groupstringGroup the device belongs to
datetimestring | nullDate or date-time of the record
horometer_startnumberHorometer reading at start of period (hours)
horometer_endnumberHorometer reading at end of period (hours)
ignition_hoursnumberTotal hours ignition was on (derived from minutes)
ignition_secondsnumberTotal seconds ignition was on
ignition_formattedstringHuman-readable ignition time (e.g. "8h 32m")
temperature_1number | nullReading from temperature sensor 1 (°C). null if no sensor
temperature_2number | nullReading from temperature sensor 2 (°C). null if no sensor
fuelnumberEstimated fuel consumed based on ignition hours (liters)
costnumberEstimated fuel cost
co2numberEstimated CO₂ emissions (kg)
estimated_kmsnumberEstimated distance from ignition time and configured speed
tip

fuel, cost, and co2 are estimated from ignition hours using the fuel consumption rate per hour configured per vehicle. If not configured, these return 0.

Example Response

{
"success": true,
"data": [
{
"device_name": "Truck A-101",
"device_group": "Logistics North",
"datetime": "2026-03-05",
"horometer_start": 2100.5,
"horometer_end": 2108.3,
"ignition_hours": 7.8,
"ignition_seconds": 28080,
"ignition_formatted": "7h 48m",
"temperature_1": 22.5,
"temperature_2": null,
"fuel": 23.4,
"cost": 35.10,
"co2": 60.84,
"estimated_kms": 195.0
}
],
"meta": {
"total": 42,
"limit": 50,
"offset": 0
}
}

Errors

CodeHTTPDescription
BAD_REQUEST400Missing required headers
VALIDATION_ERROR400Invalid params: missing dates, range > 31 days
UNAUTHORIZED401Invalid or expired JWT / API Key
FORBIDDEN403User lacks APICLI_RPTAVL_IGNICION permission
RATE_LIMITED429Exceeded 10 req/min
INTERNAL_ERROR500Unexpected server error