2026-08-10 20:10:49 -04:00
|
|
|
get:
|
|
|
|
|
tags:
|
|
|
|
|
- Health
|
2026-09-22 12:33:19 -04:00
|
|
|
summary: Check API process liveness
|
|
|
|
|
description: Returns stage and build SHA. ALB target-group probes call this without auth or a database ping.
|
|
|
|
|
operationId: get-api-health
|
2026-08-10 20:10:49 -04:00
|
|
|
security: []
|
|
|
|
|
responses:
|
|
|
|
|
"200":
|
2026-09-22 12:33:19 -04:00
|
|
|
description: API process is up.
|
2026-08-10 20:10:49 -04:00
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|
$ref: ../components/schemas.yaml#/HealthResponse
|
|
|
|
|
example:
|
2026-09-22 12:33:19 -04:00
|
|
|
stage: local
|
|
|
|
|
sha: deadbeef
|
2026-08-10 20:10:49 -04:00
|
|
|
"400":
|
|
|
|
|
description: Bad request.
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|
$ref: ../components/schemas.yaml#/Error
|
|
|
|
|
example:
|
2026-09-22 12:33:19 -04:00
|
|
|
error:
|
|
|
|
|
code: VALIDATION_ERROR
|
|
|
|
|
message: Bad request.
|
|
|
|
|
correlationId: 11111111-1111-4111-8111-111111111111
|