---
title: "Create an AI Gateway"
method: POST
path: "/v1/ai-gateways"
tags: ["AI Gateways"]
---

# Create an AI Gateway

`POST /v1/ai-gateways`

**Pre-release Endpoint**
This endpoint is currently in beta and is subject to change.

Creates a new AI Gateway in the organization.

## Request body

- CreateAIGatewayRequest — **Pre-release Feature** This feature is currently in beta and is subject to change.
  - `display_name` string, required — The display name for this AI Gateway.
  - `name` string, required — The name for this AI Gateway. This value is immutable after creation.
  - `description` string — The description of the AI Gateway.
  - `proxy_urls` AIGatewayProxyURL[] — Array of proxy URLs associated with reaching the data-planes connected to a control-plane.
    - `host` string, required — Hostname of the proxy URL.
    - `port` integer, required — Port of the proxy URL.
    - `protocol` string, required — Protocol of the proxy URL.
  - `labels` PublicLabels — Public labels store information about an entity that can be used for filtering a list of objects. Public labels are intended to store **PUBLIC** metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

## Response `201`

AI Gateway created successfully.

- AIGateway — **Pre-release Feature** This feature is currently in beta and is subject to change.
  - `display_name` string, required — The display name for this AI Gateway.
  - `name` string, required — The name for this AI Gateway. This value is immutable after creation.
  - `description` string — The description of the AI Gateway.
  - `proxy_urls` AIGatewayProxyURL[] — Array of proxy URLs associated with reaching the data-planes connected to a control-plane.
    - `host` string, required — Hostname of the proxy URL.
    - `port` integer, required — Port of the proxy URL.
    - `protocol` string, required — Protocol of the proxy URL.
  - `labels` PublicLabels — Public labels store information about an entity that can be used for filtering a list of objects. Public labels are intended to store **PUBLIC** metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
  - `id` string, uuid, required — Contains a unique identifier used for this resource.
  - `endpoints` object, required — Object containing AI Gateway access endpoints.
    - `configuration` string, url, required — Configuration Endpoint.
    - `telemetry` string, url, required — Telemetry Endpoint.
  - `config_version` string — The version identification of the latest configuration of the gateway. Any change to an entity under this gateway can result in a new version. The config_version is generated in the control plane and used to verify if an AI Gateway node configuration is up to date.
  - `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.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `409` — Conflict
- `429` — Too Many Requests

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/versions/f920f418f552/schema)
