> ## Documentation Index
> Fetch the complete documentation index at: https://hyperbrowser.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get HyperAgent task status and results



## OpenAPI

````yaml /openapi.json GET /api/task/hyper-agent/{id}
openapi: 3.0.1
info:
  title: Hyperbrowser API
  version: 1.0.0
servers:
  - url: https://api.hyperbrowser.ai
    description: Production server
security: []
paths:
  /api/task/hyper-agent/{id}:
    get:
      summary: Get HyperAgent task status and results
      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'
      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')
components:
  schemas:
    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
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
    JobStatus:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
        - stopped
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````