---
title: "Get an AI Gateway Model"
method: GET
path: "/v1/ai-gateways/{gatewayId}/models/{modelIdOrName}"
tags: ["AI Gateway Models"]
---

# Get an AI Gateway Model

`GET /v1/ai-gateways/{gatewayId}/models/{modelIdOrName}`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v1/ai-gateways/{gatewayId}/models/{modelIdOrName}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Returns the details of a specific AI Gateway model.

## Path parameters

- `gatewayId` string, uuid, required: Contains a unique identifier used for this resource.
- `modelIdOrName` string, required: Identifier for an AI Gateway entity. In some cases, this may be the entity name or ID.

## Response `200`

A successful response returning the AI Gateway Model.

- union: Configuration for an AI Gateway model.
  - intersection
    - object
      - `id` string, uuid, required: Contains a unique identifier used for this resource.
      - `created_at` string, date-time, required: An ISO-8601 timestamp representation of entity creation date.
      - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.
    - [`AIGatewayModelAPI`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FAIGatewayModelAPI)
  - intersection
    - object
      - `id` string, uuid, required: Contains a unique identifier used for this resource.
      - `created_at` string, date-time, required: An ISO-8601 timestamp representation of entity creation date.
      - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.
    - [`AIGatewayModelModel`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FAIGatewayModelModel)

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests

## Changes

- **2026-11-19** `3b071797f6e4`: 2 info
  - added the optional property `oneOf[#/components/schemas/AIGatewayModelAPI]/datastores/items/purpose` to the response with the `200` status
  - added the optional property `oneOf[#/components/schemas/AIGatewayModelModel]/datastores/items/purpose` to the response with the `200` status
- **2026-11-16** `a209c8bfa7b7`: 156 info
  - the `algorithm` response property const value `consistent-hashing` was added for the status `200`
  - the `algorithm` response property const value `consistent-hashing` was added for the status `200`
  - the `algorithm` response property const value `least-connections` was added for the status `200`
  - the `algorithm` response property const value `least-connections` was added for the status `200`
  - …152 more
- **2026-11-12** `d8bd04cfbaf7`: 80 breaking, 78 warning, 2 info
  - the `algorithm` response property const value `consistent-hashing` was removed for the status `200`
  - the `algorithm` response property const value `consistent-hashing` was removed for the status `200`
  - the `algorithm` response property const value `least-connections` was removed for the status `200`
  - the `algorithm` response property const value `least-connections` was removed for the status `200`
  - …156 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v1/ai-gateways/:gatewayId/models/:modelIdOrName/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4?raw)
