---
title: "GET /info"
method: GET
path: "/info"
---

# GET /info

`GET /info`

Returns information about the AI model deployed.
The method makes a REST API call to the `/info` route on the given endpoint.
This method will only work when using Serverless API, Managed Compute, or Model
Inference endpoints. Azure OpenAI endpoints don't support it.

**Deprecated**: This API is deprecated. Use the OpenAI API instead.
See [migration guide](https://learn.microsoft.com/azure/foundry/how-to/model-inference-to-openai-migration).

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- ModelInfo — Represents some basic information about the AI model.
  - `model_name` string, required — The name of the AI model. For example: `Phi21`
  - `model_type` 'embeddings' | 'chat-completion', required — The type of AI model
  - `model_provider_name` string, required — The model provider name. For example: `Microsoft`

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/ai-model-inference.md) · [All operations](https://skmtc.dev/azure/apis/ai-model-inference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/ai-model-inference/revisions/6a2cfd0ca1ff/schema)
