Files
lincodex/api/ml/openapi.bundle.yml
T
2026-10-05 14:23:31 +03:00

65 lines
1.5 KiB
YAML

openapi: 3.2.0
info:
title: Lincodex ML Operational API
version: 0.1.0
servers:
- url: /
paths:
/healthz:
get:
operationId: GetMLHealthz
summary: Check whether the ML process is responding.
security: []
tags:
- health
responses:
'200':
description: The ML process is responding.
content:
application/json:
schema:
$ref: '#/components/schemas/MLHealthResponse'
/readyz:
get:
operationId: GetMLReadyz
summary: Check whether an inference runtime is available.
security: []
tags:
- health
responses:
'200':
description: An inference runtime is available.
content:
application/json:
schema:
$ref: '#/components/schemas/MLReadinessResponse'
'503':
description: No inference runtime is available.
content:
application/json:
schema:
$ref: '#/components/schemas/MLReadinessResponse'
components:
schemas:
MLHealthResponse:
type: object
additionalProperties: false
required:
- status
properties:
status:
type: string
enum:
- ok
MLReadinessResponse:
type: object
additionalProperties: false
required:
- status
properties:
status:
type: string
enum:
- ready
- not_ready