Skip to main content
GET
/
guardrails
/
validators
List guardrail validators and actions
curl --request GET \
  --url https://app.trusys.ai/api/external/guardrails/validators \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "data": {
    "validators": [
      {
        "id": "pii",
        "name": "PII",
        "input": true,
        "output": true,
        "description": "Detects personally identifiable information"
      }
    ],
    "actions": [
      {
        "id": "mask",
        "name": "Mask",
        "description": "Trusys masks the unsafe portion."
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Your Trusys API key. Create and manage keys in the Trusys UI under Settings โ†’ API Keys.

Include the key on every request:

x-api-key: <your-api-key>

Response

Validator and action catalog.

success
boolean
data
object