Create an AI Gateway
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates a new AI Gateway in the organization.
Request body
Example request
{
"deployment_type": "hybrid",
"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"
}
}Response
AI Gateway created successfully.
Example response
{
"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"
},
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"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"
}Changes
Changed in 4 of the 75 revisions of this API.436
- ○
added the new optional request property
deployment_typenew-optional-request-property
- ○
added the required property
deployment_typeto the response with the201statusresponse-required-property-added
- ○
- ▲
the
namerequest property's minLength was increased from0to1request-property-min-length-increased
- ▲
added the pattern
^[0-9a-z-]+$to the request propertynamerequest-property-pattern-added
- ▲
the
namerequest property type/format changed from/tostring/request-property-type-changed
- ▲
the
nameresponse's property type/format changed from/tostring/for status201response-property-type-changed
- ●
removed
AIGatewayEntityIdentifierfrom thenamerequest propertyallOflistrequest-property-all-of-removed
- ●
the
namerequest property's maxLength was set to256request-property-max-length-set
- ○
removed
AIGatewayEntityIdentifierfrom thenameresponse propertyallOflist for the response status201response-property-all-of-removed
- ○
the
nameresponse's property pattern^[0-9a-z-]+$was added for the status201response-property-pattern-added
- ▲
- ●
removed the optional property
config_hashfrom the response with the201statusresponse-optional-property-removed
- ○
added the optional property
config_versionto the response with the201statusresponse-optional-property-added
- ●
- ○
endpoint added
endpoint-added
This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○