Skip to content

Interface: EnrichedHealthResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / EnrichedHealthResponse

Defined in: src/types/health.ts:43

Enriched health response with component statuses, build info and the identity of the engine process that answered.

The engine always sends bootId, startedAt, uptimeSeconds and buildInfo. They are optional here only because a gateway-fronted deployment can answer the health route with an empty or partial body; the SDK then leaves them absent and never invents a value.

optional bootId?: string

Defined in: src/types/health.ts:50

Identity of the engine process that answered (a UUID). It is stable for the life of the process and different after every restart (a rebuild, a crash, a redeploy). Derived conclusions are process-scoped, so a client that sees bootId change must treat its derived view as reset.


optional buildInfo?: BuildInfoDto

Defined in: src/types/health.ts:57

Build information for the running server.

Optional: some deployments (typically the gateway-fronted production health endpoint) omit build info and return null here.


components: ComponentHealthDto[]

Defined in: src/types/health.ts:59

Health status of individual components.


optional holdsUnprovenText?: boolean

Defined in: src/types/health.ts:79

Whether the engine holds text no person confirmed (ASR, OCR, model or unknown words): those are passages to confirm, and nothing they say is a fact until then. A client picks its correction path from this, never from the engine’s version or from an error. Absent when the answering deployment predates it.


optional liveRecording?: boolean

Defined in: src/types/health.ts:88

Whether this engine keeps a live recording: the caption socket accepts /ws/audio/stream?protocol_version=2&recording=<uuid>, and IngestionClient.getLiveRecording with its stop and retry methods serves it. A client reads it to choose between the engine’s recording and its own fallback, with no probe and no timeout. Absent when the answering deployment predates it.


optional sovereign?: boolean

Defined in: src/types/health.ts:71

Whether sovereign mode is active. In this mode, every configured endpoint is inside the customer network. The detail is at GET /api/v1/sovereignty. Absent when the answering deployment omits it.


optional startedAt?: string

Defined in: src/types/health.ts:61

Wall-clock instant this process started (RFC 3339, UTC).


status: string

Defined in: src/types/health.ts:63

Overall health status.


optional uptimeSeconds?: number

Defined in: src/types/health.ts:65

Whole seconds since this process started; monotonic within one bootId.