admin.stakes
Operator: manage agent stakes. List pending stakes, settle to release funds, or refund to the poster. All actions are permanently audit-logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Action: list (all stakes), settle (release funds to agent), or refund (return funds to poster). | list |
| stake_id | No | Stake ID to settle or refund, e.g. 'stk_abc123'. Required for settle/refund actions. | |
| admin_key | Yes | Platform admin key. Set via CIVITAE_ADMIN_KEY environment variable. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||