---
title: "List user's export requests"
method: GET
path: "/api/exports"
tags: ["Exports"]
---

# List user's export requests

`GET /api/exports`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/exports`
- Auth: HTTP bearer

Get paginated list of export requests for the authenticated user

## Query parameters

- `page` integer
- `limit` integer
- `sortBy` string
- `sortOrder` 'ASC' | 'DESC'
- `entity_type` 'participants' | 'coaches' | 'partners' | 'cohorts' | 'groups' | 'sessions' | 'resources' | 'users' | 'survey_responses' | 'attendance'
- `status` 'pending' | 'processing' | 'completed' | 'failed'

## Response `200`

Paginated list of export requests

- object
  - `success` boolean
  - `data` ExportRequestWithDetails[]
    - `id` string, uuid
    - `entity_type` 'participants' | 'coaches' | 'partners' | 'cohorts' | 'groups' | 'sessions' | 'resources' | 'users' | 'survey_responses' | 'attendance'
    - `context_type` 'global' | 'cohort' | 'partner'
    - `context_id` string, uuid, nullable
    - `filter_context` object, nullable: Filters/search applied when export was requested
    - `selected_columns` string[]
    - `include_all_columns` boolean
    - `match_current_view` boolean
    - `format` 'csv' | 'xlsx'
    - `requested_by` string, uuid
    - `requested_at` string, date-time
    - `status` 'pending' | 'processing' | 'completed' | 'failed'
    - `retry_count` integer
    - `started_at` string, date-time, nullable
    - `completed_at` string, date-time, nullable
    - `record_count` integer, nullable
    - `file_size` integer, nullable
    - `expires_at` string, date-time, nullable
    - `error_message` string, nullable
    - `created_at` string, date-time
    - `requested_by_name` string
    - `requested_by_email` string
    - `context_name` string, nullable
  - `meta` object
    - `pagination` object
      - `page` integer
      - `limit` integer
      - `total` integer
      - `totalPages` integer

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
