---
title: "Get a list of model names including discontinued models"
method: GET
path: "/getInactiveModels"
tags: ["Static Data", "Starter Plan Or Greater"]
---

# Get a list of model names including discontinued models

`GET /getInactiveModels`

Get all model names including discontinued models. Because these models are no longer built, or have very poor market performance
they are not incuded in the normal getModels endpoint. Many users itterate through the model names with our new vehicle sales
endpoints and waste some of their quota making self contradictory requests. This endpoint was created to aleviate the use case where
someone requests information on new vehicle sales for a model that has not been sold new for a long, long, time. 

These names are used as arguments for other endpoints. The names are generally not case sensitive
when used with other endpoints, but it is best practice to use the names returned by this endpoint without changes.

## Query parameters

- `jwt` string, required
- `brandName` string, required

## Response `200`

Successful Response

- ModelResp
  - `brandName` string
  - `modelName` string
  - `regionName` string
  - `condition` string
  - `msg` string
  - `cacheTimeLimit` integer
  - `data` ModelDict[], required
    - `modelName` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/autodealerdata/apis/cis-automotive-api.md) · [All operations](https://skmtc.dev/autodealerdata/apis/cis-automotive-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/autodealerdata/cis-automotive-api/revisions/ffe19d0f3ae1/schema)
