13 · Environments & Packaging
API Route
Backend endpoint in the web app
A server endpoint defined inside a web framework—often as a file like `app/api/…`—so the same project can serve UI and JSON handlers.
Concrete example
A Next.js route at `/api/checkout` handles payment intent creation.
Why it matters
Where agents usually put small backend logic without a separate service.