Interface: GoalObservationRequest
@kortexya/reasoninglayer / GoalObservationRequest
Interface: GoalObservationRequest
Section titled “Interface: GoalObservationRequest”Defined in: src/types/cognitive.ts:633
An original measurement of a goal’s declared postcondition — the body of CognitiveClient.admitGoalObservation.
Properties
Section titled “Properties”agentId
Section titled “agentId”agentId:
string
Defined in: src/types/cognitive.ts:635
Agent ID (UUID).
eventKey
Section titled “eventKey”eventKey:
string
Defined in: src/types/cognitive.ts:643
Stable original event key within the source.
eventRevision?
Section titled “eventRevision?”
optionaleventRevision?:number
Defined in: src/types/cognitive.ts:645
Original event revision.
goalId
Section titled “goalId”goalId:
string
Defined in: src/types/cognitive.ts:639
Goal whose postcondition was measured (UUID).
observedAt
Section titled “observedAt”observedAt:
number
Defined in: src/types/cognitive.ts:647
Original observation time, in Unix seconds.
source
Section titled “source”source:
string
Defined in: src/types/cognitive.ts:641
Source key; it must be one the goal’s MeasuredOutcome.sources declares.
success
Section titled “success”success:
boolean
Defined in: src/types/cognitive.ts:649
Measured truth value of the postcondition.
tenantId
Section titled “tenantId”tenantId:
string
Defined in: src/types/cognitive.ts:637
Tenant ID (UUID). The authenticated principal’s tenant is used.