Hyperbrowser · Arazzo Workflow

Hyperbrowser Browser Use Task Run

Version 1.0.0

Start a Browser Use agent task, poll status, then fetch its final result.

1 workflow 1 source API 1 provider
View Spec View on GitHub Headless BrowserBrowser InfrastructureWeb ScrapingWeb CrawlingData ExtractionAI AgentsBrowser AutomationComputer UseStealthProxiesCAPTCHA SolvingMCPHyperAgentX402ArazzoWorkflows

Provider

hyperbrowser

Workflows

browser-use-task-run
Run a Browser Use agent task to completion and return its result.
Submits a Browser Use task, waits for completion by polling status, and returns the final result and step trace once the task finishes.
3 steps inputs: apiKey, maxSteps, task, useVision outputs: finalResult, jobId, liveUrl
1
startTask
post-api-task-browser-use
Submit a Browser Use task from the supplied instruction and capture the jobId and live view URL.
2
pollStatus
get-api-task-browser-use-id-status
Poll the Browser Use task status. The status moves through pending and running before reaching completed, failed, or stopped; loop back while still in progress and branch out on a terminal state.
3
getResult
get-api-task-browser-use-id
Fetch the completed Browser Use task to return its final result string and the recorded step trace.

Source API Descriptions

Arazzo Workflow Specification

hyperbrowser-browser-use-task-run-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Hyperbrowser Browser Use Task Run
  summary: Start a Browser Use agent task, poll status, then fetch its final result.
  description: >-
    Drives a Browser Use agent run. The workflow starts a Browser Use task from
    a natural-language instruction with vision enabled, captures the live view
    URL so the run can be watched, polls the lightweight status endpoint until
    the task reaches a terminal state, and fetches the final result and step
    trace once it completes. Every step spells out its request inline so the flow
    can be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: agentsApi
  url: ../openapi/hyperbrowser-agents-api-openapi.yml
  type: openapi
workflows:
- workflowId: browser-use-task-run
  summary: Run a Browser Use agent task to completion and return its result.
  description: >-
    Submits a Browser Use task, waits for completion by polling status, and
    returns the final result and step trace once the task finishes.
  inputs:
    type: object
    required:
    - apiKey
    - task
    properties:
      apiKey:
        type: string
        description: Hyperbrowser account API key sent in the x-api-key header.
      task:
        type: string
        description: The natural-language task for the Browser Use agent.
      maxSteps:
        type: number
        description: Maximum number of agent steps before the task is stopped.
      useVision:
        type: boolean
        description: Whether the agent uses vision when reasoning over pages.
  steps:
  - stepId: startTask
    description: >-
      Submit a Browser Use task from the supplied instruction and capture the
      jobId and live view URL.
    operationId: post-api-task-browser-use
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        task: $inputs.task
        maxSteps: $inputs.maxSteps
        useVision: $inputs.useVision
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      jobId: $response.body#/jobId
      liveUrl: $response.body#/liveUrl
  - stepId: pollStatus
    description: >-
      Poll the Browser Use task status. The status moves through pending and
      running before reaching completed, failed, or stopped; loop back while
      still in progress and branch out on a terminal state.
    operationId: get-api-task-browser-use-id-status
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.apiKey
    - name: id
      in: path
      value: $steps.startTask.outputs.jobId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
    onSuccess:
    - name: taskComplete
      type: goto
      stepId: getResult
      criteria:
      - context: $response.body
        condition: $.status == "completed"
        type: jsonpath
    - name: taskRunning
      type: goto
      stepId: pollStatus
      criteria:
      - context: $response.body
        condition: $.status == "pending" || $.status == "running"
        type: jsonpath
  - stepId: getResult
    description: >-
      Fetch the completed Browser Use task to return its final result string and
      the recorded step trace.
    operationId: get-api-task-browser-use-id
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.apiKey
    - name: id
      in: path
      value: $steps.startTask.outputs.jobId
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.status == "completed"
      type: jsonpath
    outputs:
      status: $response.body#/status
      finalResult: $response.body#/data/finalResult
      steps: $response.body#/data/steps
  outputs:
    jobId: $steps.startTask.outputs.jobId
    liveUrl: $steps.startTask.outputs.liveUrl
    finalResult: $steps.getResult.outputs.finalResult