Skip to content

Interface: ConstraintSessionStatus

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ConstraintSessionStatus

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

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

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

allSatisfied: boolean

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

Whether all constraints are satisfied.


constraintCount: number

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

Total number of constraints in the session.


createdAt: string

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

ISO 8601 timestamp when session was created.


currentBindings: Record<string, number>

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

Current variable bindings.


lastAccessed: string

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

ISO 8601 timestamp of last access.


metadata: Record<string, string>

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

Session metadata.


satisfiedCount: number

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

Number of satisfied constraints.


sessionId: string

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

Unique session identifier.


suspendedCount: number

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

Number of suspended constraints.