AI agent instructions
AI agent instructions
Fields
string
required
The ID of the session (created or existing). Use this ID to interact with the session for the next operation.
number
required
Session idle timeout in minutes. Will timeout if now() > last access time + idle_timeout_minutes
number | undefined
Session max duration in minutes. Will timeout if now() > creation time + max_duration_minutes
string
required
Session creation time
string | null | undefined
Session closing time
string
required
Last access time
string | undefined
Session duration
"active" | "closed" | "error" | "timed_out"
required
Session status
"unknown" | "error" | "manual" | "idle_timeout" | "max_duration" | null | undefined
Reason the session closed, if it is no longer active
{ [key: string]: unknown; }[] | undefined
Steps of the session
string | null | undefined
Error message if the operation failed to complete
boolean | undefined
Whether proxies were used for the session. True if any proxy was applied during session creation.
"chromium" | "chrome" | "chrome-nightly" | "chrome-turbo" | "firefox" | undefined
number | undefined
Total byte usage for network requests.
number | undefined
Total byte usage for network responses.
string | null | undefined
The user agent to use for the session
number | null | undefined
The width of the viewport
number | null | undefined
The height of the viewport
boolean | null | undefined
Whether to solve captchas.
string | null | undefined
The URL to connect to the CDP server.
string | null | undefined
The remote session viewer URL.
boolean | undefined
Whether to use web bot authentication.
string[] | undefined
Managed Auth connection IDs attached to this session.
Whether this session is an internal system run. Internal system runs are omitted from session.list() unless include_system=True is requested.
number
required
deprecated: