POST /v1/authorize
The core authorization check. Call this endpoint before every tool execution in your agent. Veto evaluates all active policies for the agent and returns an allow/deny/escalate decision.Request body
UUID of the agent making the tool call.
Name of the tool being called. Supports dot-notation namespacing (e.g.,
file.write, db.query).Key-value pairs of the tool’s input parameters. Pass all parameters so that
parameter_constraint rules are evaluated correctly.Response
true if the action is authorized. Check this field before proceeding with tool execution.Authorization decision. One of
"allowed", "denied", or "escalated".ID of the policy that produced this decision.
null if no policy matched and the default-deny rule applied.Human-readable explanation of the decision (e.g.,
"Tool allowed by policy 'production-safeguards'" or "No matching policy — default deny").ISO 8601 timestamp of when the evaluation ran.
This endpoint returns
200 even when the action is denied. Always inspect the allowed field before executing the tool. HTTP errors (401, 500) indicate authentication or server failures, not authorization decisions.