Documentation Index
Fetch the complete documentation index at: https://docs.veto.tools/llms.txt
Use this file to discover all available pages before exploring further.
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.
Get your API key
In the dashboard, go to Settings → API Keys and create a new key.Your key will look like this:For local development, store it in an environment variable:
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.
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.
Create a policy
Policies define what your agent is allowed to do. The following example creates a policy that allows the Any tool not on the allowlist is blocked by default — you don’t need to define a denylist.
support-bot agent to call send_email and lookup_order, and nothing else.Make an authorization check
Call The response includes:
A denied response looks like this:
veto.authorize() before each tool execution. Pass the agent ID, the tool name, and (optionally) the call parameters.| Field | Type | Description |
|---|---|---|
allowed | boolean | Whether the action is permitted |
outcome | "allowed" | "denied" | The decision |
matchedPolicyId | string | null | The policy that produced this decision, or null for default deny |
reason | string | Human-readable explanation |
evaluatedAt | string | ISO 8601 timestamp of the evaluation |
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.