---
title: "List the models available from an AI provider."
method: GET
path: "/v1/ai/models"
tags: ["AI"]
---

# List the models available from an AI provider.

`GET /v1/ai/models`

## Headers

- `X-AI-Base-Url` string, required
- `X-AI-Api-Key` string

## Response `200`

- object
  - `data` ResAIModels
    - `models` string[]
  - `status` string

## Other responses

- `400` — Fail due to resource not exists
- `401` — Server understand request but refuse to authorize it
- `502` — Unexpected error occurred
- `503` — Unexpected error occurred

## Changes

- **2026-09-16** `15ae2821b57b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/improwised/apis/untitled-api/changes/v1/ai/models/get.md)

---

[API](https://skmtc.dev/improwised/apis/untitled-api.md) · [All operations](https://skmtc.dev/improwised/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc.dev/improwised/apis/untitled-api/revisions/15ae2821b57b?raw)
