pydo.sessions.list_search()
Generated on 1 Oct 2026
from pydo version
v0.43.0
Usage
client.sessions.list_search(
query=None,
end_user_id=None,
page_size=20,
page_token=None,
)Description
Returns the sessions you can see whose name, actor_id, session_urn, or agentName contains query, case-insensitively, ranked across the whole result set. Cursor-paged with page_size and page_token; no total is reported.
Parameters
querystring optionalMatched case-insensitively as a substring of name,
actor_id,session_urn, oragentName. Empty matches every session you can see. Results are ordered by match quality (an exact name,session_urn, oractor_idmatch, then a prefix, then a substring), then by name, across the whole result set, so a client must not re-sort a page to rank it.end_user_idstring optionalend_user_id, when set, is an exact filter onactor_id(the same filter as on the session list) and combines with query as AND.page_sizeinteger optionalPage size, 1 to 100. Defaults to 20 when omitted or 0; other values are rejected with 400.
page_tokenstring optionalnext_page_tokenfrom the previous response. Valid only with the same query andend_user_id; otherwise the request is rejected with 400.
Response Example
More Information
See /v2/action-gateway/sessions/search in the API reference for additional detail on responses, headers, parameters, and more.