Usage
Access this class through thecomposio.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.
Returns
Promise<SessionConfig> — The config and its policy
Example
list()
List the project’s saved Session configs with cursor pagination. Omittingarchived 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.
Returns
Promise<SessionConfigListResponse> — Config summaries and the next cursor
Example