Guards
List Guards
Returns a list of all guards in your organization, including both custom and default guards.
Guards evaluate content against a set of checks (regex, LLM, etc.) and trigger actions (block, warn, require approval, redact) when the combined score exceeds the threshold.
Requires a token with the admin:read scope.
get/api/guards
Request
- Base URL: https://app.withwillow.ai
- URL: https://app.withwillow.ai/api/guards
- Auth: HTTP bearer
Response
List of guards retrieved successfully
Example response
{
"data": [
{
"id": "guard_abc123",
"slug": "email-detection",
"name": "Email Detection",
"description": "Detects email addresses in content",
"checks": [
{
"id": "regex-email",
"name": "Email Address",
"certainty": 10
}
],
"threshold": 5,
"action": "warn",
"status": "active",
"created_at": "2026-01-15T09:30:00Z",
"org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-01-15T09:30:00Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.