Skip to content

Interface: ConstraintSessionStatus

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Constraints / ConstraintSessionStatus

Interface: ConstraintSessionStatus

Defined in: src/types/constraints.ts:220

Full session status returned by GET /api/v1/constraint-sessions/{session_id}.

Remarks

Matches the generated ConstraintSessionStatusResponse type. Previously collided with the oversight SessionStatusResponse (which has alerts, current_score). Now distinct with constraint solver fields.

Properties

allSatisfied

allSatisfied: boolean

Defined in: src/types/constraints.ts:236

Whether all constraints are satisfied.


constraintCount

constraintCount: number

Defined in: src/types/constraints.ts:228

Total number of constraints in the session.


createdAt

createdAt: string

Defined in: src/types/constraints.ts:224

ISO 8601 timestamp when session was created.


currentBindings

currentBindings: Record<string, number>

Defined in: src/types/constraints.ts:234

Current variable bindings.


lastAccessed

lastAccessed: string

Defined in: src/types/constraints.ts:226

ISO 8601 timestamp of last access.


metadata

metadata: Record<string, string>

Defined in: src/types/constraints.ts:238

Session metadata.


satisfiedCount

satisfiedCount: number

Defined in: src/types/constraints.ts:230

Number of satisfied constraints.


sessionId

sessionId: string

Defined in: src/types/constraints.ts:222

Unique session identifier.


suspendedCount

suspendedCount: number

Defined in: src/types/constraints.ts:232

Number of suspended constraints.