ByteChef LogoByteChef

Browser Use

AI-powered browser automation that enables agents to perform web tasks such as navigating websites and extracting data.

Categories: Artificial Intelligence

Type: browserUse/v1


Connections

Version: 1

API Key

Properties

NameLabelTypeDescriptionRequired
keyKeySTRINGtrue
valueAPI KeySTRINGtrue

Connection Setup

  1. Go to your Browser Use Dashboard.
  2. On the left bar, you will find Settings -> API Keys.
  3. Click on Create API Key.
  4. Add label if you want and click Create.
  5. Copy your API Key and use it in ByteChef.

Actions

Create Session

Name: createSession

Create a session and/or dispatch a task.

Properties

NameLabelTypeDescriptionRequired
taskTaskSTRINGThe natural-language instruction for the agent to execute.true
modelModelSTRING
Options claude-sonnet-4.6, claude-opus-4.6, gpt-5.4-mini
The model to use.true
outputSchemaOutputOBJECT
Properties {STRING(format), STRING(schema)}
Configure how the browser agent should return results.true
sessionIdSession IDSTRINGID of an existing idle session to dispatch the task to.false
keepAliveKeep AliveBOOLEAN
Options true, false
If true, the session stays alive in idle state after the task completes instead of automatically stopping.false
enableScheduledTasksEnable Scheduled TasksBOOLEAN
Options true, false
If true, the agent can create scheduled tasks that run on a recurring basis.false
skillsSkillsBOOLEAN
Options true, false
If true, enables built-in agent skills.false

Example JSON Structure

