latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-218331,4152.7 MB

b31b9b097e6d

AI Gateway SNIs

Create an AI Gateway SNI

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

Creates a new SNI for the AI Gateway.

post/v1/ai-gateways/{gatewayId}/snis

Request body

namestring required

The name for this SNI. This value is immutable after creation.

display_namestring required

The display name for this SNI.

labelsPublicLabels

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 "_".

managed_byManagedBy

Stores information about what manages this entity, such as the tool or system responsible for its lifecycle (for example, terraform).

Keys must be 1–63 characters long and start with an alphanumeric character.

certificatestring required

Pre-release Feature This feature is currently in beta and is subject to change.

A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.

Example request

{
  "name": "my-sni",
  "display_name": "My SNI",
  "labels": {
    "category": "finance"
  },
  "managed_by": {
    "owner": "terraform"
  },
  "certificate": "my-certificate"
}

Response

AI Gateway SNI created successfully.

namestring required

The name for this SNI. This value is immutable after creation.

display_namestring required

The display name for this SNI.

labelsPublicLabels

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 "_".

managed_byManagedBy

Stores information about what manages this entity, such as the tool or system responsible for its lifecycle (for example, terraform).

Keys must be 1–63 characters long and start with an alphanumeric character.

certificatestring required

Pre-release Feature This feature is currently in beta and is subject to change.

A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.

idstring uuid required

Contains a unique identifier used for this resource.

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

{
  "name": "my-sni",
  "display_name": "My SNI",
  "labels": {
    "category": "finance"
  },
  "managed_by": {
    "owner": "terraform"
  },
  "certificate": "my-certificate",
  "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}