Generating JSON
Schema overview
The JSON output has three top-level keys:stats
| Field | Type | Description |
|---|---|---|
total_runs | int | Total number of attack prompts evaluated |
bypassed | int | Number of safety failures |
blocked | int | Number of successful blocks |
models_tested | int | Distinct models in the dataset |
attacks_used | int | Distinct attack techniques used |
runs
Each entry in theruns array represents one evaluated prompt:
| Field | Type | Description |
|---|---|---|
id | int | Unique run identifier |
model | string | Model name |
attack | string | Attack technique ID |
verdict | string | BYPASSED, BLOCKED, PARTIAL, or UNCLEAR |
confidence | float | Evaluator confidence (0.0 - 1.0) |
tokens_in | int | Input tokens used |
tokens_out | int | Output tokens generated |
target | string | The harmful target prompt |
provider | string | Provider name |
created_at | string | ISO 8601 timestamp |