Policy Gate
policy_gateApply treasury policy to a proposed action and return allow, deny, or allow-with-limits. Paid via x402 or API key credits. Free tier: 10 policy gate calls/day per client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | Actor metadata for the agent proposing the action. | |
| action | Yes | Action payload to evaluate. Additional action-specific fields are accepted as passthrough. | |
| policy | Yes | Policy pack input, including policy_id and any policy-specific override values. | |
| context | No | Optional execution context such as chain state, balances, or treasury metadata. | |
| request_id | No | Optional caller-supplied request identifier for tracing and receipts. |