Optional ReadonlyapiLabel for the API in health responses (e.g., 'my-api', 'docker').
Optional ReadonlyconnectionConnection state manager for API health checks. If not provided, API connectivity checks are skipped.
Optional ReadonlyisFunction to check if the API is configured.
If not provided, defaults to checking for API_URL env var.
Health endpoint configuration for API connectivity monitoring.
Allows consumers to wire their ConnectionStateManager to the
/readyendpoint so readiness probes reflect the actual API connection state.Without this configuration, the
/readyendpoint reportsapi: { configured: false, state: 'unknown', connected: false }.Example