Skip to content

Interface: UIGenerateResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / UIGenerateResponse

Defined in: src/types/ui.ts:635

Certified prompt-to-UI generation response.

verdict is "certified", "repaired", or "abstained". On abstention the descriptor and layout are absent and suggestions carries live-schema alternatives. An absent field (sent omitted or null) reads undefined, and an empty list may be omitted.

optional certificateId?: string

Defined in: src/types/ui.ts:649

Content-addressed certificate id of the accepted spec.


optional conversationId?: string

Defined in: src/types/ui.ts:656

The generative_ui conversation this exchange was recorded into. Pass it back as UIGenerateRequest.conversationId to continue in the same conversation.


optional data?: UIDataPayload

Defined in: src/types/ui.ts:647

Engine-loaded rows of the first data source, always produced by OSFQL execution and never by the model. UIGenerateResponse.dataSources carries every source.


optional dataLoadErrors?: DataLoadError[]

Defined in: src/types/ui.ts:668

One entry for each data_source query whose load failed, keyed by query like dataSources. A failed source has no entry in dataSources; the spec still renders.


optional dataSources?: UIDataSourcePayload[]

Defined in: src/types/ui.ts:662

Engine-loaded rows for each data_source query, so each table of a multi-table UI has its own data.


optional descriptor?: UIDescriptorDto

Defined in: src/types/ui.ts:641

The certified component tree. Absent when the verdict is "abstained".


optional diagnostics?: string[]

Defined in: src/types/ui.ts:658

Screening diagnostics (abstention reasons, repair notes).


optional intents?: UIGenerateIntent[]

Defined in: src/types/ui.ts:670

Per-intent resolution record. Catalog pipeline only.


optional layout?: LayoutSurfaceDto

Defined in: src/types/ui.ts:639

The certified layout surface. Absent when the verdict is "abstained".


optional pageVersion?: number

Defined in: src/types/ui.ts:651

Saved page version, when UIGenerateRequest.saveAsPage or basePage was set.


optional suggestions?: string[]

Defined in: src/types/ui.ts:660

“Did you mean” candidates from the live schema.


optional trace?: UIPipelineStageTrace[]

Defined in: src/types/ui.ts:672

Per-stage catalog-pipeline trace, when requested with UIGenerateRequest.trace.


verdict: UIGenerateVerdict

Defined in: src/types/ui.ts:637

certified | repaired | abstained.