v1
latestOpenAPI 3.0.02026-07-1346146138.4 KBevaluators
Execute prompt-injection evaluator
Detect prompt injection attempts
Request Body:
- input.prompt (string, required): The prompt to check for injection attempts
- config.threshold (float, optional): Detection threshold (default: 0.5)
post/v2/evaluators/prompt-injection/execute
Request body
Example request
{
"config": {
"threshold": 0.5
},
"input": {
"prompt": "What is the weather like today?"
}
}Response
OK