Download a report file
get
https://api.flactrum.com/v1/reports/{report}/download
Returns a file, not JSON. An unsupported format falls back to CSV.
| Required scope | reports.read |
| Success status | 200 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| report * | path | string | ULID of the record. |
| format | query | string | — |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/reports/01m43myas0fnbeamp04k7he18a/download?format=csv' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · text/csv
(file download — the body is the report itself, not JSON)