Download Export File
GET/api/export/download
Downloads a completed export file from the model-exports disk by filename (the file returned from create-download-file). Streams the file as a CSV download (Content-Type: text/csv).
Authentication: Requires Bearer token
Query parameters:
- file (required): Filename of the completed export. Returns 404 if omitted.
Responses:
- 200: File download (text/csv).
- 404: The
fileparam is missing, or the export file no longer exists / has expired / its metadata can't be read. Regenerate the export.
Note: Response is a file download, not JSON.
Request
Responses
- 200
Successful response