Skip to main content
PATCH
Update Session Cost Cap

Authorizations

X-Browser-Use-API-Key
string
header
required

Path Parameters

session_id
string<uuid>
required

Body

application/json

Set the total session budget, including when the session is idle.

maxCostUsd
required

This value replaces the session budget in USD. Spending so far counts against this budget. Use the user's chosen budget, or $25 as a starting budget. Preserve a higher existing budget unless the user requests a decrease.

Required range: x > 0

Response

Successful Response

sessionId
string<uuid>
required
maxCostUsd
string
required

The session budget now applied, in USD.