Download a report
GET/demand/accounts/:account_id/reports/:report_id/download
This endpoint retrieves a generated report file. The format of the file, either CSV or XLSX, depends on the original report type.
The body of a successful response contains the raw data of the report file, not a JSON object. You'll need to configure your HTTP client to save the raw response body to a file with the appropriate extension (e.g., .csv or .xlsx).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Returns the report file in either CSV or XLSX format.
Response Headers
The traceparent header carries the trace ID and parent span ID, as defined by the W3C Trace Context specification. It's used to trace a single request as it moves through multiple services.
The tracestate header complements the traceparent header by carrying vendor-specific trace information. This allows different services to add their own data to a trace.
A request is not valid and can't be processed.
A request is unauthorized.
A requested is forbidden.
A requested resource isn't found.
A request failed due to an internal error.