Skip to main content
GET
/
v1
/
campaigns
/
{campaign_id}
/
results
Get Campaign Results
curl --request GET \
  --url https://api.example.com/v1/campaigns/{campaign_id}/results
{
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tool": "diamond_security",
  "summary": {
    "total_tests": 1,
    "passed": 1,
    "failed": 1,
    "categories_tested": [
      "<string>"
    ],
    "vulnerabilities_found": true,
    "errors": 0
  },
  "findings": [
    {
      "category": "<string>",
      "severity": "<string>",
      "attack_prompt": "<string>",
      "agent_response": "<string>",
      "passed": true,
      "metadata": {},
      "attack_type": "<string>",
      "phenotype_category": "<string>",
      "attack_score": 123,
      "detector_id": "<string>",
      "raw_metadata": {}
    }
  ],
  "raw_output": {}
}

Path Parameters

campaign_id
string<uuid>
required

Query Parameters

team_id
string<uuid>
required

Team that owns this campaign

Response

Successful Response

Normalized results from any red team tool.

Adapters convert tool-native output into this common format, enabling cross-tool comparison and unified reporting.

job_id
string<uuid>
required

Campaign job ID these results belong to

tool
enum<string>
required

Tool that produced these results

Available options:
diamond_security,
promptfoo,
garak,
pyrit,
unknown
summary
RedteamSummary · object
required

Aggregate statistics

findings
Finding · object[]

Individual vulnerability findings

raw_output
Raw Output · object

Full tool-native output for debugging

Last modified on April 21, 2026