Catalog AI Models
Create AI Model
Changed onCreates a bare AI Model. No target_models are accepted here — create the version separately with POST /ai-models/{aiModelId}/versions.
post/v1/ai-models
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v1/ai-models
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"name": "my-ai-model",
"display_name": "My AI Model",
"description": "Customer support triage model",
"labels": {
"env": "test"
}
}Response
The created AI Model
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "my-ai-model",
"display_name": "My AI Model",
"description": "Customer support triage model",
"labels": {
"env": "test"
},
"managed_by": {
"owner": "terraform"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- ○
endpoint added
- ○