GET
/api/healthPublicLiveness probe
Unauthenticated health check. Reports the app environment the server runs in.
operationId
get_api_healthDemoAuthentication & permissionsPublic
Anyone — no credentials required
- Accepted credentials
- None required
- Notes
- Anyone can call this; it is what load balancers poll.
Responses
application/json
| Property | Type | Description |
|---|---|---|
| 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'