Unlearn
GDPR compliance
Deleting a document isn't enough. Unlearn performs semantic deletion—removing concepts from your entire context grid, with cryptographic proof that it's truly gone.
Semantic Deletion
Remove concepts, not just documents. "Forget employee X" removes all mentions across all sources.
GDPR Article 17
Full "Right to be Forgotten" compliance. Automated workflows for data subject requests.
Deletion Certificates
Cryptographically signed proof of deletion. Satisfy auditors with immutable records.
Propagation Tracking
Track where deleted data may have been referenced. Ensure complete removal.
Scheduled Purges
Automatic deletion based on retention policies. Set it and forget it.
Impact Preview
See what will be affected before deletion. Prevent accidental data loss.
import { Metalogue } from '@metalogue/sdk';
const client = new Metalogue({ apiKey: 'mtlg_...' });
// Process a GDPR deletion request
const request = await client.unlearn.create({
type: 'gdpr-article-17',
subject: 'user@example.com',
scope: 'all-mentions', // Also removes indirect references
preview: true
});
console.log(request.impactPreview);
// {
// documentsAffected: 47,
// mentionsRemoved: 156,
// sources: ['slack', 'notion', 'email']
// }
// Execute the deletion
const result = await client.unlearn.execute(request.id);
// Get deletion certificate
const certificate = await client.unlearn.getCertificate(result.id);
// Returns: signed PDF with SHA-256 hash of deleted data