Export risks as CSV
POST /v1/risks/export
Request Body
Section titled “Request Body ”object
Optional list of column keys to include, in order. If None, exports all columns.
Optional custom filename (without .csv extension)
RSK filter applied in “All in filter” mode. Honored only when
meta_risk_type == OrgRisk and selected_risks is empty. AKR exports
always export every AKR (there is only ever one page of them in
practice), so this field is ignored when meta_risk_type == KeyRisk.
Pagination on the filter is overridden by the streaming defaults.
object
Accepts UUIDs, the literal null (unassigned), and the sentinel
me (the calling user, resolved server-side). Multiple values
union — e.g. assigned_to=me&assigned_to=<uuid> returns rows
assigned to either.
Inclusive lower bound on closed_date. RFC 3339 or bare YYYY-MM-DD.
Inclusive upper bound on closed_date. RFC 3339 or bare YYYY-MM-DD.
Match only risks whose closed_date is unset. Mutually exclusive with
closed_after/closed_before.
Inclusive lower bound on created_date. RFC 3339 or bare YYYY-MM-DD.
Inclusive upper bound on created_date. RFC 3339 or bare YYYY-MM-DD.
Inclusive lower bound on discovered_date. RFC 3339 or bare YYYY-MM-DD.
Inclusive upper bound on discovered_date. RFC 3339 or bare YYYY-MM-DD.
Inclusive lower bound on due_date. RFC 3339 or bare YYYY-MM-DD.
Inclusive upper bound on due_date. RFC 3339 or bare YYYY-MM-DD.
Match only risks whose due_date is unset. Mutually exclusive with
due_after/due_before.
Inclusive lower bound on expected_date. RFC 3339 or bare YYYY-MM-DD.
Inclusive upper bound on expected_date. RFC 3339 or bare YYYY-MM-DD.
Match only risks whose expected_date is unset. Mutually exclusive
with expected_after/expected_before.
When true, the list includes risks that are linked under another risk
(i.e. rows with a non-null parent_id). Defaults to false so registers
and rollups stay collapsed.
Filter to overdue (true) or non-overdue (false) risks. Overdue
means open and past due_date.
1-indexed page number. Defaults to 1 (explicit null reads as the
default); zero is rejected.
Rows per page. Defaults to 50 (explicit null reads as the default);
zero is rejected.
Inclusive lower bound on updated_date. RFC 3339 or bare YYYY-MM-DD.
Inclusive upper bound on updated_date. RFC 3339 or bare YYYY-MM-DD.
Which register the export targets (RSK or AKR). Mirrors the active tab on the risks page.
IDs of selected rows. When non-empty, exports only these and ignores
filter. When empty, falls back to “All in filter”.
Responses
Section titled “ Responses ”Export all risks with current state as CSV