Skip to main content

Usage

Access this class through the composio.sessionConfigs property:

Methods

get()

Retrieve one saved Session config with its description and access policy. A missing or cross-project id surfaces as the backend’s 404. Requires Session configs to be enabled for the project.
Parameters Returns Promise<SessionConfig> — The config and its policy Example

list()

List the project’s saved Session configs with cursor pagination. Omitting archived returns active configs; archived: true returns only archived ones. The backend defaults limit to 20 and caps it at 100. Requires Session configs to be enabled for the project.
Parameters Returns Promise<SessionConfigListResponse> — Config summaries and the next cursor Example