POST /scenario/export
Export Scenarios
Export all scenarios as a clean, denormalized CSV.
Request Body (ExportScenarioApiRequest)
| Field | Type | Required | Description |
|---|---|---|---|
scenario_id | string | No | UUID of the scenario to export |
search | string | No | Search query text |
persona_ids | string[] | No | Filter by persona UUIDs |
simulation_ids | string[] | No | Filter by simulation UUIDs |
filter_department_ids | string[] | No | Filter by department UUIDs |
idempotency_key | string | No | Idempotency key — replays the prior export instead of re-running |
Response (ExportScenarioApiResponse)
| Field | Type | Required | Description |
|---|---|---|---|
content | string | Yes | Exported file content |
file_name | string | Yes | Suggested file name for download |
mime_type | string | Yes | MIME type of the exported content |
row_count | integer | Yes | Total number of exported rows |
Last updated on