GDPR
intermediateManage consent, data export, erasure requests, and processing registry for GDPR compliance.
List consents
/v1/gdpr/consentsList all consent records for the authenticated user.
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "user-uuid",
"consent_type": "memory_storage",
"granted": true,
"ip_address": "203.0.113.42",
"user_agent": "Mozilla/5.0...",
"version": "1.0",
"granted_at": "2026-01-15T10:00:00Z",
"withdrawn_at": null
}
]Record consent
/v1/gdpr/consentsGrant consent for a specific processing purpose.
consent_typestringrequiredConsent type: memory_storage, analytics, marketing, etc.
grantedbooleanrequiredWhether consent is granted.
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "user-uuid",
"consent_type": "analytics",
"granted": true,
"ip_address": "203.0.113.42",
"user_agent": "Mozilla/5.0...",
"version": "1.0",
"granted_at": "2026-01-15T10:00:00Z",
"withdrawn_at": null
}Withdraw consent
/v1/gdpr/consents/{consent_type}Withdraw a previously granted consent by type.
consent_typestringrequiredThe consent type to withdraw (path parameter).
{
"message": "Consent withdrawn"
}Withdrawing memory_storage consent may trigger automatic data erasure depending on your organization's configuration.
Request data export
/v1/gdpr/exportRequest a full export of all your data (GDPR Article 20 — Right to data portability).
{
"request_id": "exp_abc123",
"status": "processing",
"estimated_completion": "2026-01-15T10:30:00Z"
}Check export status
/v1/gdpr/export/{request_id}Check the status of a data export request.
request_idstringrequiredExport request ID (path parameter).
{
"request_id": "exp_abc123",
"status": "completed",
"created_at": "2026-01-15T10:00:00Z",
"download_url": "https://exports.engramma-memory.com/exp_abc123.json.gz"
}Download links expire after 24 hours. Request a new export if the link has expired.
Request erasure
/v1/gdpr/erasureRequest permanent deletion of all your data (GDPR Article 17 — Right to erasure). Subject to a cooling-off period.
reasonstring | nullOptional reason for the erasure request.
{
"request_id": "era_abc123",
"status": "scheduled",
"cooling_period_ends": "2026-01-22T00:00:00Z"
}Erasure is permanent and irreversible after the cooling period. You can cancel before the cooling period ends.
Cancel erasure
/v1/gdpr/erasure/{request_id}Cancel a pending erasure request before the cooling period ends.
request_idstringrequiredErasure request ID (path parameter).
{
"message": "Erasure request cancelled"
}Processing registry
/v1/gdpr/processing-registryView the complete registry of how your data is processed (GDPR Article 30).
[
{
"name": "Memory storage and retrieval",
"purpose": "Store and retrieve user memories via cognitive engine",
"legal_basis": "consent",
"data_categories": [
"text content",
"metadata",
"embeddings"
],
"recipients": [
"Internal processing systems"
],
"retention_period": "Until account deletion or erasure request",
"international_transfers": false,
"safeguards": "Data encrypted at rest and in transit"
}
]Next steps
- Security — Audit logs and session management
- GDPR Rights Guide — Exercise your rights step by step