Data Export Contract
What the export contains, what it leaves out, and how its format is versioned.
The commitment
Diffuso treats your data as yours. We hold it on your behalf; we don't own it. To make this real, we publish — and commit to — a stable export contract.
Every paid and free account can download an export at any time from Settings → Your Data or by calling GET /api/account/export?format=zip. Export works the same on every plan, including Free. You can make up to 3 export requests in 24 hours.
This export isn't a full copy of all the personal data we hold about you. For a complete copy under GDPR Articles 15 and 20, email privacy@diffuso.app.
What's included
These are the sections of export.json. This list is complete: if something isn't here, it isn't in the export.
profile— Your profile: email, display name, avatar, plan, sign-up and last-login dates.social_accounts— Connected platform accounts: platform, username, connection and sync dates.oauth_tokens_metadata— Token metadata: type, scope, expiry. Never the tokens themselves.scheduled_posts— Scheduled posts, with captions, media references and status.post_deliveries— Delivery results for each post on each platform.growth_history— Follower-count snapshots over time.media_fingerprints— Fingerprints of uploaded media, used to spot duplicates.edge_function_logs— Processing logs linked to your account.deletion_audit_logs— Records of account and platform data deletions.storage— File names of the media and avatar images you uploaded that are still in storage (not the files).subscriptions— Your subscriptions: plan, status, billing periods and prices.subscriptions_history— Changes to your subscriptions over time.subscription_events— Billing events received for your subscriptions.users_history— Changes to your plan and email address.post_metrics— Stats we synced for each post over time: views, likes, comments, shares and impressions, plus follower count and engagement rate where we have them (YouTube has no engagement rate).analytics_snapshots— Daily account snapshots: followers, following, post count, and views, likes, comments and shares.
Schema version 1 — files in the ZIP
The ZIP contains the following files:
export.json— Every table in the export, all fields. JSON preserves nested structures (e.g., metadata blobs) without flattening, and it is the only file with your processing logs, subscription and billing history, and plan and email changes. Source of truth.csv/social_accounts.csv— Connected platform accounts.csv/oauth_tokens_metadata.csv— Token metadata only. Never includes secret material — token bytes, refresh tokens, and app secrets are excluded by design.csv/scheduled_posts.csv— Posts queued, running, completed, or failed.csv/post_deliveries.csv— Per-platform delivery results for each scheduled post.csv/growth_history.csv— Follower-count snapshots over time.csv/media_fingerprints.csv— Hash fingerprints used for de-dup tracking.csv/deletion_audit_logs.csv— GDPR / platform-deletion audit trail.csv/post_metrics.csv— Stats for each post over time: views, likes, comments, shares and impressions.csv/analytics_snapshots.csv— Daily follower and activity snapshots for each account.csv/profile.csv— Single-row user profile (email, display name, etc.).csv/storage_files.csv— File names of the media and avatar images you uploaded that are still in Diffuso storage. The files themselves are not in the export.MANIFEST.json— Schema version, file inventory, contract URL, exported timestamp.README.txt— Human-readable summary.
Schema versioning — what changes are safe
The export schema is versioned. The current version is v1, surfaced in MANIFEST.json and the response header X-Diffuso-Export-Schema.
Safe changes (no version bump):
- Adding a new file or new column — your existing parsers should tolerate unknown fields and continue working.
- Adding a new table whose contents are scoped to a new feature.
Breaking changes (require v2, with a deprecation cycle):
- Renaming a column or table.
- Removing a column or table.
- Changing the type or semantics of an existing column.
If we publish a v2, both v1 and v2 will be available for at least 12 months, with a deprecation notice in the v1 manifest. Specify the version you want via the (forthcoming) Accept header; v1 remains the default until v2 is generally available.
What's not in the export
Anything not listed under “What's included” isn't in the export. Notably:
- OAuth secret tokens — these are platform-issued credentials, encrypted at rest, never sent to the client. Re-authorize platforms in the destination tool.
- Other users' data — your workspace is yours; teammates' private data stays in their workspaces.
- Media files — the storage inventory lists the names of uploads still in storage, not the files. Media you published lives on the platforms you posted to.
- Drafts, post templates, saved replies and posting rules
- Inbox — comments and direct messages.
- X credit history — your credit balance and transactions.
API
GET /api/account/export?format=zip — ZIP with JSON and CSV files (default)
GET /api/account/export?format=json — JSON only
Authentication: your signed-in session (cookie). API keys are not accepted for export. Response includes X-Diffuso-Export-Schema header.