Get session status
browser_get_statusGet control mode and tab status for a session. Includes the current url, offOrigin when that url is outside allowedOrigins, sensitiveMode, and deviceOnline. sensitiveMode is true when Sensitive site is on: click, type, key, and navigation wait for Approve (APPROVAL_REQUIRED), which is not CHALLENGE_DETECTED. When the device heartbeat is stale, controlMode is disconnected and statusUx is SESSION_OFFLINE, not HUMAN_HAS_CONTROL. Includes remaining monthly quota (actionsRemaining, screenshotsRemaining), quotaExceeded, and quotaResetAt (ISO). dialogHook is { installed, error?, rawError? }. error and rawError are the Chrome scripting error, not a rewritten content-script message. statusUx and blocked keep a stable code; rawError is the Chrome string when it differs from the friendly message. statusUx names CHALLENGE_DETECTED, ORIGIN_NOT_ALLOWED, SESSION_OFFLINE, or HUMAN_HAS_CONTROL when the human must take over. CONTENT_SCRIPT_UNAVAILABLE is returned from tools if the agent is not on the tab. EXTENSION_RECONNECT_NEEDED means click Reconnect in the side panel, then retry. While a JavaScript dialog is open, dialog is { type, message, pending: true } and blocked.code stays JS_DIALOG_OPEN. A native HTTP sign-in prompt is HTTP_AUTH_REQUIRED in blocked and statusUx, with dialog null. The user answers or cancels it. Browse Bridge does not enter the username or password. Navigate, back, forward, and reload can leave that prompt. A timeout while that dialog is open is DIALOG_PENDING, not CONTENT_SCRIPT_UNAVAILABLE. In Agent mode, alert/confirm/prompt stay pending until browser_handle_dialog. They are not dismissed when they open. QUOTA_EXCEEDED names which quota (actions or screenshots) and resetAt. extensionVersion is the connected extension, sent on the WebSocket handshake and the first auth frame. meetsExtensionMinimum and meetsLatestExtension compare it with extensionMinVersion and latestExtensionVersion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |