Skip to content

Interface: ReasoningOperation

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ReasoningOperation

Defined in: src/types/reasoning.ts:478

One answered reasoning operation, from GET /api/v1/reasoning/operations.

computationTimeMs: number

Defined in: src/types/reasoning.ts:498

Milliseconds the route spent computing the verdict.


createdAt: string

Defined in: src/types/reasoning.ts:500

When the verdict was recorded (RFC 3339).


optional degree?: number

Defined in: src/types/reasoning.ts:496

The graded score the response reported. Absent for a merge, which produces none.


goal: string

Defined in: src/types/reasoning.ts:490

The checked goal as it was submitted: the request body, as compact JSON, cut to at most retention.goalBudgetBytes bytes.


goalTruncated: boolean

Defined in: src/types/reasoning.ts:492

Whether goal was cut at the budget: the submitted body was longer.


name: ReasoningOperationName

Defined in: src/types/reasoning.ts:485

The operation performed.


sequence: number

Defined in: src/types/reasoning.ts:483

The entry’s position in the tenant’s log, from 1. Monotonic: an evicted entry’s sequence is never reused.


verdict: ReasoningVerdict

Defined in: src/types/reasoning.ts:494

The operation’s outcome.