Contexts API
Create a Context
POST
/
v1
/
contexts
Authorizations
X-BB-API-Key
string
headerrequiredYour Browserbase API Key.
Body
application/json
projectId
string
requiredThe Project ID. Can be found in Settings.
Response
201 - application/json
id
string
requireduploadUrl
string
requiredAn upload URL to upload a custom user-data-directory.
Minimum length:
1
publicKey
string
requiredThe public key to encrypt the user-data-directory.
cipherAlgorithm
string
requiredThe cipher algorithm used to encrypt the user-data-directory. AES-256-CBC is currently the only supported algorithm.
initializationVectorSize
integer
requiredThe initialization vector size used to encrypt the user-data-directory. Read more about how to use it.
Was this page helpful?