Download OpenAPI specification:Download
Internal API for managing Kong AI Manager resources.
A composite object that conceptually represents the concept of an AI Model. The object contains a service object and a plugin object defined on that service. The service object represents the LLM endpoint and the plugin object represents the configuration of the LLM endpoint. The plugin will be one of: ai-proxy or ai-proxy-advanced.
Returns a list of composite objects representing ai-manager-models for the organization ID represented in the JWT claim.
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[after] | string Example: page[after]=ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ Request the next page of data, starting with the item after this parameter. |
{- "items": [
- {
- "control_plane": {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "cloud_gateway": true
}, - "service": {
- "host": "example.internal",
- "id": "49fd316e-c457-481c-9fc7-8079153e4f3c",
- "name": "example-service",
- "path": "/",
- "port": 80,
- "protocol": "http"
}, - "plugin": {
- "config": {
- "anonymous": null,
- "hide_credentials": false,
- "key_in_body": false,
- "key_in_header": true,
- "key_in_query": true,
- "key_names": [
- "apikey"
], - "run_on_preflight": true
}, - "enabled": true,
- "id": "3fd1eea1-885a-4011-b986-289943ff8177",
- "name": "key-auth",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}
}
], - "page": {
- "total_count": 2,
- "next_cursor": "string",
- "has_next_page": true
}
}