PUT
/
v1
/
contexts
/
{id}
curl --request PUT \
  --url https://api.browserbase.com/v1/contexts/{id} \
  --header 'X-BB-API-Key: <api-key>'
{
  "id": "<string>",
  "uploadUrl": "<string>",
  "publicKey": "<string>",
  "cipherAlgorithm": "<string>",
  "initializationVectorSize": 123
}

Authorizations

X-BB-API-Key
string
header
required

Path Parameters

id
string
required

Response

200 - application/json
The request has succeeded.
id
string
required
uploadUrl
string
required

An upload URL to upload a custom user-data-directory.

Minimum length: 1
publicKey
string
required

The public key to encrypt the user-data-directory.

cipherAlgorithm
string
required

The cipher algorithm used to encrypt the user-data-directory. AES-256-CBC is currently the only supported algorithm.

initializationVectorSize
integer
required

The initialization vector size used to encrypt the user-data-directory. Read more about how to use it.