Skip to main content

api_logs

Function api_logs 

Source
pub fn api_logs(_actor: Actor, pool: &State<DbPool>) -> Json<LiveActivityDto>
Expand description

GET /api/logs — the agent twin of the dashboard’s /admin/logs.json feed: the live fleet activity plus the most recent fatal/error conversion messages as one structured JSON call a monitoring agent can poll. Token-gated via the Actor guard.