GET/api/healthPublic

Liveness probe

Unauthenticated health check. Reports the app environment the server runs in.

operationId get_api_healthDemo

Authentication & permissionsPublic

Anyone — no credentials required

Accepted credentials
None required
Notes
Anyone can call this; it is what load balancers poll.

Responses

application/json
PropertyTypeDescription
ok*true
environment*"development" | "test" | "staging" | "production"
timestamp*integer

Unix epoch milliseconds when the response was produced

JSONExample
"ok"true
"environment""development"
"timestamp"1757000000000

Example request

bashcurl
curl -X GET 'https://example-nextjs-resource-server.schemavaults.com/api/health'