dots.v2.actionGateway.sessions.search.get()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
deprecated
Usage
client.v2.actionGateway.sessions.search.get(requestConfiguration?: RequestConfiguration<SearchRequestBuilderGetQueryParameters>): Promise<undefined | Search_sessions_response>Description
Deprecated: use GET /v2/action-gateway/endpoints/search for endpoints. This route continues to search legacy sessions with its existing fields and pagination. 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 optionalExample:
searchMatched 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.endUserIdstring optionalExample:
aliceend_user_id, when set, is an exact filter onactor_id(the same filter as on the session list) and combines with query as AND.pageSizeinteger optionalExample:
20Page size, 1 to 100. Defaults to 20 when omitted or 0; other values are rejected with 400.
pageTokenstring optionalExample:
ZXhhX3dlYl9zZWFyY2hAMQnext_page_tokenfrom the previous response. Valid only with the same query andend_user_id; otherwise the request is rejected with 400.
Request Sample
Response Example
More Information
See /v2/action-gateway/sessions/search in the API reference for additional detail on responses, headers, parameters, and more.