B2BB2B LLM

健康エンドポイント

サービスの稼働状況と準備状況のチェック。

健康エンドポイント

GET /health

認証されていない公衆衛生上の対応。

リクエスト

curl https://api.model-gate.com/health

応答

{"status":"ok"}

GET /health/live

プロセスの活性度:

curl https://api.model-gate.com/health/live
{"status":"ok"}

GET /health/ready

MySQL と Redis の依存関係をチェックします。

curl https://api.model-gate.com/health/ready
{"status":"ready"}

依存関係が利用できない場合、readiness は HTTP を返します。 503 JSON 応答に失敗した依存関係があります。