<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->

# API Reference — Performing Incident Simulation Exercises

## Endpoints

| Endpoint | Method | Purpose |
|---|---|---|
| `POST /api/exercises/scenarios` | POST | Create exercise scenario |
| `POST /api/exercises/{id}/start` | POST | Start exercise execution |
| `GET /api/exercises/{id}/after-action` | GET | Get after-action report |
| `GET /api/exercises` | GET | List all exercises |

## Agent Script

```bash
node agent.js create-scenario --type tabletop --name "Ransomware Response" --phases 4
node agent.js run-exercise --scenario ransomware-tabletop
node agent.js after-action --exercise-id EX-2026-003
```
