Перейти к основному содержанию
GET
/
api
/
bots
/
health
Check backend health
curl --request GET \
  --url http://localhost:8080/api/bots/health \
  --header 'Authorization: Bearer <token>'
{
  "healthy": true,
  "status_code": 123,
  "latency_ms": 123
}

Авторизации

Authorization
string
header
обязательно

API key with bmx_ prefix. Obtain via /api/auth/api-keys.

Параметры запроса

id
integer
обязательно

Bot ID to check

Ответ

Health check result

healthy
boolean
status_code
integer
latency_ms
integer