Skip to main content
Version: 2025-12-18

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.

Handling the Response

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

Returns the report file in either CSV or XLSX format.

Response Headers
    traceparent

    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.

    tracestate

    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.