API (all routes proxied to /api/[[...path]])