Skip to content

Export incidents as CSV

POST
/v1/incidents/export
curl --request POST \
--url https://api.adversarial.com/api/v1/incidents/export \
--header 'Content-Type: application/json' \
--data '{ "columns": [ "id" ], "filename": "example", "filter": { "assigned_to": null, "child_id": null, "contained_after": null, "contained_before": null, "contained_is_null": null, "created_after": null, "created_before": null, "description_contains": null, "detected_after": null, "detected_before": null, "free_text": null, "id": null, "id_contains": null, "mentioned": null, "occurred_after": null, "occurred_before": null, "occurred_is_null": null, "opened_by": null, "order_by": null, "page": 1, "page_size": 50, "parent_id": [ "null" ], "responded_after": null, "responded_before": null, "responded_is_null": null, "severity": null, "source": null, "status": null, "tags": null, "threat_objectives": null, "title_contains": null, "updated_after": null, "updated_before": null, "updated_by": null }, "selected_incidents": "INC-00001" }'
Media typeapplication/json
One of:
null

Export all incidents with current state as CSV

Media typeapplication/octet-stream
Array<integer>