The TypeScript SDK gains
extendBrowserSession in its next release. Until then, call the REST endpoint directly from TypeScript.Parameters
Returns
The updatedBrowserSessionResponse. timeout is the session’s new total budget in minutes, counted from started_at. If you asked for more than the remaining headroom, the session is extended by what remained and warning explains the difference.
Extension is additive. Each call adds to the session’s budget, so a retried request adds again; read
timeout from the response rather than assuming your arithmetic. A session whose budget is already 360 minutes returns a 409 rather than a no-op.Errors
Request options
Override timeout, retries, or headers for this call by passingrequest_options (Python) or a second options argument (TypeScript).

