---
title: "Generations of a model"
method: GET
path: "/models/{id}/generations"
tags: ["catalog"]
---

# Generations of a model

`GET /models/{id}/generations`

## Request

- Base URL: `https://api.cars-data.com/v1`
- URL: `https://api.cars-data.com/v1/models/{id}/generations`
- Auth: one of:
  - API key in header `X-Api-Key`
  - HTTP bearer

## Path parameters

- `id` string, required

## Query parameters

- `locale` 'ar' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'es' | 'fr' | 'hr' | 'hu' | 'it' | 'no' | 'pl' | 'pt' | 'ro' | 'sk' | 'sr' | 'sv' | 'tr'
- `cursor` string
- `limit` integer

## Response `200`

OK

- GenerationListEnvelope
  - `data` Generation[]
    - `generation_id` string: Opaque generation token. Pass it to /generations/{id}/variants. Renamed from `id` in T157, for the same reason as Model.model_id.
    - `model_id` string
    - `name` string
    - `slug` string
    - `year_end` integer, nullable
    - `year_start` integer, nullable
  - `links` Links
    - `next` string, nullable: Opaque cursor for the next page; absent when the page was not full.
  - `meta` Meta
    - `last_synced_at` string, date-time, required
    - `locale` string
    - `units` 'metric' | 'imperial'

## Other responses

- `401`: No key, or a key we do not know. `WWW-Authenticate: Bearer` on the MCP surface. The MCP server needs no key at all; a REST demo key is one click away. On the two x402 routes a request with no key gets `402` instead, with the price.
- `403`: The key is revoked or not yet active, or — on a demo key — the path is outside the demo tier. The detail says which, and carries the upgrade path.
- `404`: RFC 9457 problem document.

---

[API](https://skmtc.dev/cars-data/apis/cars-data-com-api.md) · [All operations](https://skmtc.dev/cars-data/apis/cars-data-com-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cars-data/apis/cars-data-com-api/revisions/4aeb6b2b5c5f?raw)
