---
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

---

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