---
title: "Risk Register export JSON/CSV (risk-register)"
method: POST
path: "/api/v1/risk-register"
tags: ["Nodes"]
---

# Risk Register export JSON/CSV (risk-register)

`POST /api/v1/risk-register`

## Request

- Base URL: `https://legal.nexusquantum.legal`
- URL: `https://legal.nexusquantum.legal/api/v1/risk-register`
- Auth: HTTP bearer

Converts Node A output (markdown/JSON with ER-NNN findings) into a structured Risk Register. Wraps /api/export/risk-register. Deterministic, NOT generative (no citationChecks). Consumes NO credits. Does NOT require jurisdiction. `format=csv` returns an attachment with an anti-CSV-injection guard.

## Request body

- object
  - `analysisText` string, required: Node A analysis text/JSON (max 2 MB).
  - `format` 'json' | 'csv'
  - `filename` string: CSV file name (optional).

## Response `200`

JSON with the structured register, or CSV (Content-Disposition attachment) if format=csv.

- object

## Other responses

- `400`: VALIDATION_ERROR (analysisText missing or > 2 MB) | INVALID_JSON
- `403`: MCP_SCOPE_REQUIRED
- `429`: RATE_LIMITED

---

[API](https://skmtc.dev/nexusquantum/apis/nexus-legal-api.md) · [All operations](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/revisions/4084d8d4eb0b?raw)
