Skip to main content
GET
Get Session Detail

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

slug
string
required

Session identifier, as sent when it was dispatched.

Response

Session retrieved. Returns the session with routes, operations, and drivers.

Full session detail response (includes routes + operations).

slug
string
required

Session identifier.

company_slug
string
required

Owning company.

created_at
string<date-time>
required

When the session was dispatched.

updated_at
string<date-time> | null

Last update, if any.

routes
RoutePublic · object[]

Routes with their drivers and operations.