Documentation
API
Swarm orchestrator, default http://127.0.0.1:8080.
| Endpoint | Method | Returns |
|---|---|---|
/health | GET | Service status |
/portfolio | GET | Live holdings with real gold and CSPR prices |
/swarm/state | GET | Whether the agents are running |
/swarm/history | GET | Proposals, votes and stream events |
/swarm/deliberate | POST | Force a meeting now |
/swarm/decision-stats | GET | Approve/reject rates per agent |
/vaults | GET | Registered vaults, network-wide |
/vaults/register | POST | Register a vault (verified on-chain) |
/db/stats | GET | Database row counts |
/db/payments | GET | x402 payment history |
/db/executions | GET | On-chain execution history |
/support/ai | POST | Ask the support agent |
/support/ticket | POST | Submit a support ticket |
Gateway, default http://127.0.0.1:8787.
| Endpoint | Method | Returns |
|---|---|---|
/x402/casper-purchase | POST | Real settlement via the facilitator |
/x402/ledger | GET | Payment history |
/x402/payer | GET | The payer address to fund |
/facilitator/supported | GET | What the facilitator accepts |