Interface: ConstraintSessionStatus
@kortexya/reasoninglayer / ConstraintSessionStatus
Interface: ConstraintSessionStatus
Section titled “Interface: ConstraintSessionStatus”Defined in: src/types/constraints.ts:263
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:279
Whether all constraints are satisfied.
constraintCount
Section titled “constraintCount”constraintCount:
number
Defined in: src/types/constraints.ts:271
Total number of constraints in the session.
createdAt
Section titled “createdAt”createdAt:
string
Defined in: src/types/constraints.ts:267
ISO 8601 timestamp when session was created.
currentBindings
Section titled “currentBindings”currentBindings:
Record<string,number>
Defined in: src/types/constraints.ts:277
Current variable bindings.
lastAccessed
Section titled “lastAccessed”lastAccessed:
string
Defined in: src/types/constraints.ts:269
ISO 8601 timestamp of last access.
metadata
Section titled “metadata”metadata:
Record<string,string>
Defined in: src/types/constraints.ts:281
Session metadata.
satisfiedCount
Section titled “satisfiedCount”satisfiedCount:
number
Defined in: src/types/constraints.ts:273
Number of satisfied constraints.
sessionId
Section titled “sessionId”sessionId:
string
Defined in: src/types/constraints.ts:265
Unique session identifier.
suspendedCount
Section titled “suspendedCount”suspendedCount:
number
Defined in: src/types/constraints.ts:275
Number of suspended constraints.