list_sessions
The sessions in the caller's space, with their titles and memory counts.
list_sessions(limit: int | None = None) -> ListSessionsResultlist_sessions(request: SessionListRequest) -> SessionListResponseParameters
ParameterTypeRequired
limitintegeroptionalCap on returned sessions.
Returns
FieldTypePresence
space_idstringalwaysThe space listed.
sessionsSessionSummary[]alwaysEach with sessionId, both timestamps, an optional title, and memoryCount.
You do not choose your space on the HTTP tier
The space comes from the credential. These verbs act on the caller's space. Addressing another space per request is a wire-tier capability — see act_as. Per-end-user isolation is a storage-key prefix inside one space, not a key per user; see Namespaces.
See also
Was this page helpful?