Fields

session_id
str
required
The ID of the session (created or existing). Use this ID to interact with the session for the next operation.
timeout_minutes
int
required
Session timeout in minutes. Will timeout if now() > last access time + timeout_minutes
created_at
datetime
required
Session creation time
closed_at
UnionType[datetime, None]
Session closing time
last_accessed_at
datetime
required
Last access time
duration
timedelta
required
Session duration
status
Literal['active', 'closed', 'error', 'timed_out']
required
Session status
error
UnionType[str, None]
Error message if the operation failed to complete
credit_usage
UnionType[float, None]
Credit usage for the session. None
proxies
bool
default:"False"
Whether proxies were used for the session. True if any proxy was applied during session creation.
browser_type
Literal['chromium', 'chrome', 'firefox']
default:"chromium"
use_file_storage
bool
default:"False"
Whether FileStorage was attached to the session.

Module

notte_sdk.types