---
title: "List models"
method: GET
path: "/v1/models"
tags: ["Generation API"]
---

# List models

`GET /v1/models`

## Request

- Base URL: `https://api.writer.com`
- URL: `https://api.writer.com/v1/models`
- Auth: HTTP bearer

Retrieve a list of available models that can be used for text generation, chat completions, and other AI tasks.

## Response `200`

Successful response

- ModelsResponse
  - `models` ModelInfo[], required: The [ID of the model](https://dev.writer.com/home/models) to use for processing the request.
    - `name` string, required: The name of the particular LLM that you want to use.
    - `id` string, required: The ID of the particular LLM that you want to use

## Changes

- **2024-10-03** `4a11c63c7cb5`: 1 breaking
  - removed the media type `text/event-stream` for the response with the status `200`
- **2024-09-24** `5d34056e0e74`: 1 warning, 1 info
  - removed the optional property `items/data/choices/items/message/tool_calls` from the response with the `200` status
  - removed the `tool_calls` enum value from the `items/data/choices/items/finish_reason` response property for the response status `200`
- **2024-09-20** `149f74d46fcb`: 1 warning, 1 info
  - added the new `tool_calls` enum value to the `items/data/choices/items/finish_reason` response property for the response status `200` (media type: text/event-stream)
  - added the optional property `items/data/choices/items/message/tool_calls` to the response with the `200` status (media type: text/event-stream)

[Operation history](https://skmtc.dev/writer/apis/writer-api/changes/v1/models/get.md)

---

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