Setting up

Get your free API key and start running tasks in minutes.

Get your free API key

Unlock your free welcome credits. No credit card required.

List all browser sessions using the Python SDK

List all your existing browser sessions.
from smooth import SmoothClient

smooth_client = SmoothClient(api_key="cmzr-YOUR_API_KEY")
response = smooth_client.list_sessions()

print(f"Session IDs: {response.session_ids}")
If Python is not your language of choice, check out our API Reference.

Response

Returns a BrowserSessionsResponse with the following attributes.
session_ids
list[str]
A list of all the session IDs.