Skip to main content
GET
List Fleet Stations

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.

Query Parameters

location
string
required

Location (city) to read, one your company's fleet integration covers, e.g. milan. GET /auth/me lists them under access.data.fleets.

min_lat
number | null

Bounding box south edge (latitude). The box applies only when all four bounds are given.

max_lat
number | null

Bounding box north edge (latitude).

min_lng
number | null

Bounding box west edge (longitude).

max_lng
number | null

Bounding box east edge (longitude).

config_source
enum<string>
default:mobile

Legacy parameter, kept for compatibility and ignored: the integration is always the one configured for your company.

Available options:
mobile,
ops
filter
string[]

Filter on a field of the returned items, as field:op:value (or field:value for eq); repeat the parameter to combine filters (AND). Operators: eq, neq, contains (case-insensitive, text fields), gt, gte, lt, lte (numbers), in (comma-separated values). Nested fields use dots, e.g. extra_params.zone. A filter with an unknown operator is ignored. Example: battery_level:lt:20.

sort
string
default:""

Sort order as comma-separated field:dir pairs, dir being asc (default) or desc; items without the field come last. Example: battery_level:asc,last_seen:desc.

limit
integer
default:50

Items per page (1-500).

Required range: 1 <= x <= 500
cursor
string | null

Opaque cursor from the previous page's next_cursor; omit it for the first page. Keep the same filters and sort between pages.

Response

Stations retrieved. One page of stations and the pagination state.

items
IntegrationStation · object[]
required
next_cursor
string | null
has_more
boolean
default:false
total_count
integer
default:0