| Field | Type | Description |
|---|---|---|
status | string | Always "ok" when service is running |
service | string | Service identifier: "kyc-health" |
check_type | string | Type of check: "liveness" |
timestamp | string | ISO 8601 timestamp of the check |
cold_start | boolean | true if this was a cold Lambda start |
function_name | string | AWS Lambda function name |
function_version | string | Lambda function version |
request_id | string | Unique request identifier |
| Code | Description |
|---|---|
| 200 | Service is healthy and responding |
| 500 | Service is unavailable (should not occur if service is running) |
health:readiness_check permission. Include your Bearer token in the Authorization header.
"degraded":
| Field | Type | Description |
|---|---|---|
status | string | Overall status: "healthy" or "degraded" |
service | string | Service identifier: "kyc-health" |
check_type | string | Type of check: "readiness" |
timestamp | string | ISO 8601 timestamp of the check |
cold_start | boolean | true if this was a cold Lambda start |
dependencies | object | Status of each dependency (S3, DynamoDB) |
| Field | Type | Description |
|---|---|---|
status | string | "healthy" or "unhealthy" |
service | string | Service name ("s3" or "dynamodb") |
message | string | Human-readable status message |
error | string | Error code (only present if unhealthy) |
| Code | Description |
|---|---|
| 200 | Readiness check completed (may be healthy or degraded) |
| 403 | Forbidden - Missing health:readiness_check permission |
| 401 | Unauthorized - Missing or invalid token |
/health endpoint requires no authentication (by design for monitoring)/health/ready requires health:readiness_check permission