# Exports

Exports let you asynchronously export almost all the Core API resources from your organization's environment. At the moment, two types of `format` are available when exporting resources: **JSON** (default) and **CSV**.

Exports can be managed via API or using the related back-office app in the *Apps* section of the admin dashboard.

For each resource, you can specify the relationships you want to add to the export (among the supported ones) as `includes` (this way, the included resource will be included in the export with all its attributes). Alternatively, you can specify which fields of the main (and related) resource you want to export by using the `fields` array — this will reduce the export size and result in a more clean and efficiently exported dataset. You can also apply some `filters` to fine-tune the exported data, and decide to skip redundant attributes excluding them from your export by setting the `dry_data` attribute to `true` (default is `false`).

{% hint style="info" %}
Except for some particular cases, exported outputs can be used as `inputs` for the [imports API](https://docs.commercelayer.io/core-api-reference/imports).
{% endhint %}

As soon as an export is created you can check the number of items that are going to be exported by inspecting the `records_count` attribute. You can poll the `status`, `estimated_completion_at`, `processed_count`, and `progress` attributes to check the export progress until it's completed. Then, you can download the exported data using the link exposed in the `attachment_url` attribute.

{% hint style="info" %}
Exports can be interrupted and restarted via trigger attribute (`_interrupt`, `_start`).
{% endhint %}

<details>

<summary>How-to</summary>

Check the related [guide](https://app.gitbook.com/s/-LgByaSP8eKjad-MIuHE/exporting-resources) for any further information about the export process (e.g. export limits, supported associations, filters, errors, and examples).

</details>
