AI Gateway Model Providers

Get an AI Gateway Model Provider

Changed on

Returns the details of a specific AI Gateway model provider.

get/v1/ai-gateways/{gatewayId}/model-providers/{modelProviderIdOrName}

Request

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

Path parameters

gatewayId, string uuid required

Contains a unique identifier used for this resource.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

The unique ID of the AI Gateway.

modelProviderIdOrName, string uuid required

Contains a unique identifier used for this resource.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

The unique ID of the AI Gateway model provider.

Response

A successful response returning an AI Gateway Model Provider.

union required
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required

Example response

{
  "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z",
  "display_name": "Azure AI SE",
  "name": "azure-ai-se",
  "labels": {
    "category": "finance"
  },
  "managed_by": {
    "owner": "terraform"
  },
  "datastores": [
    {
      "name": "vault-konnect-prod"
    }
  ],
  "token_vault": {
    "provider": "my-upstream-provider",
    "subject_token_type": "access_token",
    "credential": {
      "inbound": {
        "location": "header",
        "name": "Authorization",
        "prefix": "Bearer "
      }
    },
    "cache": {
      "redis": {
        "host": "redis.internal",
        "port": 6379
      }
    }
  }
}

Changes

    • info

      response property oneOf[AIGatewayModelProviderLlama2]/ deprecated

    • breaking

      the oneOf[#/components/schemas/AIGatewayModelProviderAnthropic]/managed_by/additionalProperties response property's maxLength was increased from 63 to 127 for the response status

    • breaking

      the oneOf[#/components/schemas/AIGatewayModelProviderAzure]/managed_by/additionalProperties response property's maxLength was increased from 63 to 127 for the response status

    40 more changes in this revision