Hyperbrowser Task API

The Task API from Hyperbrowser — 20 operation(s) for task.

OpenAPI Specification

hyperbrowser-task-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Hyperbrowser Agents Task API
  version: 1.0.0
  description: Start, stop, and monitor agentic browser tasks across HyperAgent, Browser-Use, Claude Computer Use, Gemini Computer Use, and OpenAI CUA.
  contact:
    name: Hyperbrowser
    url: https://hyperbrowser.ai
  license:
    name: Hyperbrowser Terms
    url: https://hyperbrowser.ai/terms
servers:
- url: https://api.hyperbrowser.ai
  description: Production server
security:
- ApiKeyAuth: []
tags:
- name: Task
paths:
  /api/task/hyper-agent:
    post:
      summary: Start a HyperAgent task
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Start HyperAgent task
        source: "import { Hyperbrowser } from '@hyperbrowser/sdk';\n\nconst client = new Hyperbrowser({ apiKey: 'your-api-key' });\n\nawait client.agents.hyperAgent.start({\n  task: 'Find the price of the product',\n  maxSteps: 20\n});"
      - lang: python
        label: Start HyperAgent task
        source: "from hyperbrowser import Hyperbrowser\nfrom hyperbrowser.models import StartHyperAgentTaskParams\n\nclient = Hyperbrowser(api_key='your-api-key')\n\nclient.agents.hyper_agent.start(StartHyperAgentTaskParams(\n  task='Find the price of the product',\n  max_steps=20\n))"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartHyperAgentTaskParams'
      responses:
        '200':
          description: HyperAgent task started successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartHyperAgentTaskResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/hyper-agent/{id}:
    get:
      summary: Get HyperAgent task status and results
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get HyperAgent task
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.hyperAgent.get(''task-id'');'
      - lang: python
        label: Get HyperAgent task
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.hyper_agent.get(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: HyperAgent task details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HyperAgentTaskResponse'
        '404':
          description: HyperAgent task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/hyper-agent/{id}/stop:
    put:
      summary: Stop a HyperAgent task
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Stop HyperAgent task
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.hyperAgent.stop(''task-id'');'
      - lang: python
        label: Stop HyperAgent task
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.hyper_agent.stop(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: HyperAgent task stopped successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicResponse'
      tags:
      - Task
  /api/task/hyper-agent/{id}/status:
    get:
      summary: Get HyperAgent task status
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get HyperAgent task status
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.hyperAgent.getStatus(''task-id'');'
      - lang: python
        label: Get HyperAgent task status
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.hyper_agent.get_status(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: HyperAgent task status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobStatusResponse'
        '404':
          description: HyperAgent task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/browser-use:
    post:
      summary: Start a browser use task
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Start BrowserUse task
        source: "import { Hyperbrowser } from '@hyperbrowser/sdk';\n\nconst client = new Hyperbrowser({ apiKey: 'your-api-key' });\n\nawait client.agents.browserUse.start({\n  task: 'Find the price of the product',\n  llm: 'gemini-2.0-flash',\n  maxSteps: 20\n});"
      - lang: python
        label: Start BrowserUse task
        source: "from hyperbrowser import Hyperbrowser\nfrom hyperbrowser.models import StartBrowserUseTaskParams\n\nclient = Hyperbrowser(api_key='your-api-key')\n\nclient.agents.browser_use.start(StartBrowserUseTaskParams(\n  task='Find the price of the product',\n  llm='gemini-2.0-flash',\n  max_steps=20\n))"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartBrowserUseTaskParams'
      responses:
        '200':
          description: Browser use task started successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartBrowserUseTaskResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/browser-use/{id}:
    get:
      summary: Get browser use task status and results
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get BrowserUse task
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.browserUse.get(''task-id'');'
      - lang: python
        label: Get BrowserUse task
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.browser_use.get(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Browser use task details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowserUseTaskResponse'
        '404':
          description: Browser use task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/browser-use/{id}/stop:
    put:
      summary: Stop a browser use task
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Stop BrowserUse task
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.browserUse.stop(''task-id'');'
      - lang: python
        label: Stop BrowserUse task
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.browser_use.stop(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Browser use task stopped successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicResponse'
      tags:
      - Task
  /api/task/browser-use/{id}/status:
    get:
      summary: Get browser use task status
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get BrowserUse task status
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.browserUse.getStatus(''task-id'');'
      - lang: python
        label: Get BrowserUse task status
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.browser_use.get_status(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Browser use task status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobStatusResponse'
        '404':
          description: Browser use task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/claude-computer-use:
    post:
      summary: Start a claude computer use task
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Start Claude Computer Use task
        source: "import { Hyperbrowser } from '@hyperbrowser/sdk';\n\nconst client = new Hyperbrowser({ apiKey: 'your-api-key' });\n\nawait client.agents.claudeComputerUse.start({\n  task: 'Find the price of the product',\n  llm: 'claude-sonnet-4-5',\n  maxSteps: 20\n});"
      - lang: python
        label: Start Claude Computer Use task
        source: "from hyperbrowser import Hyperbrowser\nfrom hyperbrowser.models import StartClaudeComputerUseTaskParams\n\nclient = Hyperbrowser(api_key='your-api-key')\n\nclient.agents.claude_computer_use.start(StartClaudeComputerUseTaskParams(\n  task='Find the price of the product',\n  llm='claude-sonnet-4-5',\n  max_steps=20\n))"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartClaudeComputerUseTaskParams'
      responses:
        '200':
          description: Claude computer use task started successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartClaudeComputerUseTaskResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/claude-computer-use/{id}:
    get:
      summary: Get claude computer use task status and results
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get Claude Computer Use task
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.claudeComputerUse.get(''task-id'');'
      - lang: python
        label: Get Claude Computer Use task
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.claude_computer_use.get(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Claude computer use task details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClaudeComputerUseTaskResponse'
        '404':
          description: Claude computer use task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/claude-computer-use/{id}/stop:
    put:
      summary: Stop a claude computer use task
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Stop Claude Computer Use task
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.claudeComputerUse.stop(''task-id'');'
      - lang: python
        label: Stop Claude Computer Use task
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.claude_computer_use.stop(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Claude computer use task stopped successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicResponse'
      tags:
      - Task
  /api/task/claude-computer-use/{id}/status:
    get:
      summary: Get claude computer use task status
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get Claude Computer Use task status
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.claudeComputerUse.getStatus(''task-id'');'
      - lang: python
        label: Get Claude Computer Use task status
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.claude_computer_use.get_status(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Claude computer use task status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobStatusResponse'
        '404':
          description: Claude computer use task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/gemini-computer-use:
    post:
      summary: Start a gemini computer use task
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Start Gemini Computer Use task
        source: "import { Hyperbrowser } from '@hyperbrowser/sdk';\n\nconst client = new Hyperbrowser({ apiKey: 'your-api-key' });\n\nawait client.agents.geminiComputerUse.start({\n  task: 'Find the price of the product',\n  maxSteps: 20\n});"
      - lang: python
        label: Start Gemini Computer Use task
        source: "from hyperbrowser import Hyperbrowser\nfrom hyperbrowser.models import StartGeminiComputerUseTaskParams\n\nclient = Hyperbrowser(api_key='your-api-key')\n\nclient.agents.gemini_computer_use.start(StartGeminiComputerUseTaskParams(\n  task='Find the price of the product',\n  max_steps=20\n))"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartGeminiComputerUseTaskParams'
      responses:
        '200':
          description: Gemini computer use task started successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartGeminiComputerUseTaskResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/gemini-computer-use/{id}:
    get:
      summary: Get gemini computer use task status and results
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get Gemini Computer Use task
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.geminiComputerUse.get(''task-id'');'
      - lang: python
        label: Get Gemini Computer Use task
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.gemini_computer_use.get(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Gemini computer use task details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeminiComputerUseTaskResponse'
        '404':
          description: Gemini computer use task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/gemini-computer-use/{id}/stop:
    put:
      summary: Stop a gemini computer use task
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Stop Gemini Computer Use task
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.geminiComputerUse.stop(''task-id'');'
      - lang: python
        label: Stop Gemini Computer Use task
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.gemini_computer_use.stop(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Gemini computer use task stopped successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicResponse'
      tags:
      - Task
  /api/task/gemini-computer-use/{id}/status:
    get:
      summary: Get gemini computer use task status
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get Gemini Computer Use task status
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.geminiComputerUse.getStatus(''task-id'');'
      - lang: python
        label: Get Gemini Computer Use task status
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.gemini_computer_use.get_status(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Gemini computer use task status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobStatusResponse'
        '404':
          description: Gemini computer use task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/cua:
    post:
      summary: Start a CUA task
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Start CUA task
        source: "import { Hyperbrowser } from '@hyperbrowser/sdk';\n\nconst client = new Hyperbrowser({ apiKey: 'your-api-key' });\n\nawait client.agents.cua.start({\n  task: 'Find the price of the product',\n  maxSteps: 20\n});"
      - lang: python
        label: Start CUA task
        source: "from hyperbrowser import Hyperbrowser\nfrom hyperbrowser.models import StartCuaTaskParams\n\nclient = Hyperbrowser(api_key='your-api-key')\n\nclient.agents.cua.start(StartCuaTaskParams(\n  task='Find the price of the product',\n  max_steps=20\n))"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartCuaTaskParams'
      responses:
        '200':
          description: CUA task started successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartCuaTaskResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/cua/{id}:
    get:
      summary: Get CUA task status and results
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get CUA task
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.cua.get(''task-id'');'
      - lang: python
        label: Get CUA task
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.cua.get(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: CUA task details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CuaTaskResponse'
        '404':
          description: CUA task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
  /api/task/cua/{id}/stop:
    put:
      summary: Stop a CUA task
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Stop CUA task
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.cua.stop(''task-id'');'
      - lang: python
        label: Stop CUA task
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.cua.stop(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: CUA task stopped successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicResponse'
      tags:
      - Task
  /api/task/cua/{id}/status:
    get:
      summary: Get CUA task status
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get CUA task status
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


          const client = new Hyperbrowser({ apiKey: ''your-api-key'' });


          await client.agents.cua.getStatus(''task-id'');'
      - lang: python
        label: Get CUA task status
        source: 'from hyperbrowser import Hyperbrowser


          client = Hyperbrowser(api_key=''your-api-key'')


          client.agents.cua.get_status(''task-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: CUA task status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobStatusResponse'
        '404':
          description: CUA task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Task
components:
  schemas:
    GeminiComputerUseTaskResponse:
      type: object
      properties:
        jobId:
          type: string
        status:
          $ref: '#/components/schemas/JobStatus'
        data:
          type: object
          properties:
            steps:
              type: array
              items:
                type: object
            finalResult:
              type: string
              nullable: true
        error:
          type: string
          nullable: true
        liveUrl:
          type: string
          nullable: true
      required:
      - jobId
      - status
    StartGeminiComputerUseTaskParams:
      type: object
      properties:
        task:
          type: string
        llm:
          $ref: '#/components/schemas/GeminiComputerUseLlm'
        sessionId:
          type: string
        maxFailures:
          type: number
          default: 3
        maxSteps:
          type: number
          default: 20
        keepBrowserOpen:
          type: boolean
          default: false
        sessionOptions:
          $ref: '#/components/schemas/CreateSessionParams'
        useCustomApiKeys:
          type: boolean
          default: false
        apiKeys:
          type: object
          properties:
            google:
              type: string
        useComputerAction:
          type: boolean
          default: false
      required:
      - task
      default:
        task: go to example.com
    StartHyperAgentTaskParams:
      type: object
      properties:
        task:
          type: string
        version:
          $ref: '#/components/schemas/HyperAgentVersion'
        llm:
          $ref: '#/components/schemas/HyperAgentLlm'
        sessionId:
          type: string
        maxSteps:
          type: number
          default: 20
        keepBrowserOpen:
          type: boolean
          default: false
        sessionOptions:
          $ref: '#/components/schemas/CreateSessionParams'
        useCustomApiKeys:
          type: boolean
          default: false
        apiKeys:
          type: object
          properties:
            openai:
              type: string
            anthropic:
              type: string
            google:
              type: string
      required:
      - task
      default:
        task: go to example.com
    ClaudeComputerUseLlm:
      type: string
      enum:
      - claude-opus-4-5
      - claude-opus-4-6
      - claude-haiku-4-5-20251001
      - claude-sonnet-4-6
      - claude-sonnet-4-5
      - claude-sonnet-4-20250514
      default: claude-sonnet-4-5
    StartClaudeComputerUseTaskParams:
      type: object
      properties:
        task:
          type: string
        llm:
          $ref: '#/components/schemas/ClaudeComputerUseLlm'
        sessionId:
          type: string
        maxFailures:
          type: number
          default: 3
        maxSteps:
          type: number
          default: 20
        keepBrowserOpen:
          type: boolean
          default: false
        sessionOptions:
          $ref: '#/components/schemas/CreateSessionParams'
        useCustomApiKeys:
          type: boolean
          default: false
        apiKeys:
          type: object
          properties:
            anthropic:
              type: string
        useComputerAction:
          type: boolean
          default: false
      required:
      - task
      default:
        task: go to example.com
    HyperAgentTaskResponse:
      type: object
      properties:
        jobId:
          type: string
        status:
          $ref: '#/components/schemas/JobStatus'
        data:
          type: object
          properties:
            steps:
              type: array
              items:
                type: object
            finalResult:
              type: string
              nullable: true
        error:
          type: string
          nullable: true
        liveUrl:
          type: string
          nullable: true
      required:
      - jobId
      - status
    StartCuaTaskParams:
      type: object
      properties:
        task:
          type: string
        llm:
          $ref: '#/components/schemas/CuaLlm'
        sessionId:
          type: string
        maxFailures:
          type: number
          default: 3
        maxSteps:
          type: number
          default: 20
        keepBrowserOpen:
          type: boolean
          default: false
        sessionOptions:
          $ref: '#/components/schemas/CreateSessionParams'
        useCustomApiKeys:
          type: boolean
          default: false
        apiKeys:
          type: object
          properties:
            openai:
              type: string
        useComputerAction:
          type: boolean
          default: false
      required:
      - task
      default:
        task: go to example.com
    JobStatus:
      type: string
      enum:
      - pending
      - running
      - completed
      - failed
      - stopped
    StartBrowserUseTaskResponse:
      type: object
      properties:
        jobId:
          type: string
        liveUrl:
          type: string
          nullable: true
      required:
      - jobId
    CuaTaskResponse:
      type: object
      properties:
        jobId:
          type: string
        status:
          $ref: '#/components/schemas/JobStatus'
        data:
          type: object
          properties:
            steps:
              type: array
              items:
                type: object
            finalResult:
              type: string
              nullable: true
        error:
          type: string
          nullable: true
        liveUrl:
          type: string
          nullable: true
      required:
      - jobId
      - status
    BrowserUseVersion:
      type: string
      enum:
      - 0.1.40
      - 0.7.10
      - latest
      default: 0.1.40
    BrowserUseTaskResponse:
      type: object
      properties:
        jobId:
          type: string
        status:
          $ref: 

# --- truncated at 32 KB (48 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/hyperbrowser/refs/heads/main/openapi/hyperbrowser-task-api-openapi.yml