{
  "label" : "Create Session",
  "name" : "createSession",
  "parameters" : {
    "task" : "",
    "model" : "",
    "outputSchema" : {
      "format" : "",
      "schema" : ""
    },
    "sessionId" : "",
    "keepAlive" : false,
    "enableScheduledTasks" : false,
    "skills" : false
  },
  "type" : "browserUse/v1/createSession"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGUnique session identifier.
statusSTRINGCurrent session lifecycle status.
modelSTRINGThe model tier used for this session.
createdAtDATE_TIMEWhen the session was created.
updatedAtDATE_TIMEWhen the session was last updated.
titleSTRINGAuto-generated short title summarizing the task.
outputOBJECT
Properties {}
The agent's final output.
outputSchemaOBJECT
Properties {}
The JSON Schema that was requested for structured output, if any.
stepCountINTEGERNumber of steps the agent has executed so far.
lastStepSummarySTRINGHuman-readable summary of the most recent agent step.
isTaskSuccessfulBOOLEAN
Options true, false
Whether the task completed successfully.
liveUrlSTRINGURL to view the live browser session.
recordingUrlsARRAY
Items [STRING]
URLs to download session recordings.
profileIdSTRINGID of the browser profile loaded in this session, if any.
workspaceIdSTRINGID of the workspace attached to this session, if any.
proxyCountryCodeSTRINGCountry code of the proxy used for this session, or null if no proxy.
maxCostUsdSTRINGMaximum cost limit in USD set for this session.
totalInputTokensINTEGERTotal LLM input tokens consumed by this session.
totalOutputTokensINTEGERTotal LLM output tokens consumed by this session.
proxyUsedMbSTRINGProxy bandwidth used in megabytes.
llmCostUsdSTRINGCost of LLM usage in USD.
proxyCostUsdSTRINGCost of proxy bandwidth in USD.
browserCostUsdSTRINGCost of browser compute time in USD.
totalCostUsdSTRINGTotal session cost in USD (LLM + proxy + browser).
screenshotUrlSTRINGURL of the latest browser screenshot.
agentmailEmailSTRINGTemporary email address provisioned for this session (via AgentMail).

Output Example

{
  "id" : "",
  "status" : "",
  "model" : "",
  "createdAt" : "2021-01-01T00:00:00",
  "updatedAt" : "2021-01-01T00:00:00",
  "title" : "",
  "output" : { },
  "outputSchema" : { },
  "stepCount" : 1,
  "lastStepSummary" : "",
  "isTaskSuccessful" : false,
  "liveUrl" : "",
  "recordingUrls" : [ "" ],
  "profileId" : "",
  "workspaceId" : "",
  "proxyCountryCode" : "",
  "maxCostUsd" : "",
  "totalInputTokens" : 1,
  "totalOutputTokens" : 1,
  "proxyUsedMb" : "",
  "llmCostUsd" : "",
  "proxyCostUsd" : "",
  "browserCostUsd" : "",
  "totalCostUsd" : "",
  "screenshotUrl" : "",
  "agentmailEmail" : ""
}

Find Session ID

To find the Session ID, click here.

Get Session

Name: getSession

Get session details.

Properties

NameLabelTypeDescriptionRequired
sessionIdSession IDSTRINGID of an existing idle session.true

Example JSON Structure

{
  "label" : "Get Session",
  "name" : "getSession",
  "parameters" : {
    "sessionId" : ""
  },
  "type" : "browserUse/v1/getSession"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGUnique session identifier.
statusSTRINGCurrent session lifecycle status.
modelSTRINGThe model tier used for this session.
createdAtDATE_TIMEWhen the session was created.
updatedAtDATE_TIMEWhen the session was last updated.
titleSTRINGAuto-generated short title summarizing the task.
outputOBJECT
Properties {}
The agent's final output.
outputSchemaOBJECT
Properties {}
The JSON Schema that was requested for structured output, if any.
stepCountINTEGERNumber of steps the agent has executed so far.
lastStepSummarySTRINGHuman-readable summary of the most recent agent step.
isTaskSuccessfulBOOLEAN
Options true, false
Whether the task completed successfully.
liveUrlSTRINGURL to view the live browser session.
recordingUrlsARRAY
Items [STRING]
URLs to download session recordings.
profileIdSTRINGID of the browser profile loaded in this session, if any.
workspaceIdSTRINGID of the workspace attached to this session, if any.
proxyCountryCodeSTRINGCountry code of the proxy used for this session, or null if no proxy.
maxCostUsdSTRINGMaximum cost limit in USD set for this session.
totalInputTokensINTEGERTotal LLM input tokens consumed by this session.
totalOutputTokensINTEGERTotal LLM output tokens consumed by this session.
proxyUsedMbSTRINGProxy bandwidth used in megabytes.
llmCostUsdSTRINGCost of LLM usage in USD.
proxyCostUsdSTRINGCost of proxy bandwidth in USD.
browserCostUsdSTRINGCost of browser compute time in USD.
totalCostUsdSTRINGTotal session cost in USD (LLM + proxy + browser).
screenshotUrlSTRINGURL of the latest browser screenshot.
agentmailEmailSTRINGTemporary email address provisioned for this session (via AgentMail).

Output Example

{
  "id" : "",
  "status" : "",
  "model" : "",
  "createdAt" : "2021-01-01T00:00:00",
  "updatedAt" : "2021-01-01T00:00:00",
  "title" : "",
  "output" : { },
  "outputSchema" : { },
  "stepCount" : 1,
  "lastStepSummary" : "",
  "isTaskSuccessful" : false,
  "liveUrl" : "",
  "recordingUrls" : [ "" ],
  "profileId" : "",
  "workspaceId" : "",
  "proxyCountryCode" : "",
  "maxCostUsd" : "",
  "totalInputTokens" : 1,
  "totalOutputTokens" : 1,
  "proxyUsedMb" : "",
  "llmCostUsd" : "",
  "proxyCostUsd" : "",
  "browserCostUsd" : "",
  "totalCostUsd" : "",
  "screenshotUrl" : "",
  "agentmailEmail" : ""
}

Find Session ID

To find the Session ID, click here.

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.


Additional Instructions

How to find the Session ID

  • Method 1: Via API

Use the GET /sessions endpoint to retrieve a list of all sessions and their IDs.

  • Method 2: Via UI

Open your Browser Use dashboard and on the left bar your will find Agent Sessions. Open Agent Sessions and there you will find a list of sessions. The second column in the table is Session ID.

The Session ID can also be found in the output of the following actions:

  • Create Session
  • Get Session

How is this guide?

Last updated on

On this page