MH MediaHarvester Web Context API
RETENTION CACHE DELETE

Data Retention Controls

Controls for cache freshness, request logs, generated assets and local cache purging.

Cache

Freshness controls

Most Context endpoints support maxAgeMs so callers can choose cached or fresh results.

maxAgeMs=0
Purge

Local cache purge

Tenant cache purge remains available; admins can run the configured cross-category retention job with legal-hold exclusions.

POST /v1/admin/privacy/retention/run
Assets

Generated files

Registered tenant assets follow explicit expiry or tenant lifetime; expired assets and tenant deletion remove owned files within generated/.

docs/legal/RETENTION_AND_DELETION.md
Retention API Machine-readable controls

Use GET /v1/compliance/data-retention to inspect policy and local counts.

Billing/legal record duration remains an explicit legal/accounting owner decision; other defaults are machine-readable and configurable.

Trust resources