⚡ You're viewing a live demo of ChimerAI. Data resets daily at midnight UTC.Get the CLI →

GDPR Tools

User data rights management - GDPR / DSGVO compliant.

$ chimerai add gdpr

+lib/gdpr.ts

+app/gdpr/page.tsx

+app/api/gdpr/consent/route.ts

+app/api/gdpr/export/route.ts

+app/api/gdpr/delete/route.ts

+prisma: model ConsentLog { userId, type, granted, createdAt }

Export My Data

Real JSON download: user, conversations, API keys, consent logs (Art. 15)

GET /api/gdpr/export

Delete All Data

Real DB cascade delete - requires email confirmation (Art. 17)

DELETE /api/gdpr/delete

Consent Preferences (Art. 7)

POST /api/gdpr/consent

Loading from database...

This is the real implementation - not a simulation. Export downloads actual DB data, consent toggles write to the ConsentLog table, and delete performs a real cascade. Install in your own project with chimerai add gdpr.