Create AI Model implementation
Changed onCreates an implementation record for the AI Model. Returns 409 if the model has an existing implementation.
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 linking an AI Model to an AI Gateway model.
The AI Gateway control plane uuid the model belongs to.
The text or uuid identifier of the AI Gateway model to link.
Example request
{
"gateway_control_plane_id": "223e4567-e89b-12d3-a456-426614174999",
"gateway_model_id": "gw-model-abc"
}Response
The created implementation
AI Model Implementation.
The unique identifier of the implementation (link) record.
The identifier of the parent AI Model.
The AI Gateway control plane uuid the linked model belongs to.
The text or uuid identifier of the linked AI Gateway model.
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
Example response
{
"id": "d2e1f0a9-8b7c-6d5e-4f3a-2b1c0d9e8f7a",
"ai_model_id": "123e4567-e89b-12d3-a456-426614174000",
"gateway_control_plane_id": "223e4567-e89b-12d3-a456-426614174999",
"gateway_model_id": "gw-model-abc",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status - warning
added the new
key_invalidenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status - warning
added the new
uniqueenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
- breaking