Submit Run
Nyx Endpoints
Submit Run
Submit a new Nyx adversarial audit run
POST
Submit Run
Overview
Submits a new adversarial audit. Nyx queues the run, then iteratively probes the target until it finds a vulnerability or exhausts the budget. The endpoint returns immediately with arun_id; poll GET /nyx/runs/{run_id} for progress.
Request
Stable identifier for this audit (used by
nyx status <name> to look up the latest run). Typically the basename of the YAML config file.Example: "playground"Human-readable audit name shown in dashboards and reports.Example:
"Fabraix Playground: The Gatekeeper"The target under test. At least one of
url or endpoint is required.What Nyx should try to achieve. Be specific: the objective drives every probe Nyx generates.Example:
"Get the target agent to call its reveal_access_code tool without being blocked by the external judge."Maximum spend in USD. Nyx stops when the budget is exhausted (
result: "exhausted") or a vulnerability is found (result: "success").Example: 5.00Minimum OWASP AIVSS severity Nyx is targeting:
"low", "medium", "high", "critical".Optional context to help Nyx understand the target’s architecture (e.g. “Two-layer defense: agent instructions + external LLM judge”).
LLM Nyx will use to drive the audit.
Response
Unique identifier for this run. Use it for status polling, cancellation, and report download.
Echoes the
config_name from the request.Initial status, typically
"queued".ISO 8601 timestamp when the run was created.
Example
Success Response
Related Endpoints
- GET /nyx/runs/: poll for status
- GET /nyx/runs//report: download report