Skip to content

Get a sequence by ID

Request

Security
ApiKeyAuth
Path
tourIdstring, (uuid)required

Unique tour identifier (generated by Better Route backend)

Example:3fa85f64-5717-4562-b3fc-2c963f66afa6
sequenceIdinteger, (int64)required

Unique sequence identifier (generated by Better Route backend)

Example:10234
curl -i -X GET \
  https://dev.routes.bettermile.com/v1/tours/3fa85f64-5717-4562-b3fc-2c963f66afa6/sequences/10234 \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Full sequence information, including open, closed and unassigned waypoints

Bodyapplication/json
dataobject(Sequence)

Full information about a sequence, including open, closed and unassigned waypoints

Example:
{ "sequenceId": 10234, "mode": "FIXED_OPTIMIZATION", "coords": { "lat": 52.52, "lon": 13.405 }, "startTime": "2026-08-03T08:00:00Z", "sequenceIdWithPreviousWaypointOrder": null, "created": "2026-08-03T07:55:00Z", "sequenceFidelity": 0.95, "destination": { "address": { … }, "eta": "2026-08-03T15:30:00Z" }, "openWaypoints": [ { … } ], "closedWaypoints": [], "unassignedWaypoints": [] }
Response
{ "data": { "sequenceId": 10234, "mode": "FIXED_OPTIMIZATION", "coords": { … }, "startTime": "2026-08-03T08:00:00Z", "sequenceIdWithPreviousWaypointOrder": null, "created": "2026-08-03T07:55:00Z", "sequenceFidelity": 0.95, "destination": { … }, "openWaypoints": [ … ], "closedWaypoints": [], "unassignedWaypoints": [] } }