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

Get idle metrics time-series results

Returns paginated time-series idle metrics for a completed idle metrics time-series job. To generate time series, set generateTimeSeries parameter to true on the original analysis along with aggregationUnits.

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
aggregationUnitstringThe time-based unit by which to aggregate data (e.g. 'Hour', 'DayOfWeek', 'Month').
aggregationValuestringThe associated AggregationUnit value. Format depends on AggregationUnit: hour — number 0–23; dayofweek — 1 (Sunday) to 7 (Saturday); month — month number 1–12.
idleByFuelTypearray<object>Array of objects representing the idle duration and contributing vehicle count for each fuel type for this aggregation bucket.
idleByVehicleClassarray<object>Array of objects representing the idle duration and contributing vehicle count for each vehicle class for this aggregation bucket.
idleByVocationarray<object>Array of objects representing the idle duration and contributing vehicle count for each vocation for this aggregation bucket.
idleDurationnumber (double)The total idle duration (minutes) in the zone for the aggregation bucket before turning off the ignition at the end of a trip or idling at the start of a trip. Mid-trip idling is not included.
iso_3166_2stringThe ISO 3166:2 code of the zone.
tripCountinteger (int64)The total number of trips for the aggregation unit and aggregation value.
vehicleCountinteger (int64)The total number of unique vehicles for the aggregation unit and aggregation value.
zoneCodestringRaw zone code (e.g. county FIPS, ZIP code, custom zone ID).
zoneIdstringEncoded zone identifier for use in subsequent API requests.
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.