Skip to main content

Policies API

Manage policies for individual agents. Supported transaction-signing routes evaluate these policies before invoking the Vault. Compatibility routes such as message and raw-hash signing use separate MFA, signer-permission, and unsafe-feature gates.

Get Policies

Returns all policies for an agent.
Auth: Tenant API key or agent JWT Response:

Set Policies

Replaces all policies for an agent.
Auth: Tenant API key or agent JWT
This endpoint replaces the entire policy set. Always send the complete list of policies you want the agent to have.
Request Body:
Valid policy types: Response:

Validation

The API validates each policy:
  • type must be one of the valid types listed above
  • enabled must be a boolean
  • config must be a non-null object
Invalid policies return 400: