Skip to main content
Dotset CLI API Documentation / tollgate / SessionCheckResult

Interface: SessionCheckResult

Defined in: src/tollgate/session/types.ts:140 Result of checking if a session grant covers a tool call.

Properties

grant?

readonly optional grant: SessionGrant;
Defined in: src/tollgate/session/types.ts:145 The grant that covers this call (if granted)

granted

readonly granted: boolean;
Defined in: src/tollgate/session/types.ts:142 Whether a valid grant exists

reason?

readonly optional reason: "no_grant" | "expired" | "scope_mismatch";
Defined in: src/tollgate/session/types.ts:148 Why the check failed (if not granted)