Skip to main content
GET
List Operations in Route

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer <key>. Create one in the SWITCH Copilot under Settings → API keys (needs the API keys permission in your company), or with POST /auth/api-keys. The key is shown once, at creation.

Path Parameters

route_id
integer
required

Route ID, from the session detail or the route list.

Response

Operations retrieved. Returns the list ordered by step.

id
integer
required

Operation ID.

step
integer
required

Position of the operation in the route.

task_type
string
required

What the operator does at the stop, e.g. pickup.

latitude
number
required

Latitude of the stop (WGS84).

longitude
number
required

Longitude of the stop (WGS84).

provider
string
required

Fleet the vehicle belongs to.

estimated_arrive
string<date-time>
required

Estimated arrival time.

routing_parameters
Routing Parameters · object
required

Free-form data of the stop, as dispatched.

address
string | null

Street address, if known.

vehicle_properties
VehicleWithoutZone · object

Snapshot of the vehicle at planning time.

completed_at
string<date-time> | null

When the operation was completed; absent while open.

cancelled
string | null

Cancellation reason; absent unless cancelled.

additional_notes
string | null

Free-text notes.