---
title: "Get Model"
method: GET
path: "/ai/model/{id}"
tags: ["model"]
---

# Get Model

`GET /ai/model/{id}`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/ai/model/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/ai/model/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get Model details

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

- GetModelResponse: AI model
  - `updated-at` string, date-time, required: Update time
  - `name` string, required: Model name
  - `state` 'ready' | 'creating' | 'downloading' | 'error' | 'created', required: Model state
  - `id` string, uuid, required: Model ID
  - `model-size` integer, required: Model size in bytes
  - `created-at` string, date-time, required: Creation time

## Other responses

- `404`: Not Found

## Changes

- **2026-11-06** `63da6f74c845`: 2 warning, 6 info
  - removed the optional property `errors` from the response with the `404` status
  - removed the optional property `instance` from the response with the `404` status
  - the response property `created-at` became required for the status `200`
  - the response property `id` became required for the status `200`
  - …4 more
- **2026-03-16** `e05707a7b346`: 2 warning, 9 info
  - removed the optional property `error` from the response with the `404` status
  - removed the optional property `status` from the response with the `200` status
  - api tag `model` added
  - api tag `dedicated-inference` removed
  - …7 more
- **2025-11-14** `352cae63dff6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/exoscale/apis/exoscale-api/changes/ai/model/:id/get.md)

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
