Hyperbrowser Task API

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

Operations 20

POST /api/task/hyper-agent Start a HyperAgent task
GET /api/task/hyper-agent/{id} Get HyperAgent task status and results
PUT /api/task/hyper-agent/{id}/stop Stop a HyperAgent task
GET /api/task/hyper-agent/{id}/status Get HyperAgent task status
POST /api/task/browser-use Start a browser use task
GET /api/task/browser-use/{id} Get browser use task status and results
PUT /api/task/browser-use/{id}/stop Stop a browser use task
GET /api/task/browser-use/{id}/status Get browser use task status
POST /api/task/claude-computer-use Start a claude computer use task
GET /api/task/claude-computer-use/{id} Get claude computer use task status and results
PUT /api/task/claude-computer-use/{id}/stop Stop a claude computer use task
GET /api/task/claude-computer-use/{id}/status Get claude computer use task status
POST /api/task/gemini-computer-use Start a gemini computer use task
GET /api/task/gemini-computer-use/{id} Get gemini computer use task status and results
PUT /api/task/gemini-computer-use/{id}/stop Stop a gemini computer use task
GET /api/task/gemini-computer-use/{id}/status Get gemini computer use task status
POST /api/task/cua Start a CUA task
GET /api/task/cua/{id} Get CUA task status and results
PUT /api/task/cua/{id}/stop Stop a CUA task
GET /api/task/cua/{id}/status Get CUA task status

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hyperbrowser-task-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hyperbrowser-task-api-openapi.yml Raw ↑
openapi: 3.2.0
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:
    HyperAgentLlm:
      type: string
      enum:
      - gpt-5.2
      - gpt-5.1
      - gpt-5
      - gpt-5-mini
      - gpt-4o
      - gpt-4o-mini
      - gpt-4.1
      - gpt-4.1-mini
      - claude-sonnet-4-6
      - claude-sonnet-4-5
      - gemini-2.5-flash
      - gemini-3-flash-preview
      default: gpt-4o
    StartBrowserUseTaskResponse:
      type: object
      properties:
        jobId:
          type: string
        liveUrl:
          type:
          - string
          - 'null'
      required:
      - jobId
    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
    Device:
      type: string
      enum:
      - desktop
      - mobile
    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
    BrowserUseVersion:
      type: string
      enum:
      - 0.1.40
      - 0.7.10
      - latest
      default: 0.1.40
    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
              - 'null'
        error:
          type:
          - string
          - 'null'
        liveUrl:
          type:
          - string
          - 'null'
      required:
      - jobId
      - status
    ClaudeComputerUseTaskResponse:
      type: object
      properties:
        jobId:
          type: string
        status:
          $ref: '#/components/schemas/JobStatus'
        data:
          type: object
          properties:
            steps:
              type: array
              items:
                type: object
            finalResult:
              type:
              - string
              - 'null'
        error:
          type:
          - string
          - 'null'
        liveUrl:
          type:
          - string
          - 'null'
      required:
      - jobId
      - status
    BrowserUseLlm:
      type: string
      enum:
      - gpt-4o
      - gpt-4o-mini
      - gpt-4.1
      - gpt-4.1-mini
      - claude-sonnet-4-6
      - claude-sonnet-4-5
      - claude-sonnet-4-20250514
      - gemini-2.0-flash
      - gemini-2.5-flash
      default: gemini-2.0-flash
    BrowserUseTaskResponse:
      type: object
      properties:
        jobId:
          type: string
        status:
          $ref: '#/components/schemas/JobStatus'
        data:
          type: object
          properties:
            steps:
              type: array
              items:
                type: object
            finalResult:
              type:
              - string
              - 'null'
        error:
          type:
          - string
          - 'null'
        liveUrl:
          type:
          - string
          - 'null'
      required:
      - jobId
      - status
    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
              - 'null'
        error:
          type:
          - string
          - 'null'
        liveUrl:
          type:
          - string
          - 'null'
      required:
      - jobId
      - status
    HyperAgentVersion:
      type: string
      enum:
      - 0.8.0
      - 1.1.0
      default: 0.8.0
    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
    OperatingSystem:
      type: string
      enum:
      - windows
      - android
      - macos
      - linux
      - ios
    ProxyState:
      type:
      - string
      - 'null'
      enum:
      - AL
      - AK
      - AZ
      - AR
      - CA
      - CO
      - CT
      - DE
      - FL
      - GA
      - HI
      - ID
      - IL
      - IN
      - IA
      - KS
      - KY
      - LA
      - ME
      - MD
      - MA
      - MI
      - MN
      - MS
      - MO
    

# --- 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