Catalog AI Model Implementations

Create AI Model implementation

Changed on

Creates an implementation record for the AI Model. Returns 409 if the model has an existing implementation.

post/v1/ai-models/{aiModelId}/implementations

Request

  • Base URL: https://global.api.konghq.com
  • URL: https://global.api.konghq.com/v1/ai-models/{aiModelId}/implementations
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Request body

gateway_control_plane_idstring uuid required

The AI Gateway control plane uuid the model belongs to.

gateway_model_idstring required

The text or uuid identifier of the AI Gateway model to link.

Example request

{
  "gateway_control_plane_id": "223e4567-e89b-12d3-a456-426614174999",
  "gateway_model_id": "gw-model-abc"
}

Response

The created implementation

idstring uuid required

The unique identifier of the implementation (link) record.

ai_model_idstring uuid required

The identifier of the parent AI Model.

gateway_control_plane_idstring uuid required

The AI Gateway control plane uuid the linked model belongs to.

gateway_model_idstring required

The text or uuid identifier of the linked AI Gateway model.

created_atstring date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_atstring date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "id": "d2e1f0a9-8b7c-6d5e-4f3a-2b1c0d9e8f7a",
  "ai_model_id": "123e4567-e89b-12d3-a456-426614174000",
  "gateway_control_plane_id": "223e4567-e89b-12d3-a456-426614174999",
  "gateway_model_id": "gw-model-abc",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes