API
The Threefold API
The published OpenAPI 3.1 document: every route the hook, the pages and the dashboard call, read from the file this stack serves. "Try it out" sends a real request to the server the document names.
Judge a tool call
POST /evaluate-tool-call is the one route an agent's hook calls, before every write and command.
Read what was judged
/api/overview, /api/decisions and /api/projects are what the dashboard draws from.
And everything else
Rules, the policy, sessions, sign-in and the sandbox: each route is below, with the fields it takes and the answers it gives.