API Endpoints
Jailbreak Detection
This evaluator checks for jailbreak-attempt in the input using Azure’s Content Safety API.
Env vars: AZURE_CONTENT_SAFETY_ENDPOINT, AZURE_CONTENT_SAFETY_KEY
POST
/
azure
/
jailbreak
/
evaluate
Body
application/json
data
object[]
requiredList of entries to be evaluated, check the field type for the necessary keys
settings
object | null
Evaluator settings, check the field type for what settings this evaluator supports
env
object | null
Optional environment variables to override the server ones
Response
200 - application/json
status
enum<string>
default: processedAvailable options:
processed
score
number
requiredNo description provided
passed
boolean | null
If true then no jailbreak was detected, if false then a jailbreak was detected
details
string | null
Short human-readable description of the result
cost
object | null