---
title: "Get vehicles with engine faults or check lights"
method: GET
path: "/v1/fleet/maintenance/list"
tags: ["Maintenance"]
---

# Get vehicles with engine faults or check lights

`GET /v1/fleet/maintenance/list`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/v1/fleet/maintenance/list`
- Auth: HTTP bearer

> 🚧 This endpoint is still on our legacy API.

Get list of the vehicles with any engine faults or check light data. 

 **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

To use this endpoint, select **Read DVIRs** under the Maintenance category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

## Response `200`

List of vehicles and maintenance information about each.

- InlineResponse2004
  - `vehicles` V1VehicleMaintenance[]
    - `id` integer, required: ID of the vehicle.
    - `j1939` V1VehicleMaintenanceJ1939: J1939 based data. Null if no data is available.
      - `checkEngineLight` V1VehicleMaintenanceJ1939CheckEngineLight: J1939 check engine lights.
        - `emissionsIsOn` boolean
        - `protectIsOn` boolean
        - `stopIsOn` boolean
        - `warningIsOn` boolean
      - `diagnosticTroubleCodes` V1VehicleMaintenanceJ1939DiagnosticTroubleCodes[]: J1939 DTCs.
        - `fmiId` integer, required
        - `fmiText` string, required
        - `occurrenceCount` integer, required
        - `spnDescription` string, required
        - `spnId` integer, required
        - `txId` integer, required
    - `passenger` V1VehicleMaintenancePassenger: Passenger vehicle data. Null if no data is available.
      - `checkEngineLight` V1VehicleMaintenancePassengerCheckEngineLight: Passenger vehicle check engine light.
        - `isOn` boolean
      - `diagnosticTroubleCodes` V1VehicleMaintenancePassengerDiagnosticTroubleCodes[]: Passenger vehicle DTCs.
        - `dtcDescription` string, required
        - `dtcId` integer, required
        - `dtcShortCode` string, required

## Other responses

- `default`: Unexpected error.

---

[API](https://skmtc.dev/samsara/apis/samsara-api.md) - [All operations](https://skmtc.dev/samsara/apis/samsara-api/llms.txt) - [OpenAPI document](https://skmtc.dev/samsara/apis/samsara-api/revisions/a9e35d4999be?raw)
