Skip to content

Glossary: Next.js Beyond the Basics

Health check

Also written: /api/health, HEALTHCHECK

A small endpoint (here /api/health) that monitoring tools call to ask "are you alive?". It answers {"ok":true}, or a 500 error if the database can't be opened.

Where the book teaches it

Related terms

Route handlersql tag