AI Gateways

List AI Gateways

Changed on

Returns a list of AI Gateways in the organization.

get/v1/ai-gateways

Request

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

Query parameters

page[size], integer
Example:10

The maximum number of items to include per page. The last page of a collection may include fewer items.

page[number], integer
Example:1

Determines which page of the entities to retrieve.

Response

A paginated list of AI Gateways.

object required
data, AIGateway[] required
meta, PaginatedMeta required

returns the pagination information

Example response

{
  "data": [
    {
      "display_name": "My AI Gateway",
      "name": "my-ai-gateway",
      "description": "An AI Gateway for my organization.",
      "proxy_urls": [
        {
          "host": "example.com",
          "port": 443,
          "protocol": "https"
        }
      ],
      "labels": {
        "category": "finance"
      },
      "managed_by": {
        "owner": "terraform"
      },
      "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
      "min_runtime_version": "2.0",
      "deployment_type": "hybrid",
      "endpoints": {
        "configuration": "https://acfe5f253f.cp.konghq.com",
        "telemetry": "https://acfe5f253f.tp0.konghq.com"
      },
      "created_at": "2022-11-04T20:10:06.927Z",
      "updated_at": "2022-11-04T20:10:06.927Z",
      "konnect_managed": true
    }
  ],
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  }
}

Changes

    • breaking

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

    • info

      the data/items/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

      added the optional property data/items/konnect_managed to the response with the status

    1 more change in this revision