Cygnal Monitor
Monitors content for policy violations. This endpoint is used to check if the provided text contains harmful content or violates a given set of policies.
AuthorizationBearer <token>
API Key
In: header
text?Text
messages?Messages
categories?Categories
reasoning_mode?Reasoning Mode
Default
"off"
policy_id?Policy Id
Response Body
curl -X POST "https://api.grayswan.ai/cygnal/monitor" \ -H "Content-Type: application/json" \ -d '{}'
null
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}