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 sensor — readings from sensor 1
  • Subtotalssubtotals=true for aggregated summaries

Request

Request Headers

Every request to a protected endpoint requires these headers:

HeaderRequiredDescription
AuthorizationYesBearer token obtained from the Login endpoint. Format: Bearer <token>
X-API-KeyYesCompany integration key provided during onboarding. Format: gtk_xxx...
tenantYesYour assigned tenant domain (default: geotareas.com) — always send your assigned tenant
Content-TypeConditionalapplication/json — required for POST and PUT requests

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
datetimestring | nullDate of the record. Only populated when perday=true
horometer_startnumberHorometer reading at start of the range (hours)
horometer_endnumberHorometer reading at end of the range (hours)
ignition_hoursnumberTotal hours ignition was on within the range
ignition_secondsnumberSame value in seconds
ignition_formattedstringSame value formatted (e.g. "2h 15m")
temperature_1number | nullReading from temperature sensor 1 (°C). null if no sensor
fuelnumberEstimated fuel consumed at idle (liters). 0 if liters/hour is not configured
costnumberEstimated fuel cost. 0 if fuel price is not configured
co2numberEstimated CO₂ emissions (kg)
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",
"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,
"fuel": 23.4,
"cost": 35.10,
"co2": 60.84
}
],
"meta": {
"total": 42,
"limit": 50,
"offset": 0
}
}

Errors

CodeHTTPDescription
INVALID_DATE_RANGE400Date range exceeds the 31-day maximum, end before start, or non-ISO dates
VALIDATION_ERROR400Invalid params: missing dates
UNAUTHORIZED401Missing, invalid, or expired tenant / Authorization / X-API-Key
FORBIDDEN403User lacks APICLI_RPTAVL_IGNICION permission
RATE_LIMITED429Exceeded 10 req/min
INTERNAL_ERROR500Unexpected server error