listSessions
The sessions in the caller's space, with their titles and memory counts.
listSessions(query?: ListSessionsQuery): Promise<ListSessionsResult>listSessions(request: SessionListRequest): Promise<SessionListResponse>Parameters
ParameterTypeRequired
limitintegeroptionalCap on returned sessions.
Returns
FieldTypePresence
spaceIdstringalwaysThe 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?