Moonborn — API
admin
Platform admin (orgs / users / moderation / health / metrics)
- POST/v1/admin/audit/archiveRun audit_log archive cron once (admin/cron entrypoint)
- GET/v1/admin/audit/searchSearch audit_log entries by org + filter (incident response)
- POST/v1/admin/audit/verify-chainVerify audit_log hash chain integrity (per-org tamper detection)
- POST/v1/admin/billing/flush-usageDrain unreported usage_events to Stripe billing meter (admin/cron entrypoint)
- POST/v1/admin/dsar/build-oneProcess one pending DSAR export (admin/cron entrypoint)
- GET/v1/admin/healthDetailed platform health (DB pools, Redis, providers)
- GET/v1/admin/metricsPlatform-wide metrics snapshot (cost / volume / errors)
- POST/v1/admin/moderation/{id}/reviewDecide a queued moderation item (approve / reject)
- GET/v1/admin/moderation/queueList pending moderation reviews
- POST/v1/admin/notifications/send-digestSend weekly digest email for a user (admin/cron entrypoint, Tier-1 Turn 235)
- GET/v1/admin/orgsList all organizations (platform admin)
- POST/v1/admin/personas/hard-delete-dueHard-delete personas whose grace window elapsed (admin/cron)
- POST/v1/admin/privacy/dsar/sla-scanScan pending DSAR for SLA breach (admin/cron entrypoint, Tier-1 Turn 239)
- POST/v1/admin/retention/sweepRun the retention sweep cron once (admin/cron entrypoint)
- GET/v1/admin/usersList all users (platform admin)
- GET/v1/admin/webhooks/dead-letterList dead-lettered webhook deliveries for an org
- POST/v1/admin/webhooks/dead-letter/{id}/replayReplay a dead-lettered webhook delivery (creates a fresh pending delivery)
- POST/v1/admin/webhooks/dead-letter/bulk-replayReplay every dead-lettered webhook delivery in an org (admin/incident)
- POST/v1/admin/webhooks/monitor-dlqCheck DLQ depth + raise severity alerts (admin/cron entrypoint, Tier-1 Turn 233)
- POST/v1/admin/webhooks/pollRun one webhook delivery batch (admin/cron entrypoint)
- POST/v1/admin/webhooks/rotate-secretsRotate webhook secrets older than the configured max-age (admin/cron entrypoint)