List tracking sessions
GET /v1/tracking/sessions · Authorization: Bearer
GET
/v1/tracking/sessionsList tracking sessions
Returns a bounded cursor-paginated session list. Requires tracking:read.
- Credential
Authorization: Bearer- Plane
https://read-api.bardiyamap.com- Operation id
listSessions
Parameters
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | null | no | Opaque cursor taken from a previous page. Do not build or decode it. |
external_reference | string | null | no | Filter by your own reference, so a retried create never produces a second session. |
limit | integer | no | Page or result size. Omitting it uses the documented default, which is not “unlimited”.1 to 100 / default 20 |
status | string | null | no | Filter by lifecycle status. |
subject_type | string | null | no | Filter by tracked subject type. |
Request example
shell
curl "https://read-api.bardiyamap.com/v1/tracking/sessions?cursor=eyJwYWdlIjoxfQ&external_reference=order-1042&limit=20&status=active&subject_type=vehicle" \
-H "Authorization: Bearer $BARDIYA_TRACKING_KEY"Response 200 · PublicSessionListResponse
| Field | Type | Required | Notes |
|---|---|---|---|
has_more | boolean | yes | |
items | PublicSessionResponse[] | yes | |
next_cursor | string | null | no |
Errors
| Status | Meaning |
|---|---|
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 |
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 is part of the Tracking group. Values on this page are generated from contract version 1.1.0.
