Deletes the session. Deleting a missing session does nothing.
Returns the session, or undefined when it is missing or expired.
Returns a page of sessions, newest first.
Creates the session, or updates the one with the same id, and returns it as stored. Every upsert moves the expiration to its TTL from now.
Stores sessions: app-scoped JSON records under ids the app chooses, which expire. Every call needs the app API key.
A client without the API key starts a session, or attaches a live one, through an AI agent or LangGraph call.