dots.v2.agents.configs.byConfig_id().sessions.get()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.agents.configs.byConfig_id(config_id).sessions.get(requestConfiguration?: RequestConfiguration<SessionsRequestBuilderGetQueryParameters>): Promise<undefined | Definitions_list_sessions_response>Description
Enumerates the caller’s team sessions whose session was created from this durable Environment Config. Keyset-paginated on an opaque cursor, newest first, same shape and status semantics as GET /v2/agents/sessions.
Parameters
Path Parameters
config_idstring requiredExample:
019fb39c-14d9-7080-933e-b9b90e25acdaThe Environment Config UUID.
Query Parameters
pageSizeinteger optionalExample:
50Page size. Defaults to 50 when omitted or non-positive; values above 200 are clamped to 200.
pageTokenstring optionalOpaque keyset cursor returned by the previous page. Empty starts from the beginning.
statusstring optionalOptional filter on session status. Empty / SESSION_STATUS_UNSPECIFIED still hides destroyed and failed sessions by default; SESSION_STATUS_ALL opts out and returns every session regardless of status.
Request Sample
Response Example
More Information
See /v2/agents/configs/{config_id}/sessions in the API reference for additional detail on responses, headers, parameters, and more.