> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aiinsurance.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> List the export presets saved in a company

## Overview

An export preset is a named, ordered list of export column keys that one user saved for one entity type (for example `event`, `insured`, `policy` or `quote`).

`GET /api/external/companies/{companyId}/export-presets` returns every preset in the company, including presets saved by other users. Results are not paginated and are ordered by `entityType`, then `name`. Preset names are not unique, so two presets with the same name can both appear.

## Filtering

| Parameter    | Description                                                      |
| ------------ | ---------------------------------------------------------------- |
| `entityType` | Optional. Return only presets whose `entityType` matches exactly |

## Permissions

| Endpoint                                             | Method | Permission                   |
| ---------------------------------------------------- | ------ | ---------------------------- |
| `/api/external/companies/{companyId}/export-presets` | GET    | `company.export_preset:read` |

## Example Response

```json theme={null}
{
  "items": [
    {
      "id": "7a6b5c4d-3e2f-4a1b-8c9d-0e1f2a3b4c5d",
      "entityType": "policy",
      "name": "Renewals",
      "fieldKeys": ["policyNumber", "policyEndDate", "premium"],
      "owner": {
        "id": "auth0|64f1a2b3c4d5e6f7a8b9c0d2",
        "name": "John Doe",
        "email": "john.doe@example.com"
      }
    }
  ],
  "totalCount": 1
}
```

`owner` is `null` when the preset has no owner. `entityType` and `name` can also be `null`, and `fieldKeys` is empty, for presets that were saved without those values.
