Stats

Lightweight swarm-wide counts

Changed on

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

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/metrics
  • Auth
    HTTP bearer

Response

Swarm metrics counts

Changes