---
title: "Gets details for the model specified by the given modelId."
method: GET
path: "/models/{model-id}"
tags: ["Models:"]
---

# Gets details for the model specified by the given modelId.

`GET /models/{model-id}`

## Path parameters

- `model-id` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- Model — A model is either a base model or the result of a successful fine tune job.
  - `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)
