GET /api/export/risks
Export all risks in an organisation as a CSV file.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
organisation_id | string (UUID) | Yes | Organisation to export |
project_id | string (UUID) | No | Filter to a single project |
Authentication
Requires a valid session. Must have read permission on risks in the organisation.
Request
bash
curl https://lydaro.app/api/export/risks?organisation_id=ORG_UUID \
-H "Cookie: sb-access-token=..."Response
Status: 200 OK
Content-Type: text/csv; charset=utf-8
Content-Disposition: attachment; filename="risks_2026-05-14.csv"CSV with columns:
| Column | Description |
|---|---|
| Risk ID | UUID |
| Ref Code | e.g. R-001 |
| Title | Risk title |
| Project | Project name |
| Status | active, draft, etc. |
| Owner | Owner display name |
| Inherent Probability | Probability level |
| Inherent Impact | Impact level |
| Inherent Score | Numeric score |
| Residual Probability | After response |
| Residual Impact | After response |
| Quality Score | 0–100 |
| Created At | ISO date |
Errors
| Status | Cause |
|---|---|
| 400 | Missing organisation_id |
| 401 | No valid session |
| 403 | Insufficient permissions |