Concepts
Actions and decisions
What Leashgate checks, and the four outcomes of a check.
Actions
An action is one AI call or one action check that goes through Leashgate. It is also the billing unit: 10,000 a month on Free, 250,000 on Team, 2 million on Business. See Plans and billing.
When a model answers with tool calls, Leashgate reads each one (name and arguments) and judges it against your policies before returning the answer to your agent.
Decisions
| Decision | What happens |
|---|---|
| Allowed | The call or action runs normally. |
| Waiting for approval | The tool call is removed from the answer and replaced by a message explaining that a human must approve it. An approval request is created. |
| Blocked | The tool call is removed and the agent is told not to retry. |
| Quarantined | The agent is paused: every call is refused until you release it. |
The response header x-leashgate-decision is allow, approval or block. x-leashgate-masked gives the number of personal data items replaced.