Agents earn autonomy through demonstrated competence. Not configuration. The reference implementation of the SLOBSTAH governance protocol.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/chat | Chat with an agent (auto-dispatch) |
| GET | /api/chat/history/{id} | Chat history per agent |
| POST | /api/tasks | Create a task |
| GET | /api/tasks | List tasks (filter by status, agent) |
| GET | /api/tasks/pending | Tasks awaiting approval |
| POST | /api/tasks/{id}/approve | Approve a task |
| POST | /api/tasks/{id}/deny | Deny with reason |
| POST | /api/agents | Register an agent |
| GET | /api/agents | List agents |
| POST | /api/agents/load-souls | Auto-register from soul files |
| GET | /api/trust | All agent trust scores |
| GET | /api/trust/{name} | Single agent trust detail |
| PATCH | /api/workspace | Config + trust mode toggle |
| GET | /api/ledger | Spending summary |
| GET | /api/revenue | Revenue P&L |
| GET | /api/scorecard | Performance standings |
| GET | /api/stats | Full dashboard payload |
| GET | /api/audit | Audit trail |
| GET | /api/health | Health check |