Update AI Model
Changed onPartially updates an AI Model.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
The unique identifier of the AI Model.
Request body
Request body for partially updating an AI Model (merge-patch). All fields are optional; omitted fields are left unchanged.
The machine name of the AI Model that uniquely identifies it within the catalog.
The display name of the AI Model.
Optionally provide a description of the AI Model.
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Labels are intended to store INTERNAL metadata.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
Example request
{
"name": "my-ai-model",
"display_name": "My AI Model",
"description": "Customer support triage model",
"labels": {
"env": "test"
}
}Response
The updated AI Model
An AI Model catalog resource.
The unique identifier of the AI Model.
The machine name of the AI Model that uniquely identifies it within the catalog.
The display name of the AI Model.
A description of the AI Model.
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
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, start and end with an alphanumeric character, and may contain dashes (-), underscores (_), and dots (.). Values must be 1–127 characters long and must not be empty. Keys and values must not contain spaces or control characters.
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
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
- breaking
the
managed_by/additionalPropertiesresponse property's maxLength was increased from63to127for the response status - info
the
managed_by/additionalPropertiesresponse'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
- breaking
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status
2 more changes in this revision
- breaking