---
title: "Get AI model"
method: GET
path: "/public/v1/ai-models/{aiModelId}"
tags: ["AI Models"]
---

# Get AI model

`GET /public/v1/ai-models/{aiModelId}`

Returns one AI model by ID.

## Path parameters

- `aiModelId` number, nullable

## Response `200`

AI model

- AiModel
  - `id` number, required
  - `name` string, required
  - `description` string, nullable
  - `creditsPerMessage` number
  - `isDefault` boolean
  - `order` number
  - `analyticsColor` string, nullable
  - `externalId` string, nullable
  - `aiVendor` string
  - `reasoningModel` boolean
  - `type` 'TEXT' | 'TRANSCRIPTION' | 'FILE_ANALYSIS'

## Other responses

- `404` — AI model not found

---

[API](https://skmtc.net/getfrontline/apis/public-api.md) · [All operations](https://skmtc.net/getfrontline/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getfrontline/public-api/revisions/9d33b6aad674/schema)
