Open source file-system and knowledge based agent template. Build AI agents that stay up to date with your knowledge base
import { getSnapshotRepoConfig } from '../../utils/sandbox/snapshot-config'
import { requireAdmin } from '../../utils/admin'
/**
* GET /api/snapshot/config
* Returns the configured snapshot repository (admin only).
*/
export default defineEventHandler(async (event) => {
await requireAdmin(event)
return await getSnapshotRepoConfig()
})