---
title: "GET /api/v1/models"
method: GET
path: "/api/v1/models"
tags: ["Models"]
---

# GET /api/v1/models

`GET /api/v1/models`

Get available AI models in OpenAI compatible format.

## Response `200`

success response

- object
  - `object` 'list', required — The type of object returned, always "list" for model listing responses. Helps identify this as a collection of models.
  - `data` object[], required — An array containing the available models. Each element is a complete model object with all its properties.
    - `id` string, required — The unique identifier of the model. This can be used to specify the model in API requests. For fine-tuned models, this may include a user-specific prefix.
    - `created` integer, required — Unix timestamp (in seconds) when this model was created or made available. For fine-tuned models, this represents when the fine-tuning was completed.
    - `object` 'model', required — The type of object represented, which is always "model" for model objects. This helps distinguish model objects from other types of responses.
    - `owned_by` string, required — Identifies the owner or provider of the model. Can be "premai" for base models, a user ID for fine-tuned models, or other providers like "openai" or "anthropic".

## Other responses

- `400` — bad request
- `401` — unauthenticated
- `403` — unauthorized
- `404` — not found
- `409` — conflict
- `500` — internal server error

## Changes

- **2025-11-12** `d71329d1d771` — 1 info
  - added the non-success response with the status `500`
- **2025-09-04** `6fce808cc14e` — 2 breaking, 2 warning, 5 info
  - the `object` response property const value `list` was removed for the status `200`
  - the `object` response property const value `model` was removed for the status `200`
  - added the new `list` enum value to the `object` response property for the response status `200`
  - added the new `model` enum value to the `data/items/object` response property for the response status `200`
  - …5 more
- **2025-07-01** `23071e238f5e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/premai-io/apis/prem-studio-api/changes/api/v1/models/get.md)

---

[API](https://skmtc.dev/premai-io/apis/prem-studio-api.md) · [All operations](https://skmtc.dev/premai-io/apis/prem-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/premai-io/prem-studio-api/revisions/2cb1f5df1b89/schema)
