Skip to main content
POST
/
api
/
v1
/
proxy
/
redteam
/
autonomous
Run Autonomous Redteam
curl --request POST \
  --url https://api.promptguard.dev/api/v1/proxy/redteam/autonomous \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "budget": 100,
  "target_preset": "default",
  "enabled_detectors": [
    "<string>"
  ]
}
'
{}

Authorizations

X-API-Key
string
header
required

PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.

Body

application/json

Request to run the autonomous red team agent.

budget
integer
default:100
Required range: 1 <= x <= 1000
target_preset
string
default:default
enabled_detectors
string[] | null

Response

Successful Response

The response is of type Response Run Autonomous Redteam Api V1 Proxy Redteam Autonomous Post · object.