Event Data
Raw telemetry events, every field, paged by cursor.
Raw events for an account in a time window
Every EventData field for each event in the window, oldest first. Events are
ordered by timestamp, then device_id, then status_code, which together
identify an event, so paging never skips or repeats one.
Paging
Each response carries up to page_size events. While next_cursor is not null,
request again with cursor=<next_cursor> (or simply follow next, the full URL).
The last page has next_cursor: null. A window with no events returns an empty
results.
Late-arriving events
Events are selected by when they happened (timestamp), not when FleetTrack
received them (creation_time). A vehicle out of coverage uploads its buffered
events when it reconnects, so events for a time you have already fetched can
appear later. To stay complete, re-pull the last 72 hours on every sync and
store events keyed on account_id, device_id, timestamp and status_code:
a re-pulled event then replaces its earlier copy instead of duplicating it.
Compression
Send Accept-Encoding: gzip. A row is about 3 KB of JSON, mostly field names, and
compresses roughly tenfold.
Limits
- Window: at most 31 days per request.
- Rate: 120 requests per minute per API key, on this route and across all routes
combined (
429 rate_limited). - Concurrency: 4 Event Data requests in flight per account
(
429 too_many_concurrent_requests). Page sequentially rather than in parallel. - A single page that takes too long is abandoned with
503 query_timeout; retry with a narrower window, adevice_id, or a smallerpage_size.
query Parameters
account_idMust be the account your key is bound to.
fromStart of the window, inclusive. An exact UTC instant, not a date.
toEnd of the window, inclusive. The span must not exceed 31 days and to
must not precede from. Like from, an exact instant: end a whole day at its last
second, for example to=2026-09-01T23:59:59Z.
device_idOptional. Restrict to one vehicle. Omit for every vehicle in the account.
page_sizeRows per page. Default and maximum 1000.
cursorOpaque. Pass the previous page's next_cursor to get the next page, with the
same other parameters. Do not build or edit cursors.
Raw events for an account in a time window › Responses
One page of events.
account_iddevice_idThe device_id filter, or null for the whole account.
fromtonext_cursorPass as cursor for the next page; null on the last page.
nextThe next page's full URL, or null on the last page.
Correct one event
Corrects fields of a single event, identified by its full key: device_id, timestamp
and status_code in the path, account_id in the query. Use it to fix bad data, such as an
odometer reading that went backwards or a GPS glitch. Events are never created, replaced or
deleted through the API; only PATCH is offered.
Write access
Needs an API key issued with the eventdata:write scope, bound to a user whose role may
write. Ordinary keys are read-only and get 403 forbidden. Ask FleetTrack for a write key;
keep it separate from your read key so either can be revoked alone.
What can change
Send only the fields to change, by their published names, as a JSON object. Every field of
EventRecord can be corrected except account_id, device_id, timestamp,
status_code, creation_time, creation_millis and attach_data (marked read-only).
A body naming any of them -- even with its current value -- is refused with
400 immutable_field, and nothing is changed. Values must fit the field's type and limits
(see EventRecord); times are ISO 8601 with an offset, and null clears a field.
Every change is recorded
FleetTrack keeps the event's previous values with each correction, so a correction can be
reviewed and reversed. A field already holding the requested value is not changed or
recorded; when nothing differs, changed_fields is empty and audit_id is null.
Limits
- Rate: 30 corrections per minute per API key (
429 rate_limited), within the 120 per minute across all routes.
Reports catch up within minutes
Trip, idle and speeding figures already calculated from the event are recalculated automatically for the event's day and the days either side, a few minutes after the correction. Corrections to the same day are batched into one recalculation.
path Parameters
device_idThe event's device_id.
timestampThe event's timestamp, exactly as published, e.g. 2026-09-30T14:03:22Z. Any UTC offset is accepted.
status_codeThe event's status_code.
query Parameters
account_idMust be the account your key is bound to.
Correct one event › Request Body
Correct one event › Responses
The event after the correction.
One EventData row. Every field is always present; a value the device did not report is null (or, for some devices, 0). account_id, device_id, timestamp and status_code together identify the event.
changed_fieldsFields whose value actually changed, in published order.
audit_idFleetTrack's record of this correction; quote it when asking for a correction to be reversed. null when nothing changed.