Dashboard API Reference

The dashboard exposes JSON API endpoints for programmatic access to your agent system data.

Base URL

http://localhost:4200/api

Endpoints

GET /api/agents

Returns all registered agents.

curl http://localhost:4200/api/agents | jq
{
  "agents": [
    {
      "name": "researcher",
      "status": "running",
      "source": "./agents/researcher.wasm",
      "created_at": "2024-01-15T10:00:00Z"
    }
  ]
}

GET /api/supervisors

Returns all supervisors and their children.

curl http://localhost:4200/api/supervisors | jq

GET /api/cost

Returns cost budgets and spending data.

curl http://localhost:4200/api/cost | jq
{
  "budgets": [
    {
      "agent_name": "researcher",
      "budget_cents": 1000,
      "spent_cents": 342,
      "period": "day",
      "action": "pause"
    }
  ]
}

GET /api/audit

Returns the audit log.

curl http://localhost:4200/api/audit | jq

GET /api/trust

Returns AXIS trust verification data.

curl http://localhost:4200/api/trust | jq

GET /api/broker

Returns broker routing statistics and skills.

curl http://localhost:4200/api/broker | jq

GET /api/edge

Returns edge deployment data.

curl http://localhost:4200/api/edge | jq

Authentication

The dashboard API currently has no authentication. It binds to 127.0.0.1 by default, making it accessible only from the local machine.

Rate Limits

No rate limits are enforced on the local API.