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

Interface: SessionStats

Defined in: src/tollgate/session/types.ts:201 Statistics about session usage.

Properties

activeGrants

activeGrants: number;
Defined in: src/tollgate/session/types.ts:203 Total active grants

expiringSoon

expiringSoon: number;
Defined in: src/tollgate/session/types.ts:212 Grants expiring in the next 5 minutes

grantsByScope

grantsByScope: Record<SessionScope, number>;
Defined in: src/tollgate/session/types.ts:206 Grants by scope

totalUsage

totalUsage: number;
Defined in: src/tollgate/session/types.ts:209 Total tool calls authorized via session