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

# Organization Metadata Export – Creations API v2 | Magnific API

> Export the metadata of every creation in your Enterprise organization to one CSV: who made it, when, with which model and prompt, its credits and lineage.

The organization metadata export writes one CSV with a row per creation of your Enterprise organization: who made it, when, with which tool, model and prompt, what it cost in credits, which project it is in and a link to its lineage. It runs in the background, so it works for organizations with millions of creations: you start it, follow it, and download the file when it is `ready`.

> [!NOTE]
>
> The organization metadata export is available on request. Ask your account manager to enable it for your organization. Until it is, `POST /v2/creations/metadata-exports` answers `404 not_found`.

### Enable it

1. **Request it.** Ask your account manager to enable the organization metadata export for your organization.
2. **Turn it on.** Once it is enabled, an owner or admin turns on **Organization metadata export API access** in **Settings → Organization → Permissions** on magnific.com. While it is off, starting or downloading an export answers `403 metadata_export_disabled`. Turning it off takes effect at once, and turning it back on restores access to the exports already made.

### Who can use it

* **An API key of an Enterprise organization.** A personal access token gets `403 api_key_required`, and an organization that is not on an Enterprise plan gets `403 enterprise_required`.
* **Created by an owner or admin.** The export covers the whole organization, so the key must belong to an owner or admin who is still in the organization. A key created by a member gets `404 not_found`.
* **Only the key that started an export can read and download it.** Any other key gets `404 not_found` for that export.
* **With the export turned on.** Without it, starting or downloading an export gets `403 metadata_export_disabled`. The status of an export can still be read.

### How it works

**1. Start the export**

`POST /v2/creations/metadata-exports` answers `202` at once with the export `queued`. Every filter is optional:

| Field | Type | Description |
| - | - | - |
| `created_from` | string (ISO 8601) | Only creations made at or after this instant. |
| `created_to` | string (ISO 8601) | Only creations made at or before this instant. Must not be before `created_from` (`422 invalid_range`). |
| `user_email` | string | Only creations made by this member. An email with no creations gives a CSV with its header only. |
| `webhook_url` | string | A public `https` URL called once when the export ends. See [Webhooks](https://docs.magnific.com/api-reference/v2/webhooks.md). |

```bash theme={null}
curl -X POST https://api.magnific.com/v2/creations/metadata-exports \
  -H "x-magnific-api-key: $MAGNIFIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"created_from": "2026-11-01T00:00:00Z"}'
```

**2. Follow it**

`GET /v2/creations/metadata-exports/{export_id}` returns the `status` (`queued`, `processing`, `ready`, `failed` or `expired`) and the `rows` written so far. Poll it every few seconds, or pass `webhook_url` and wait for the `metadata_export.ready` or `metadata_export.failed` event. The webhook carries the export, never the file link.

A small organization is `ready` in seconds. A very large one is written in batches and can take several hours: millions of creations take hours, not minutes.

**3. Download the CSV**

Once it is `ready`, `GET /v2/creations/metadata-exports/{export_id}/download` returns a `url` to the file, valid for 60 minutes (`url_expires_at`). Request it again for a new link. Every link issued is recorded in your organization's audit log.

### What the CSV contains

One row per creation of the organization, in UTF-8 with a header row. It covers what members made inside the organization: the organization's projects and each member's personal project in it. What a member made before joining the organization is not included.

| Column | Description |
| - | - |
| `creation_identifier`, `id` | The creation's public identifier and its numeric id. |
| `tool`, `family`, `type`, `status` | The tool that made it, the kind of creation (image, video, audio…) and its status. |
| `created_at` | When it was made (ISO 8601). |
| `creation_url`, `lineage_url` | Links to the creation and to its lineage in Magnific. |
| `prompt`, `model`, `references`, `modifiers` | What it was made with. `references` and `modifiers` are JSON. |
| `width`, `height`, `aspect_ratio`, `seed`, `duration`, `resolution`, `fps` | Generation settings, when the tool has them. |
| `credits` | What it cost in credits. |
| `generator_username`, `generator_email` | The member who made it. |
| `projects_folder_reference` | The folder it is in. |
| `project_name` | The project it is in, or `Personal` for a member's personal project. |
| `source_creation`, `source_timecode`, `source_frame`, `source_rendition` | The source it was taken from, when it is a frame or clip of another creation. |
| `host_reference`, `host_reference_url` | The ticket an editor plugin linked it to, such as a Flow Production Tracking task. |
| `camera_*` | The camera of a 3D application (DCC) an editor plugin captured it through: `camera_dcc`, `camera_name`, `camera_frame`, `camera_fps`, `camera_focal_length_mm`, `camera_sensor_width_mm`, `camera_sensor_height_mm`, `camera_sensor_fit`, `camera_f_stop`, `camera_focus_distance_m`, `camera_shutter_angle_deg`, `camera_lens_shift_x_mm`, `camera_lens_shift_y_mm`, `camera_position`, `camera_rotation`, `camera_provenance`. |
| `license_plan_type` | Reserved; empty for now. |

An empty cell means the creation has no value for that column. A value that starts with `=`, `+`, `-`, `@`, a tab or a carriage return is prefixed with `'` so spreadsheets do not run it as a formula.

### Limits and retention

* **Two exports at a time.** A third while two are `queued` or `processing` gets `429 too_many_exports`. Wait for one to end.
* **The file is kept one day.** After `expires_at`, one day after the export was `ready`, the export is `expired` and the download answers `410 export_expired`. Start a new export.
* **Download links last 60 minutes.** Request the download endpoint again for a new one.
* **A failed export has no file.** The download answers `422 export_failed`, and `error` says why. Start a new export.

> [card] [POST /v2/creations/metadata-exports](https://docs.magnific.com/api-reference/v2/creations/metadata-export-start.md)
>
> Start an organization metadata export

> [card] [GET /v2/creations/metadata-exports/\{export\_id}](https://docs.magnific.com/api-reference/v2/creations/metadata-export-get.md)
>
> Follow its status and rows

> [card] [GET /v2/creations/metadata-exports/\{export\_id}/download](https://docs.magnific.com/api-reference/v2/creations/metadata-export-download.md)
>
> Get a link to the CSV

## Frequently Asked Questions

> [accordion] Why do I get 403 metadata\_export\_disabled?
>
> The organization metadata export is not turned on for your organization. An owner or admin can turn on **Organization metadata export API access** in **Settings → Organization → Permissions** once your account manager has enabled it.

> [accordion] Why do I get 404 when I start an export?
>
> Either the export is not open to your organization yet, or the API key was created by a member rather than an owner or admin. Use a key created by an owner or admin, and ask your account manager to enable the export for your organization.

> [accordion] Can I export only part of the organization?
>
> Yes. Filter by date with `created_from` and `created_to`, and by member with `user_email`. Without filters the export covers every creation of the organization.

> [accordion] How long does an export take?
>
> It depends on the number of creations. Small organizations are `ready` in seconds; an organization with millions of creations can take several hours. Use `webhook_url` instead of polling for long exports.

> [accordion] How long can I download the file?
>
> One day after it is `ready`. Each download link lasts 60 minutes, and you can request a new one as often as you need within that day.

## Related APIs

* **[Creation lineage](https://docs.magnific.com/api-reference/v2/creations/lineage.md)**: the full lineage of one creation.
* **[Audit Logs API v2](https://docs.magnific.com/api-reference/v2/audit-logs/overview.md)**: who did what in your organization, including each export download.
* **[Webhooks](https://docs.magnific.com/api-reference/v2/webhooks.md)**: how webhook notifications are signed and retried.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.