Skip to content

Interface: GoalObservationRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GoalObservationRequest

Defined in: src/types/cognitive.ts:633

An original measurement of a goal’s declared postcondition — the body of CognitiveClient.admitGoalObservation.

agentId: string

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

Agent ID (UUID).


eventKey: string

Defined in: src/types/cognitive.ts:643

Stable original event key within the source.


optional eventRevision?: number

Defined in: src/types/cognitive.ts:645

Original event revision.


goalId: string

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

Goal whose postcondition was measured (UUID).


observedAt: number

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

Original observation time, in Unix seconds.


source: string

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

Source key; it must be one the goal’s MeasuredOutcome.sources declares.


success: boolean

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

Measured truth value of the postcondition.


tenantId: string

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

Tenant ID (UUID). The authenticated principal’s tenant is used.