> For the complete documentation index, see [llms.txt](https://integrations.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.impact.com/partner-api-reference/reference/reports/report-export.md).

# Report Export

Schedule an asynchronous report export and poll for results via the Partner Jobs API.

## Export a report (asynchronous)

> Schedules a background job to export a report. Returns immediately with a \`QueuedUri\` pointing to the Partner Jobs API — poll that endpoint to track progress, then download the result from \`ResultUri\` once the job is complete.\
> \
> Use this endpoint instead of Run Report for any dataset that may exceed 20,000 rows.<br>

```json
{"openapi":"3.1.0","info":{"title":"Partner Reports API","version":"16"},"tags":[{"name":"Report Export","description":"Schedule an asynchronous report export and poll for results via the Partner Jobs API."}],"servers":[{"url":"https://api.impact.com","description":"Production server"}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Use your AccountSID as the username and AuthToken as the password."}}},"paths":{"/Mediapartners/{AccountSID}/ReportExport/{Id}":{"get":{"operationId":"exportReports","tags":["Report Export"],"summary":"Export a report (asynchronous)","description":"Schedules a background job to export a report. Returns immediately with a `QueuedUri` pointing to the Partner Jobs API — poll that endpoint to track progress, then download the result from `ResultUri` once the job is complete.\n\nUse this endpoint instead of Run Report for any dataset that may exceed 20,000 rows.\n","parameters":[{"name":"AccountSID","in":"path","required":true,"schema":{"type":"string"},"description":"Unique identifier for the partner account."},{"name":"Id","in":"path","required":true,"description":"The report handle (e.g., `mp_action_listing_fast`). Get this from the `Id` field returned by List Reports.","schema":{"type":"string"}},{"name":"SUBAID","in":"query","required":false,"description":"Program ID to scope the report to a single brand. Omit to include all programs you partner with.","schema":{"type":"string"}},{"name":"START_DATE","in":"query","required":true,"description":"Start date for the report's date range, in `YYYY-MM-DD` format.","schema":{"type":"string","format":"date"}},{"name":"END_DATE","in":"query","required":true,"description":"End date for the report's date range, in `YYYY-MM-DD` format.","schema":{"type":"string","format":"date"}},{"name":"ResultFormat","in":"query","required":false,"description":"Format for the exported result file.","schema":{"type":"string","enum":["CSV","JSON","XML"],"default":"CSV"}}],"responses":{"200":{"description":"Job successfully queued.","content":{"application/json":{"schema":{"type":"object","properties":{"Status":{"type":"string","description":"The initial status of the queued export job."},"QueuedUri":{"type":"string","description":"API resource path for polling the job's status via the Partner Jobs API."},"ResultUri":{"type":"string","description":"API resource path to download the result file once the job has completed."},"ReplayUri":{"type":"string","description":"API resource path to replay the export job once it has completed, failed, or been cancelled."}}}}}},"404":{"description":"No report exists with the supplied Id, or the report is not API accessible."}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://integrations.impact.com/partner-api-reference/reference/reports/report-export.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
