Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/core / / SessionScope
Interface: SessionScope
Defined in: packages/core/src/types/session-scope.ts:11
Identifies a logical conversational scope: who the user is, which agent is in charge, and (when known) which session they're inside.
Used as a parameter to almost every Memory / Sessions API. The agent and session fields are optional because some scopes are user-wide (e.g. shared facts attached to a user, not a particular agent).
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
agentId? | readonly | string | Identifier of the agent owning the scope, when applicable. | packages/core/src/types/session-scope.ts:15 |
sessionId? | readonly | string | Identifier of the session, when applicable. | packages/core/src/types/session-scope.ts:17 |
userId | readonly | string | Stable identifier of the user (single-user-per-process by default). | packages/core/src/types/session-scope.ts:13 |