Agents
create
agents.create
Create an Agent. Create a reusable agent. An agent defines a systemPrompt and resultSchema that guide its behavior for every run. Only name is required; an agent created with no systemPrompt behaves like an unconfigured run.
Risk: write
resultSchema full type
resultSchema full type
resultSchema full type
resultSchema full type
delete
agents.delete
Delete an Agent. Delete an agent. Runs that already referenced this agent are unaffected. Cannot be undone.
Risk: destructive · Irreversible
get
agents.get
Get an Agent. Retrieve an agent by ID. (GET /v1/agents/{agentId})
Risk: read
resultSchema full type
resultSchema full type
list
agents.list
List Agents. List agents across your account. Supports filtering by creation time.
Risk: read
data full type
data full type
runs.create
agents.runs.create
Run an Agent. Run a browser agent to complete the task by using web search and browser tooling. Optionally pass agentId to run a custom agent you’ve created. Starts an agent run that uses browser time and model tokens.
Risk: destructive · Irreversible
resultSchema full type
resultSchema full type
browserSettings full type
browserSettings full type
variables full type
variables full type
resultSchema full type
resultSchema full type
result full type
result full type
cause full type
cause full type
runs.get
agents.runs.get
Get a Run. Retrieve the current status and details of a run, including its result and associated session information. To fetch the run’s messages, use List Run Messages.
Risk: read
resultSchema full type
resultSchema full type
result full type
result full type
cause full type
cause full type
runs.list
agents.runs.list
List Runs. List runs across your account. Supports filtering by status, by the agent they reference, and by creation time.
Risk: read
data full type
data full type
runs.messages
agents.runs.messages
List Run Messages. Returns a paginated list of messages produced by a run, in chronological order, with the oldest messages first. Messages conform to the AI SDK UIMessage format.
Risk: read
data full type
data full type
runs.resume
agents.runs.resume
Resume a Run. Resume a PAUSED run with additional input. The reply in task is delivered to the agent as the answer to its pause request (the trailing pause tool call in the run’s messages), and variables merge over the run’s original variables. Resuming a run that is not paused returns a conflict.
Risk: destructive · Irreversible
variables full type
variables full type
resultSchema full type
resultSchema full type
result full type
result full type
cause full type
cause full type
runs.stop
agents.runs.stop
Stop a Run. Request that an in-progress run stop. The run winds down and transitions to STOPPED. Stopping a run that has already finished returns a conflict.
Risk: destructive · Irreversible
resultSchema full type
resultSchema full type
result full type
result full type
cause full type
cause full type
update
agents.update
Update an Agent. Update an existing agent. Only the fields provided in the body are modified; omitted fields are left unchanged.
Risk: write
resultSchema full type
resultSchema full type
resultSchema full type
resultSchema full type
Certificates
delete
certificates.delete
Delete a Certificate. Delete an uploaded certificate from your project by its ID. Session creation requests that still reference this ID in proxySettings.caCertificates fail with HTTP 400. Cannot be undone.
Risk: destructive · Irreversible
get
certificates.get
Get a Certificate. Retrieve metadata for an uploaded certificate by its ID, including its project ID and timestamps. The PEM content is not returned.
Risk: read
list
certificates.list
List Certificates. List the certificates uploaded to your project.
Risk: read
object[]
Output full type
Output full type
upload
certificates.upload
Upload a Certificate. Upload a PEM file with one or more CA certificates (up to 100 MB). Pass the returned ID in proxySettings.caCertificates when creating a session so the browser trusts these certificates.
Risk: write
file full type
file full type
Contexts
create
contexts.create
Create a Context. (POST /v1/contexts)
Risk: write
delete
contexts.delete
Delete a Context. Cannot be undone. (DELETE /v1/contexts/{id})
Risk: destructive · Irreversible
get
contexts.get
Get a Context. (GET /v1/contexts/{id})
Risk: read
Downloads
delete
downloads.delete
Delete a Download. Delete a download file from storage and mark as deleted. Cannot be undone.
Risk: destructive · Irreversible
get
downloads.get
Get a Download. Get download metadata (Accept: application/json) or file content (Accept: application/octet-stream).
Risk: read
list
downloads.list
List Downloads. List all downloads for a session with optional filtering and pagination.
Risk: read
downloads full type
downloads full type
Extensions
delete
extensions.delete
Delete an Extension. Cannot be undone. (DELETE /v1/extensions/{id})
Risk: destructive · Irreversible
get
extensions.get
Get an Extension. (GET /v1/extensions/{id})
Risk: read
upload
extensions.upload
Upload an Extension. (POST /v1/extensions)
Risk: write
file full type
file full type
Fetch
page
fetch.page
Fetch a Page. Fetch a page and return its content, headers, and metadata. A metered read: each call counts against the plan.
Risk: read
Functions
builds.get
functions.builds.get
Get a Function Build. (GET /v1/functions/builds/{id})
Risk: read
request full type
request full type
builtFunctions full type
builtFunctions full type
cause full type
cause full type
builds.list
functions.builds.list
List Function Builds. (GET /v1/functions/builds)
Risk: read
data full type
data full type
builds.logs
functions.builds.logs
Get Function Build Logs. (GET /v1/functions/builds/{id}/logs)
Risk: read
logs full type
logs full type
get
functions.get
Get a Function. (GET /v1/functions/{id})
Risk: read
invocations.get
functions.invocations.get
Get an Invocation. (GET /v1/functions/invocations/{id})
Risk: read
params full type
params full type
results full type
results full type
cause full type
cause full type
invocations.logs
functions.invocations.logs
Get Invocation Logs. (GET /v1/functions/invocations/{id}/logs)
Risk: read
logs full type
logs full type
invoke
functions.invoke
Invoke a Function. Runs the Function on Browserbase compute.
Risk: destructive · Irreversible
params full type
params full type
sessionCreateParams full type
sessionCreateParams full type
params full type
params full type
results full type
results full type
list
functions.list
List Functions. (GET /v1/functions)
Risk: read
data full type
data full type
secrets.attach
functions.secrets.attach
Attach a Secret to a Function. Attach a secret to a Function, taking effect on the Function’s next invocation. Note: Attaching a secret that is already attached succeeds to support idempotency.
Risk: write
secrets.detach
functions.secrets.detach
Detach a Secret from a Function. Detach a secret from a Function, taking effect on the Function’s next invocation. Note: Detaching a secret that is not attached succeeds to support idempotency. Cannot be undone.
Risk: destructive · Irreversible
secrets.list
functions.secrets.list
List Function Secrets. List secrets attached to a function. Supports filtering by secret creation time. Returns metadata only.
Risk: read
data full type
data full type
versions.get
functions.versions.get
Get a Function Version. (GET /v1/functions/versions/{id})
Risk: read
sessionCreateParams full type
sessionCreateParams full type
userParamsSchema full type
userParamsSchema full type
versions.invocations
functions.versions.invocations
List Invocations for a Function Version.
Risk: read
results full type
results full type
versions.list
functions.versions.list
List Function Versions. (GET /v1/functions/{id}/versions)
Risk: read
results full type
results full type
Labels
create
labels.create
Create a Label. Create a project-owned label.
Risk: write
delete
labels.delete
Delete a Label. Delete a label and its session assignments, preserving the sessions. Missing and other-project labels are successful no-ops. Cannot be undone.
Risk: destructive · Irreversible
list
labels.list
List Labels. List the project’s labels, newest first. Page by passing the previous response’s nextCursor as cursor; a null nextCursor means there are no further pages.
Risk: read
data full type
data full type
update
labels.update
Update a Label. Rename a label, preserving its ID, creation time, and session assignments.
Risk: write
Navigation Policies
create
navigationPolicies.create
Create a Navigation Policy. Create a navigation policy for this project. Omitted fields take the defaults: enabled, block by default, block unknown domains, no category rules, and no overrides. Bind the policy to a session with browserSettings.riskPolicyId.
Risk: write
domainOverrides full type
domainOverrides full type
domainOverrides full type
domainOverrides full type
delete
navigationPolicies.delete
Delete a Navigation Policy. Delete a navigation policy. New sessions can no longer bind to it; running sessions keep the policy they started with. Cannot be undone.
Risk: destructive · Irreversible
get
navigationPolicies.get
Get a Navigation Policy. Retrieve a single navigation policy by ID.
Risk: read
domainOverrides full type
domainOverrides full type
list
navigationPolicies.list
List Navigation Policies. List the project’s navigation policies, ordered by name.
Risk: read
data full type
data full type
update
navigationPolicies.update
Update a Navigation Policy. Update a navigation policy. Omitted fields keep their values; a supplied list replaces the stored list rather than adding to it. The change applies to sessions that start afterwards; running sessions keep the policy they started with.
Risk: write
domainOverrides full type
domainOverrides full type
domainOverrides full type
domainOverrides full type
Projects
get
projects.get
Get a Project. (GET /v1/projects/{id})
Risk: read
list
projects.list
List Projects. (GET /v1/projects)
Risk: read
object[]
Output full type
Output full type
usage
projects.usage
Get Project Usage. (GET /v1/projects/{id}/usage)
Risk: read
Search
web
search.web
Web Search. Perform a web search and return structured results. A metered read: each call counts against the plan.
Risk: read
results full type
results full type
Secrets
create
secrets.create
Create a Secret. (POST /v1/secrets)
Risk: write
delete
secrets.delete
Delete a Secret. Cannot be undone. (DELETE /v1/secrets/{id})
Risk: destructive · Irreversible
get
secrets.get
Get a Secret. (GET /v1/secrets/{id})
Risk: read
keypair
secrets.keypair
Get a Keypair. (GET /v1/secrets/keypair)
Risk: read
list
secrets.list
List Secrets. List project secrets. Supports filtering by creation time.
Risk: read
data full type
data full type
update
secrets.update
Update a Secret. Replace a secret’s value. The name cannot be changed; to rename, create a new secret and delete the old one.
Risk: write
Sessions
create
sessions.create
Create a Session. Starts a cloud browser that is billed by the minute until it is released or times out.
Risk: destructive · Irreversible
browserSettings full type
browserSettings full type
proxies full type
proxies full type
proxySettings full type
proxySettings full type
userMetadata full type
userMetadata full type
userMetadata full type
userMetadata full type
debug
sessions.debug
Session Live URLs. (GET /v1/sessions/{id}/debug)
Risk: read
pages full type
pages full type
get
sessions.get
Get a Session. (GET /v1/sessions/{id})
Risk: read
userMetadata full type
userMetadata full type
labels full type
labels full type
list
sessions.list
List Sessions. (GET /v1/sessions)
Risk: read
object[]
Output full type
Output full type
logs
sessions.logs
Session Logs. (GET /v1/sessions/{id}/logs)
Risk: read
object[]
Output full type
Output full type
recordingDownloads.create
sessions.recordingDownloads.create
Create Session Recording Downloads. Requests one downloadable MP4 per recorded page of a session. Assembly runs asynchronously and every page returns as PENDING. Re-posting re-enqueues all pages and retries any that failed. Poll the GET endpoint for per-page status and, on standard (non-BYOS) projects, download URLs.
Risk: write
downloads full type
downloads full type
recordingDownloads.list
sessions.recordingDownloads.list
List Session Recording Downloads. Returns the per-page download status for a session, with a short-lived signed URL for each completed page on standard (non-BYOS) projects.
Risk: read
downloads full type
downloads full type
replays.get
sessions.replays.get
Get Session Replay. Returns page metadata for a session replay, including timing information and the URL of each page’s HLS playlist.
Risk: read
pages full type
pages full type
replays.page
sessions.replays.page
Get Replay Page. Returns an HLS VOD media playlist (.m3u8) for a specific page of a session replay.
Risk: read
setLabels
sessions.setLabels
Set Session Labels. Atomically replace a session’s labels. Returns the response after the assignment commits.
Risk: write
labels full type
labels full type
update
sessions.update
Update a Session. Setting status to REQUEST_RELEASE ends the session.
Risk: destructive · Irreversible
userMetadata full type
userMetadata full type
uploadFile
sessions.uploadFile
Create Session Uploads. (POST /v1/sessions/{id}/uploads)
Risk: write
file full type
file full type
Webhooks
create
webhooks.create
Create a Webhook. Register an HTTPS endpoint to receive events for this project. The response includes the signing secret, which is shown only here and when the secret is rotated. Store it before discarding the response. An endpoint may only be registered once per project. The response holds the signing secret; it is shown only here and on rotate.
Risk: write
delete
webhooks.delete
Delete a Webhook. Delete a webhook. Deliveries stop immediately and the signing secret is retired. Events that occurred before the delete are not replayed if the endpoint is registered again. Cannot be undone.
Risk: destructive · Irreversible
get
webhooks.get
Get a Webhook. Retrieve a single webhook by ID. The signing secret is not included; it is only ever returned on create and rotate.
Risk: read
list
webhooks.list
List Webhooks. List the project’s webhooks, newest first. Signing secrets are not included. Page by passing the previous response’s nextCursor as cursor; a null nextCursor means there are no further pages.
Risk: read
data full type
data full type
rotateSecret
webhooks.rotateSecret
Rotate a Webhook signing secret. Issue a new signing secret for a webhook. By default the previous secret keeps verifying for 24 hours so a receiver can be updated without dropping deliveries; pass revokeImmediately to end that window at once. The new secret is returned only here.
Risk: destructive · Irreversible
update
webhooks.update
Update a Webhook. Update a webhook’s endpoint URL, its subscribed event types, or both. Omitted fields are left unchanged. eventTypes replaces the existing subscription rather than adding to it. The signing secret is unaffected.
Risk: write