Skip to content

Interface: ConstraintSessionStatus

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ConstraintSessionStatus

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

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:320

Whether all constraints are satisfied.


constraintCount: number

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

Total number of constraints in the session.


createdAt: string

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

ISO 8601 timestamp when session was created.


currentBindings: Record<string, number>

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

Current variable bindings.


lastAccessed: string

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

ISO 8601 timestamp of last access.


metadata: Record<string, string>

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

Session metadata.


satisfiedCount: number

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

Number of satisfied constraints.


sessionId: string

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

Unique session identifier.


suspendedCount: number

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

Number of suspended constraints.