Skip to main content
1

Create a workspace

Sign up at app.veto.tools and create a workspace. A workspace is the container for your agents, policies, and audit logs.
2

Get your API key

In the dashboard, go to Settings → API Keys and create a new key.
The raw API key is shown once at creation and never again — only the key prefix is stored. Copy it immediately and save it somewhere secure, such as a password manager or secrets vault.
Your key will look like this:
For local development, store it in an environment variable:
3

Install the SDK

4

Create an agent

An agent represents an AI actor — a bot, workflow, or model — that calls tools. Register one using the SDK or the dashboard.
You can also create agents directly in the dashboard under Agents → New agent. Copy the agent ID — you’ll use it in authorization checks.
5

Create a policy

Policies define what your agent is allowed to do. The following example creates a policy that allows the support-bot agent to call send_email and lookup_order, and nothing else.
Any tool not on the allowlist is blocked by default — you don’t need to define a denylist.
6

Make an authorization check

Call veto.authorize() before each tool execution. Pass the agent ID, the tool name, and (optionally) the call parameters.
The response includes:A denied response looks like this:

What’s next

Authentication

Learn about API key scopes, rate limits, and secure key management.

Policies

Explore all five rule types — allowlists, denylists, parameter constraints, rate limits, and time windows.

Node.js SDK

Full SDK reference including MCP middleware.

API Reference

REST API reference for every endpoint.