ready.
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
- Request it. Ask your account manager to enable the organization metadata export for your organization.
- 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 gets403 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_foundfor 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: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.
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
queuedorprocessinggets429 too_many_exports. Wait for one to end. - The file is kept one day. After
expires_at, one day after the export wasready, the export isexpiredand the download answers410 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, anderrorsays why. Start a new export.
POST /v2/creations/metadata-exports
Start an organization metadata export
GET /v2/creations/metadata-exports/{export_id}
Follow its status and rows
GET /v2/creations/metadata-exports/{export_id}/download
Get a link to the CSV
Frequently Asked Questions
Why do I get 403 metadata_export_disabled?
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.
Why do I get 404 when I start an export?
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.
Can I export only part of the organization?
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.How long does an export take?
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.How long can I download the file?
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: the full lineage of one creation.
- Audit Logs API v2: who did what in your organization, including each export download.
- Webhooks: how webhook notifications are signed and retried.