Get your API key

Start adversarial testing in 60 seconds. Free tier — no credit card required.

01

Create your key

All keys start on the free tier (50 tests/mo). Upgrade to Pro via Stripe after generating your key.

Your API Key (save this)

⚠ This key will never be shown again. Save it now.

02

Attach to requests

Use Bearer token auth on all API requests. Your key grants access to generate and run adversarial test suites.

# Generate adversarial tests

curl https://api.adversec.io/v1/tests/generate \
  --header "Authorization: Bearer advc_sk_YOUR_KEY" \
  --header "Content-Type: application/json" \
  --data '{ "agent_name": "MyAgent", "description": "Agent description here", "num_tests": 50, "intensity": "standard" }'
03

Run your first test suite

Once you have generated tests, point them at any live agent endpoint to get a scored vulnerability report.

# Run the suite against your agent

curl https://api.adversec.io/v1/tests/{test_id}/run \
  --header "Authorization: Bearer advc_sk_YOUR_KEY" \
  --header "Content-Type: application/json" \
  --data '{ "target": { "url": "https://your-agent.example.com/chat", "method": "POST", "input_field": "prompt" }, "concurrency": 5, "timeout": 30 }'