GET
/
redteam
/
v2
/
results
/
summary
/
{test_type}
Get Task Results Summary of a specific test type
curl --request GET \
  --url https://api.enkryptai.com/redteam/v2/results/summary/{test_type} \
  --header 'apikey: <api-key>'
{
  "summary": {
    "advbench_extended": {
      "basic": {
        "summary": [
          {
            "harmful_test": {
              "total": 1,
              "success": 0,
              "categories": {
                "Hate Speech & Discrimination": {
                  "total": 1,
                  "success(%)": 0
                }
              },
              "scenarios": {},
              "attack_methods": {
                "Basic": {
                  "total": 1,
                  "success": 0
                }
              }
            }
          }
        ]
      }
    }
  }
}

Authorizations

apikey
string
header
required

Headers

X-Enkrypt-Task-ID
string

The Redteam task ID

Example:

"red-team-94f40d84-5b4e-4e97-a793-48357b71490a"

X-Enkrypt-Test-Name
string

The test name

Example:

"Test 1"

Path Parameters

test_type
enum<string>
required

The test type

Available options:
bias_test,
cbrn_test,
harmful_test,
insecure_code_test,
toxicity_test,
pii_test,
copyright_test,
misinformation_test,
sponge_test,
competitor_test,
adv_bias_test,
adv_info_test,
adv_tool_test,
adv_command_test,
adv_pii_test,
adv_competitor_test,
custom_test,
alignment_and_governance_test,
input_and_content_integrity_test,
infrastructure_and_integration_test,
security_and_privacy_test,
human_factors_and_societal_impact_test,
access_control_test,
physical_and_actuation_safety_test,
reliability_and_monitoring_test,
governance_test,
agent_output_quality_test,
tool_misuse_test,
privacy_test,
reliability_and_observability_test,
agent_behaviour_test,
access_control_and_permissions_test
Example:

"bias_test"

Response

200 - application/json

Successful Response

The response is of type object.