List Guardrails
List guardrails configured for the tenant.
GET/v1/customer/guardrails
Request Example
bash
curl https://api.therouter.ai/v1/customer/guardrails
-H "Authorization: Bearer $THEROUTER_API_KEY"Response
json
{
"guardrails": [
{
"id": "8ad59f90-33d6-4a0f-89a8-d76dba8e2b0f",
"name": "pii-filter",
"description": "Block national ID patterns",
"rules": [{"type": "regex", "pattern": "\b\d{3}-\d{2}-\d{4}\b"}],
"action": "block",
"is_enabled": true,
"trigger_count": 12,
"last_triggered_at": "2026-02-25T10:10:00.000Z",
"created_at": "2026-02-10T00:00:00.000Z",
"updated_at": "2026-02-25T10:10:00.000Z"
}
],
"total": 1
}