Hyperbrowser Profile API

The Profile API from Hyperbrowser — 2 operation(s) for profile.

OpenAPI Specification

hyperbrowser-profile-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Hyperbrowser Agents Profile 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: Profile
paths:
  /api/profile:
    post:
      summary: Creates a new profile
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Create a profile
        source: "import { Hyperbrowser } from '@hyperbrowser/sdk';\n\nconst client = new Hyperbrowser({ apiKey: 'your-api-key' });\n\nawait client.profiles.create({\n  name: 'My Profile'\n});"
      - lang: python
        label: Create a profile
        source: "from hyperbrowser import Hyperbrowser\nfrom hyperbrowser.models import CreateProfileParams\n\nclient = Hyperbrowser(api_key='your-api-key')\n\nclient.profiles.create(CreateProfileParams(\n  name='My Profile'\n))"
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProfileParams'
      responses:
        '200':
          description: Profile created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateProfileResponse'
      tags:
      - Profile
  /api/profile/{id}:
    get:
      summary: Get profile by ID
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Get a profile
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


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


          await client.profiles.get(''profile-id'');'
      - lang: python
        label: Get a profile
        source: 'from hyperbrowser import Hyperbrowser


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


          client.profiles.get(''profile-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Profile details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileResponse'
        '404':
          description: Profile not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Profile
    delete:
      summary: Delete profile by ID
      security:
      - ApiKeyAuth: []
      x-codeSamples:
      - lang: javascript
        label: Delete a profile
        source: 'import { Hyperbrowser } from ''@hyperbrowser/sdk'';


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


          await client.profiles.delete(''profile-id'');'
      - lang: python
        label: Delete a profile
        source: 'from hyperbrowser import Hyperbrowser


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


          client.profiles.delete(''profile-id'')'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Profile deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicResponse'
      tags:
      - Profile
components:
  schemas:
    CreateProfileParams:
      type: object
      properties:
        name:
          type: string
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
    CreateProfileResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
          nullable: true
    BasicResponse:
      type: object
      properties:
        success:
          type: boolean
    ProfileResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
          nullable: true
        teamId:
          type: string
        createdAt:
          type: string
          format: iso8601
        updatedAt:
          type: string
          format: iso8601
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Account API key from app.hyperbrowser.ai