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
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

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    145 more changes in this revision