SmartGare
API referenceEndpoints

Read the coaches that left, the latest first, with their past stages

**Required permission:** `supervision.live-view:read`

GET/supervision/v1/coach-flow/departed

Required permission: supervision.live-view:read

AuthorizationBearer <token>

In: header

Query Parameters

limit?integer

At most this many coaches, between 1 and 200.

Formatint32
Default50

Response Body

*/*

curl -X GET "https://example.com/supervision/v1/coach-flow/departed"
{  "coaches": [    {      "left_at": "2019-08-24T14:15:22Z",      "plate_number": "string",      "stages": [        {          "arrived_at": "2019-08-24T14:15:22Z",          "left_at": "2019-08-24T14:15:22Z",          "overrun": {            "limit_exceeded_at": "2019-08-24T14:15:22Z",            "maximum_minutes": 0,            "minutes_over": 0          },          "seconds_at_stage": 0,          "stage": "string"        }      ],      "vehicle_cycle_id": "string",      "vehicle_id": "string"    }  ],  "read_at": "2019-08-24T14:15:22Z"}