Interface: OsfDiffTemporalRequest
@kortexya/reasoninglayer / OsfDiff / OsfDiffTemporalRequest
Interface: OsfDiffTemporalRequest
Defined in: src/types/osf-diff.ts:243
Request to diff the knowledge base against itself across two points in time.
Remarks
Sent to POST /api/v1/osf/diff/temporal. filter narrows what is diffed
(e.g. a document or sort selector); omit it to diff everything visible to the
tenant.
Example
const request: OsfDiffTemporalRequest = { from: { at: '2026-01-01T00:00:00Z' }, to: {}, // live filter: { type: 'document', documentId: 'a1b2...' },};Properties
filter?
optionalfilter:TermSetSelector
Defined in: src/types/osf-diff.ts:251
What to diff over time (e.g. a document or sort selector).
from
from:
TemporalPoint
Defined in: src/types/osf-diff.ts:245
The “from” point (snapshot = transaction time, at = valid time, both absent = live).
threshold?
optionalthreshold:number|null
Defined in: src/types/osf-diff.ts:254
Minimum match degree for two entities to be considered the same (default 0.7).
to
to:
TemporalPoint
Defined in: src/types/osf-diff.ts:248
The “to” point.