get
/api/v2/regional-travel-metrics/idle-metrics/{id}
Python SDK method:
client.rtm.idle_metrics(id=job_id).results()

Get idle metrics results

Returns paginated idle duration and idle fuel consumption results for a completed idle metrics job.

Altitude Help Center — getIdleMetrics

Input Parameters

NameLocationTypeValuesDescriptionValue Required
idpathstring-Unique resource identifier.Y
pageTokenquerystring-Pagination token returned in the Link header of a previous response. Omit to fetch the first page.N

Success Responses

200 response: object

Paginated result data. When more pages are available, a Link: rel="next" header and Altitude-* pagination headers are included in the response.

NameTypeDescription
idleByFuelTypearray<object>Array of objects representing the idle duration and contributing vehicle count for each fuel type.
idleByIndustryarray<object>Array of objects representing the idle duration and contributing vehicle count for each NAICS code 1.
idleByRoadTypearray<object>Array of objects representing the idle duration and contributing vehicle count for each road type.
idleByVehicleClassarray<object>Array of objects representing the idle duration and contributing vehicle count for each vehicle class.
idleByVehicleYeararray<object>Array of objects representing the idle duration and contributing vehicle count for each vehicle year bucket.
idleByVocationarray<object>Array of objects representing the idle duration and contributing vehicle count for each vocation.
idleDurationnumber (double)The total idle duration (minutes) for this row.
iso_3166_2stringThe ISO 3166:2 code of the zone.
tripCountinteger (int64)The total number of trips in the zone.
tripCountTotalinteger (int64)The total number of trips in the analysis.
vehicleCountinteger (int64)The total number of unique vehicles in the zone.
vehicleCountTotalinteger (int64)The total number of unique vehicles in the analysis.
zoneCodestringRaw zone code.
zoneIdstringThe zone id for which the data is returned.
zoneNamestringDescription of the zone when available. The value is based on the type of zone: 'State' — state name, 'County' — county name, 'City' — city name, 'CTR' — census tract description, 'Segment' — road name if available, 'Custom' — custom zone name.
zoneTypestringThe zone type of the zone.

Response Errors

HTTP Status CodeReason
400The request body or parameters are invalid.
401Authentication is required or the provided credentials are invalid.
403The authenticated user lacks permission to perform this operation.
404The requested resource does not exist.
409Result not yet ready. Poll the status monitor.
429The request rate limit has been exceeded.
500An unexpected server error occurred.