exports.write permission.
Export types
| Type | Description |
|---|---|
audit | Export of the organization’s audit log |
account_data | Full snapshot of organization-scoped data, excluding secrets |
DataExport schema
| Field | Type | Description |
|---|---|---|
id | UUID | Unique export identifier |
organization_id | UUID | The organization this export belongs to |
export_type | string | audit or account_data |
status | string | completed, failed, or expired |
storage_path | string | Location in the configured export storage backend |
requested_by | UUID | null | User ID who requested the export |
completed_at | datetime | null | When the export finished |
created_at | datetime | When the export job was created |
updated_at | datetime | When the export record was last updated |
Creating an export
- Audit export
- Account data export
Creates an export of the organization’s audit log. The export is generated immediately and stored through the configured backend.Response:
POST /api/v1/exports/audit — requires exports.write permission.List exports
Returns all export jobs for the current organization, across both export types.GET /api/v1/exports — requires exports.write permission.
Export storage
Exports are written to the export storage backend configured for your deployment. Thestorage_path field on each export record indicates the location of the file within that backend. Contact your administrator to retrieve exported files if you do not have direct storage access.