Create Policy
Policies
Create Policy
Create a new policy and attach it to an agent.
POST
Create Policy
Policies control what transactions an agent is allowed to execute. Every transaction is evaluated against the agent’s policies before MPC signing.
Request Body
Agent to attach this policy to.
Policy type. Values:
spending_limit, address_control, token_control, velocity_control, schedule, human_approval.Policy rules object. Structure depends on
type.Example
Authorizations
API key authentication. Keys are prefixed with awx_.
Body
application/json
Response
Policy created successfully.
A policy that controls what transactions an agent is allowed to execute.
Unique policy identifier (e.g., pol_abc123).
Agent this policy is attached to.
Policy type.
Available options:
spending_limit, address_control, token_control, velocity_control, schedule, human_approval Policy rules object. Structure depends on the policy type.
ISO 8601 creation timestamp.
ISO 8601 last-update timestamp.