Get durable tracking history
GET /v1/tracking/sessions/{session_id}/history · Authorization: Bearer
/v1/tracking/sessions/{session_id}/historyGet durable tracking history
Returns bounded keyset-paginated location history for recovery and playback. Requires tracking:read. History older than the hot retention window is served from the verified immutable archive once source reclamation is active; a page is never partially returned. Archive failures use history_archive_unavailable (503), history_archive_incomplete (503), history_archive_scan_limit (503) or history_archive_corrupt (502); retry only the first three.
- Credential
Authorization: Bearer- Plane
https://read-api.bardiyamap.com- Operation id
getHistory
Parameters
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
session_id | string (uuid) | yes | Tracking session id returned by POST /v1/tracking/sessions. A device credential from one session cannot write to another.uuid |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | null | no | Opaque cursor taken from a previous page. Do not build or decode it. |
from | string | null | no | Start of the window, ISO 8601 with an explicit UTC offset. |
limit | integer | no | Page or result size. Omitting it uses the documented default, which is not “unlimited”.1 to 500 / default 200 |
to | string | null | no | End of the window, ISO 8601 with an explicit UTC offset. |
Request example
curl "https://read-api.bardiyamap.com/v1/tracking/sessions/ses_01HX9Z6Q3M/history?cursor=eyJwYWdlIjoxfQ&limit=200" \
-H "Authorization: Bearer $BARDIYA_TRACKING_KEY"Response 200 · HistoryPage
| Field | Type | Required | Notes |
|---|---|---|---|
has_more | boolean | yes | |
items | HistoryPoint[] | yes | |
next_cursor | string | null | no | |
retention_days | integer | null | no |
Errors
| Status | Meaning |
|---|---|
400 | Request is malformed or a parameter is out of range |
401 | Authentication failed |
403 | Required scope is missing |
404 | Resource not found or is not visible to this tenant |
409 | Conflict or idempotency error |
422 | Validation Error |
429 | Rate limit or quota exceeded; honour `Retry-After` |
503 | Public transport is temporarily unavailable |
Error bodies use the shared envelope documented in Errors: { "error": { "code", "message", "details", "request_id" } }.
GET /v1/tracking/sessions/{session_id}/history is part of the Tracking group. Values on this page are generated from contract version 1.1.0.
