Trips
Get Device Active Trip
Check if a single device is currently in motion and get its active trip.
GET
Returns active trip status for a single device based on its latest GPS sample. The
id path parameter accepts either short_id or hardware_id.
Path parameters
Device identifier — either
short_id or hardware_id.Query parameters
Maximum age of latest GPS sample in seconds.
How far back to load GPS history for trip detection.
km/h — below this speed is considered stopped.
Seconds — minimum moving time to count as a trip.
Meters — minimum distance to count as a trip.
Seconds — minimum stopped time to end a trip.
Seconds — data gaps longer than this are treated as stops.
km/h — minimum average speed to count as a trip.
m/s² — filter GPS spikes exceeding this value.
Response
Device hardware ID.
Whether the device is currently in motion.
Present when
active is true. Contains hardware_id, speed, last_position_at, last_position_age_seconds, location, and trip data.Configuration and parameters used for detection.