<!-- 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 Change Failure Correlation

## Endpoints

| Endpoint | Method | Purpose |
|---|---|---|
| `POST /api/correlation/changes` | POST | Correlate changes with incident |
| `GET /api/correlation/failure-rate` | GET | Get change failure rate |
| `POST /api/correlation/score` | POST | Score change risk |
| `GET /api/correlation/trends` | GET | Get correlation trends |

## Agent Script

```bash
node agent.js correlate --incident-id INC-2026-0200 --window-hours 24
node agent.js failure-rate --period monthly
node agent.js score-change --change-id CHG-2026-0500
```
