API Documentation
...
AISpectra
Automated RedTeaming for GenAI

<POST> RedTeaming Analysis

2min

The below parameters are for automated redteaming analysis for GenAI. To know more about the different test parameters, see Automated RedTeaming for GenAI.



Start-analysis
Test-Connection

  • test_task: "chatbot"
  • test_level: "lite", "basic", "intermediate", "advanced", "super-adv"
  • test_sel_parameters: "toxicity", "nsfw", "generic-harm", "jailbreak", "sid", "pii", "spii"
POST
Request
Path Params
content-type
String
required
application/json
Header Parameters
x-api-key
String
required
Enter your API key
Org-id
String
required
Enter your organization id
Python
Curl
Node.js
JS
Responses
200
401
400
412