Skip to content

Export risks as CSV

POST
/v1/risks/export
curl --request POST \
--url https://api.adversarial.com/api/v1/risks/export \
--header 'Content-Type: application/json' \
--data '{ "columns": [ "id" ], "filename": "example", "filter": { "assigned_to": null, "child_id": null, "closed_after": null, "closed_before": null, "closed_is_null": null, "created_after": null, "created_before": null, "description_contains": null, "discovered_after": null, "discovered_before": null, "due_after": null, "due_before": null, "due_is_null": null, "expected_after": null, "expected_before": null, "expected_is_null": null, "free_text_contains": null, "id": null, "id_contains": null, "impact": null, "in_report_period_after": null, "in_report_period_before": null, "initially_reported_urgency": null, "likelihood": null, "mentioned": null, "opened_by": null, "order_by": null, "overdue": null, "overdue_as_of": null, "page": 1, "page_size": 50, "parent_id": [ "null" ], "source": null, "status": null, "tags": null, "threat_objectives": null, "title_contains": null, "type": null, "updated_after": null, "updated_before": null, "updated_by": null, "urgency": null, "urgency_shift": null }, "selected_risks": [ "example" ] }'
Media typeapplication/json
One of:
null

Export all risks with current state as CSV

Media typeapplication/octet-stream
Array<integer>