Interface: ConstraintSessionStatus
@kortexya/reasoninglayer / ConstraintSessionStatus
Interface: ConstraintSessionStatus
Section titled “Interface: ConstraintSessionStatus”Defined in: src/types/constraints.ts:304
Full session status returned by GET /api/v1/constraint-sessions/{session_id}.
Remarks
Section titled “Remarks”Matches the generated ConstraintSessionStatusResponse type. Previously collided
with the oversight SessionStatusResponse (which has alerts, current_score).
Now distinct with constraint solver fields.
Properties
Section titled “Properties”allSatisfied
Section titled “allSatisfied”allSatisfied:
boolean
Defined in: src/types/constraints.ts:320
Whether all constraints are satisfied.
constraintCount
Section titled “constraintCount”constraintCount:
number
Defined in: src/types/constraints.ts:312
Total number of constraints in the session.
createdAt
Section titled “createdAt”createdAt:
string
Defined in: src/types/constraints.ts:308
ISO 8601 timestamp when session was created.
currentBindings
Section titled “currentBindings”currentBindings:
Record<string,number>
Defined in: src/types/constraints.ts:318
Current variable bindings.
lastAccessed
Section titled “lastAccessed”lastAccessed:
string
Defined in: src/types/constraints.ts:310
ISO 8601 timestamp of last access.
metadata
Section titled “metadata”metadata:
Record<string,string>
Defined in: src/types/constraints.ts:322
Session metadata.
satisfiedCount
Section titled “satisfiedCount”satisfiedCount:
number
Defined in: src/types/constraints.ts:314
Number of satisfied constraints.
sessionId
Section titled “sessionId”sessionId:
string
Defined in: src/types/constraints.ts:306
Unique session identifier.
suspendedCount
Section titled “suspendedCount”suspendedCount:
number
Defined in: src/types/constraints.ts:316
Number of suspended constraints.