v52

OpenAPI 3.1.0raw.githubusercontent.com2026-08-033240556.8 KB
Stats

Lightweight swarm-wide counts

Single JSON object of cheap COUNT(*) metrics — tasks (by status), agents (by status), workflows (total + enabled), pages, active sessions, skills. Use this instead of fetching full list payloads just to count. Powers UI footers/sidebars and MCP context.

get/api/metrics

Response

Swarm metrics counts