import { platformApi } from '~~/server/utils/platform-api' export default defineEventHandler(async (event) => { // We force override=true here because this proxy is only callable from the // operator UI's "Run archive now" button, which is explicitly a dev/ops // exercise of the cold-storage path. Production may want to remove this // proxy entirely once schedulers are trusted. return platformApi(event, '/audit/archive/run?override=true', { method: 'POST' }) })