Skip to main content
POST /api/hermesco/treasury/reset
Resets a workspace’s Treasury back to its starting state: balance $0, no proposals, an empty ledger, and the default caps. This clears the workspace, not a demo seed; there is no fabricated state to restore.

Request body

workspaceId
string
default:"demo"
The workspace to reset.

Response

Returns the fresh TreasuryState.
curl -s https://hermesco.ai/api/hermesco/treasury/reset \
  -H "content-type: application/json" \
  -d '{"workspaceId":"g_demo"}' | jq

Errors

StatusCondition
500An unexpected error during reset (returned in error).