> ## Documentation Index
> Fetch the complete documentation index at: https://stage-docs.getswitch.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Fleet Settings

> Whether your company runs a station-based (docked) or a free-floating fleet. Companies that never set it are station-based.

**Failure Modes:**
- **401**: Token is missing or invalid
- **403**: Insufficient permissions

**Required Auth Scopes:**
- `copilot:optimize`



## OpenAPI

````yaml /api-reference/openapi.json get /operations/fleet-settings
openapi: 3.1.0
info:
  title: SWITCH API
  version: '1.0'
  description: >-
    The SWITCH API gives mobility and logistics teams programmatic access to
    SWITCH forecasts, fleet operations, routing and analytics. Every request is
    authenticated with an API key sent as a bearer token.
servers:
  - url: https://stage-api.getswitch.io
    description: Stage
security: []
tags:
  - name: Forecast
    description: Demand forecasts per zone and time window.
  - name: Operations
    description: Fleet imbalance, rebalancing suggestions and generated tasks.
  - name: Routing
    description: Route optimisation for single and multiple fleets.
  - name: Routing Sessions
    description: Saved routing sessions, their routes and drivers.
  - name: Routing Operations
    description: Complete, undo and re-route the stops of a route.
  - name: Fleet Management
    description: Your depots, stations, drivers and cargo vehicles.
  - name: Integrations
    description: Vehicles, statuses and commands on your fleet platform.
  - name: Station Based Analytics
    description: Analytics for station-based (docked) services.
  - name: Zone Based Analytics
    description: Analytics for free-floating services, by zone.
  - name: Free Float Analytics
    description: Trip history for free-floating services.
  - name: Transit Analytics
    description: Punctuality and service delivery for public transit.
  - name: Live
    description: Real-time fleet, delivery and transit status.
  - name: Grids
    description: Spatial grids used by forecasts and analytics.
  - name: API Keys
    description: Create and manage the API keys you call this API with.
paths:
  /operations/fleet-settings:
    get:
      tags:
        - Fleet Management
      summary: Get Fleet Settings
      description: >-
        Whether your company runs a station-based (docked) or a free-floating
        fleet. Companies that never set it are station-based.


        **Failure Modes:**

        - **401**: Token is missing or invalid

        - **403**: Insufficient permissions


        **Required Auth Scopes:**

        - `copilot:optimize`
      operationId: get_fleet_settings_operations_fleet_settings_get
      responses:
        '200':
          description: Fleet settings retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FleetSettingsPublic'
        '401':
          description: Unauthorized. Token is missing or invalid.
        '403':
          description: Forbidden. Insufficient permissions.
      security:
        - HTTPBearer: []
        - HTTPBearer: []
components:
  schemas:
    FleetSettingsPublic:
      properties:
        is_station_based:
          type: boolean
          title: Is Station Based
          description: >-
            `true` for a station-based (docked) fleet, `false` for a
            free-floating one.
      type: object
      required:
        - is_station_based
      title: FleetSettingsPublic
      description: Your company's fleet model.
      examples:
        - is_station_based: true
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      description: >-
        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.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.