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

# Windows Rename



## OpenAPI

````yaml /cloud/openapi/v3.json patch /boxes/me/windows/{window_id}
openapi: 3.1.0
info:
  title: Browser Use Public API v3
  summary: Browser Use session-based agent API (v3)
  version: 3.0.0
servers:
  - url: https://api.browser-use.com/api/v3
    description: Production server
security: []
paths:
  /boxes/me/windows/{window_id}:
    patch:
      tags:
        - Boxes
      summary: Windows Rename
      operationId: windows_rename_boxes_me_windows__window_id__patch
      parameters:
        - name: window_id
          in: path
          required: true
          schema:
            type: string
            title: Window Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WindowRenameRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WindowView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    WindowRenameRequest:
      properties:
        label:
          type: string
          title: Label
      type: object
      required:
        - label
      title: WindowRenameRequest
    WindowView:
      properties:
        id:
          type: string
          title: Id
        label:
          type: string
          title: Label
          default: ''
        attached:
          type: boolean
          title: Attached
          default: false
        created_at:
          type: integer
          title: Created At
          default: 0
      type: object
      required:
        - id
      title: WindowView
      description: |-
        One tmux window on the box. id is the tmux session name (`bux-w<n>`).

        `label` is a user-supplied name (max 64 chars) stored as a tmux
        per-session option (@bux-label). `attached` is True if any tmux
        client is currently connected to the window. The FE shows a small
        indicator next to attached windows so users know which one a phone
        is currently mirroring.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Browser-Use-API-Key

````