Documentation Index
Fetch the complete documentation index at: https://docs.svantic.com/llms.txt
Use this file to discover all available pages before exploring further.
Approvals Guide
This guide covers how to configure policies that require human approval, how approvals appear in the dashboard, and how to resolve them from different surfaces.Prerequisites
- A running Svantic deployment with Gateway, Mesh, and Dashboard
- A tenant with at least one registered agent
- Dashboard access for the tenant
Create a Policy That Requires Approval
Svantic ships with default policies for common guard types. To create a custom policy with When an agent invokes a tool matching the bulk operation pattern with more than 10 items, the policy engine returns
require_approval enforcement:require_approval and the message enters input-required.Trigger an Approval
Send a message that triggers the policy:The response indicates the task is in
input-required:Resolve the Approval
From the Dashboard
Click Approve or Deny in the Approval Queue. The resolution is sent immediately and the agent resumes (or receives a denial).From the API
From Slack
If a Slack notification channel is configured and linked to the policy, the Slack message includes Approve/Deny buttons. Clicking a button sends the resolution through Svantic’s/webhooks/receive/slack endpoint.From a Webhook Callback
If a webhook notification channel is configured and linked to the policy, the outbound notification includes acallback_token. Use it to resolve without a JWT:Structured Input (Beyond Approve/Deny)
Not all approvals are yes/no decisions. An agent may need the user to fill in a form — credentials, categorization choices, configuration parameters. When the A2UI spec contains multiple fields, the resolution includes values for each field:Race Conditions
If the same approval is resolved from multiple surfaces simultaneously (e.g., dashboard and Slack), the first resolution wins. Subsequent attempts receive409 Conflict.
Further Reading
- Long-Running Operations — the underlying mechanism that powers approvals (pause, resolve, resume)
- Policies Guide — create and manage the rules that trigger approvals
- Notification Channels — configure where approval notifications are delivered (email, Slack, webhook, SMS, phone)
- A2UI — the UI specification format for forms and approvals
- Guardrails & Safety — the safety layers that trigger approvals
- Notifications — how the notification system works
