Catalog AI Models

Returns a single AI Model.

get/v1/ai-models/{aiModelId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

aiModelId, string uuid required
Example:123e4567-e89b-12d3-a456-426614174000

The unique identifier of the AI Model.

Response

AI Model details

AiModel required

An AI Model catalog resource.

id, string uuid required

The unique identifier of the AI Model.

name, string required

The machine name of the AI Model that uniquely identifies it within the catalog.

display_name, string required

The display name of the AI Model.

description, string nullable required

A description of the AI Model.

labels, Labels required

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

managed_by, ManagedBy required

Stores information about what manages this entity, such as the tool or system responsible for its lifecycle (for example, terraform).

Keys must be 1–63 characters long, start and end with an alphanumeric character, and may contain dashes (-), underscores (_), and dots (.). Values must be 1–127 characters long and must not be empty. Keys and values must not contain spaces or control characters.

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.

Example response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "my-ai-model",
  "display_name": "My AI Model",
  "description": "Customer support triage model",
  "labels": {
    "env": "test"
  },
  "managed_by": {
    "owner": "terraform"
  },
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • breaking

      the managed_by/additionalProperties response property's maxLength was increased from 63 to 127 for the response status

    • info

      the managed_by/additionalProperties response's property pattern was changed from ^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$ to ^[^\s\x00-\x1F\x7F-\x9F]+$ for the status

    • info

      endpoint added