Catalog AI Model Specs
Get AI Model version spec
Changed onReturns the latest version's oas specification contents along with metadata.
get/v1/ai-models/{aiModelId}/versions/latest/spec
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v1/ai-models/{aiModelId}/versions/latest/spec
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Response
The version's oas specification
Example response
{
"spec_content": "{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"My AI Model\",\"version\":\"1.0.0\"},\"paths\":{}}",
"spec_type": "oas",
"spec_provider": {
"source": "ai_gateway"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- info
endpoint added
- info