List Spend Approvals
ledger_approvalsList spend-approval permits — yours, or your whole workspace's.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | optional filter: pending | approved | denied | consumed | expired | |
| agent_id | No | list this agent's permits (needs agent_secret or workspace_key) | |
| agent_secret | No | the agent's own secret (agent view) | |
| workspace_key | No | the owning workspace's key — lists ALL its agents' permits when given alone |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||