检查服务健康

GET /health

服务器根路径上的公开健康检查别名,不在 /v1 下,也不需要 API Key。License 未激活时服务照样返回 HTTP 200;服务健康也不代表已经加载了模型。

指南与示例模型与服务全部接口

响应

200服务可达。license 为 active 或 inactive,两个字段都要看。
statusstringok
licensestringactive | inactive
JSON
{
  "status": "ok",
  "license": "active"
}