Skip to main content

Module sessions

Module sessions 

Source
Expand description

Per-agent-session lifecycle and attestation/model-key state.

Sessions are keyed by model_id:agent_session_id, with identifiers resolved from the configured session-id header, request metadata, or configured fallback behavior. Expired sessions are discarded before reuse so E2EE and attestation state can be refreshed safely.

Structs§

AttestedModelState
Attestation/model-key state cached with a session.
SessionContext
Immutable snapshot returned to callers after lookup or creation.
SessionManager
In-memory session manager that resolves request identifiers and tracks session expiry.
SessionRequest
Request data needed to resolve a Venice proxy session.
SessionResolution
Result of resolving a request into a valid session.

Enums§

SessionError
Errors returned while resolving, reusing, or updating proxy sessions.
SessionExpirationReason
Reason a previous session was no longer eligible for reuse.
SessionScope
Scope of the resolved session identifier.