Skip to main content
GET
/
api
/
v1
/
dashboard
/
agents
/
health
Get agent health summary
curl --request GET \
  --url https://api.logfleet.io/api/v1/dashboard/agents/health \
  --header 'Authorization: Bearer <token>'
{
  "total_agents": 123,
  "online_agents": 123,
  "offline_agents": 123,
  "error_agents": 123,
  "pending_agents": 123,
  "last_updated": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login

Response

Agent health summary

total_agents
integer
online_agents
integer
offline_agents
integer
error_agents
integer
pending_agents
integer
last_updated
string<date-time>