---
title: "Get a List of Years"
method: GET
path: "/v1/md/vehicles"
tags: ["Vehicles"]
---

# Get a List of Years

`GET /v1/md/vehicles`

## Request

- Base URL: `https://sandbox-api.spinwheel.io`
- URL: `https://sandbox-api.spinwheel.io/v1/md/vehicles`
- Auth: API key in header `Authorization`

Get a list of years for vehicles

## Response `200`

- YearsResponse
  - `data` string[], required
  - `status` ResponseStatus, required
    - `code` number
    - `desc` string
    - `messages` Message[]
      - `desc` string, required
      - `type` 'ERROR' | 'WARN' | 'INFO'

## Other responses

- `400`: Bad request response
- `401`: Unauthorized response
- `404`: Not found response
- `500`: Internal server error response

---

[API](https://skmtc.dev/spinwheel/apis/insights.md) - [All operations](https://skmtc.dev/spinwheel/apis/insights/llms.txt) - [OpenAPI document](https://skmtc.dev/spinwheel/apis/insights/revisions/65f258a19682?raw)
