---
title: "Get all export requests"
method: GET
path: "/api-offers/offers-exports"
tags: ["Exports"]
---

# Get all export requests

`GET /api-offers/offers-exports`

## Request

- Base URL: `https://live.copilot.fabric.inc`
- URL: `https://live.copilot.fabric.inc/api-offers/offers-exports`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/fabric/apis/offers-v2/docs/api-offers/offers-exports/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a paginated list of all the export requests.

## Query parameters

- `size` integer
- `offset` integer
- `sort` string
- `type` 'REDEMPTION' | 'CALCULATED_PRICE'

## Headers

- `x-site-context` string, required

## Response `200`

OK

- ExportListResponse: A paginated response of export requests.
  - `query` OffsetQuery: Provides pagination data.
    - `size` integer: The maximum number of records per page.
    - `offset` integer: The number of records to skip before returning records. For example, with an offset of 20 and limit of 10, you will get records from 21 to 30.
    - `count` integer: The total number of available records.
  - `data` ListExportData[]: The response data.
    - `exportId` string, required: The unique ID for the export request that is used to retrieve the export details.
    - `startedAt` string, required: The start time of the export process.
    - `endedAt` string, nullable: The end time of the export process.
    - `status` 'IN_PROGRESS' | 'COMPLETED' | 'ERROR', required: The status of the export process. The [download exported CSV file](/v2/api-reference/offers-v2/exports/download-exported-csv-file) endpoint can generate a download URL only if the export status is `COMPLETED`.
    - `type` string, required: The type of data to export.
    - `totalDataExported` number: The total number of exported data in the csv file. Each row in the csv file represents one record of exported data.
    - `fileId` string, nullable: The S3 `fileId` value to generate a downloadable CSV using the [download exported CSV file](/v2/api-reference/offers-v2/exports/download-exported-csv-file) endpoint.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `500`: Internal server error

---

[API](https://skmtc.dev/fabric/apis/offers-v2.md) - [All operations](https://skmtc.dev/fabric/apis/offers-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/fabric/apis/offers-v2/revisions/da2bd742b9bc?raw)
