Interface: NextObservationResponse
@kortexya/reasoninglayer / NextObservationResponse
Interface: NextObservationResponse
Section titled “Interface: NextObservationResponse”Defined in: src/types/hypotheses.ts:1097
Response of POST /api/v1/hypotheses/next-observation.
Remarks
Section titled “Remarks”SDK properties use camelCase; the resource maps the wire contract.
Example
Section titled “Example”// Available as Hypotheses.NextObservationResponse from the package namespace.Properties
Section titled “Properties”candidates
Section titled “candidates”candidates:
CandidateObservationDto[]
Defined in: src/types/hypotheses.ts:1101
Distinct open predictions.
chosen?
Section titled “chosen?”
optionalchosen?:number|null
Defined in: src/types/hypotheses.ts:1105
The recommended candidate’s index.
expectedLeaderMass
Section titled “expectedLeaderMass”expectedLeaderMass:
number
Defined in: src/types/hypotheses.ts:1109
Expected leading-hypothesis probability at the horizon.