---
title: "Gets a list of all models that are accessible by the Azure OpenAI resource.
These include base models as well as all successfully completed fine-tuned models owned by the Azure OpenAI resource."
method: GET
path: "/models"
tags: ["Models:"]
---

# Gets a list of all models that are accessible by the Azure OpenAI resource.
These include base models as well as all successfully completed fine-tuned models owned by the Azure OpenAI resource.

`GET /models`

## Query parameters

- `api-version` string, required

## Response `200`

Success

- ModelList — Represents a list of models.
  - `object` 'list' | 'fine_tuning.job' | 'file' | 'fine_tuning.job.event' | 'fine_tuning.job.checkpoint' | 'model' | 'upload' | 'upload.part' | 'batch' | 'wandb' — Defines the type of an object.
  - `data` Model[] — The list of items.
    - `object` 'list' | 'fine_tuning.job' | 'file' | 'fine_tuning.job.event' | 'fine_tuning.job.checkpoint' | 'model' | 'upload' | 'upload.part' | 'batch' | 'wandb' — Defines the type of an object.
    - `created_at` integer — A timestamp when this job or item was created (in unix epochs).
    - `id` string — The identity of this item.
    - `status` 'created' | 'pending' | 'running' | 'pausing' | 'paused' | 'resuming' | 'succeeded' | 'cancelled' | 'failed' — The state of a finetunes object or fine tuning job.
    - `model` string — The base model identity (model-id) if this is a fine tune model; otherwise `null`.
    - `fine_tune` string — The fine tune job identity (fine-tune-id) if this is a fine tune model; otherwise `null`.
    - `capabilities` Capabilities, required — The capabilities of a base or fine tune model.
      - `fine_tune` boolean, required — A value indicating whether a model can be used for fine tuning.
      - `inference` boolean, required — A value indicating whether a model can be deployed.
      - `completion` boolean, required — A value indicating whether a model supports completion.
      - `chat_completion` boolean, required — A value indicating whether a model supports chat completion.
      - `embeddings` boolean, required — A value indicating whether a model supports embeddings.
    - `lifecycle_status` 'preview' | 'generally-available' | 'deprecating' | 'deprecated', required — The life cycle status of a model. Note: A model can be promoted from "preview" to "generally-available", but never from "generally-available" to "preview".
    - `deprecation` Deprecation, required — Defines the dates of deprecation for the different use cases of a model. Usually base models support 1 year of fine tuning after creation. Inference is typically supported 2 years after creation of base or fine tuned models. The exact dates are specified in the properties.
      - `fine_tune` integer — The end date of fine tune support of this model. Will be `null` for fine tune models.
      - `inference` integer, required — The end date of inference support of this model.

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-azureopenai-authoring.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-azureopenai-authoring/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-azureopenai-authoring/revisions/b177dc430e39/schema)
