Skip to content

Interface: SourceDetailResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Sources / SourceDetailResponse

Interface: SourceDetailResponse

Defined in: src/types/sources.ts:221

Response with source details and health.

Properties

available

available: boolean

Defined in: src/types/sources.ts:227

Whether the source is currently available.


mode

mode: string

Defined in: src/types/sources.ts:232

Resolved write-path mode: "transpile" or "ingest" (see SourceWriteMode). Typed as string for the reason given on SourceSummaryDto.mode.


sourceId

sourceId: string

Defined in: src/types/sources.ts:223

Source identifier.


sourceType

sourceType: string

Defined in: src/types/sources.ts:225

Source type.


supportedModes

supportedModes: string[]

Defined in: src/types/sources.ts:243

The write-path modes this source’s adapter can actually serve (#71).

Always contains 'ingest' — every adapter can materialize. Contains 'transpile' only when the adapter executes transpiled SQL, which is what a live view requires. A client rendering a mode selector should offer exactly these, rather than hard-coding a list of source types: the set is derived from the adapter’s declared capability, so it stays correct as adapters gain the ability.