> ## Documentation Index
> Fetch the complete documentation index at: https://browseruse-0aece648-larsen-v1-unified-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Browsercode Session

> Get one browsercode conversation, including its `busy` flag (whether a new
POST /runs would queue). MOCKED.



## OpenAPI

````yaml /cloud/openapi/v1.json get /agents/browsercode/sessions/{session_id}
openapi: 3.1.0
info:
  title: Browser Use API v1
  summary: Unified /api/v1 preview spec, non-production only
  version: 1.0.0
servers:
  - url: https://api-staging-ufcbwvyv9yifyyvc3.browser-use.com/api/v1
    description: Browser Use API v1 (staging)
security: []
paths:
  /agents/browsercode/sessions/{session_id}:
    get:
      tags:
        - 'Agent: browsercode'
      summary: Get Browsercode Session
      description: >-
        Get one browsercode conversation, including its `busy` flag (whether a
        new

        POST /runs would queue). MOCKED.
      operationId: get_browsercode_session_agents_browsercode_sessions__session_id__get
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowsercodeSession'
        '404':
          description: Session not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowsercodeSessionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    BrowsercodeSession:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          description: LLM-generated label from the opening task; null until ready.
        busy:
          type: boolean
          title: Busy
          description: True if a run is currently active (a follow-up would queue).
        latestRunId:
          anyOf:
            - type: string
            - type: 'null'
          title: Latestrunid
          description: Most recent run in this thread.
        createdAt:
          type: string
          format: date-time
          title: Createdat
        updatedAt:
          type: string
          format: date-time
          title: Updatedat
      type: object
      required:
        - id
        - busy
        - createdAt
        - updatedAt
      title: BrowsercodeSession
      description: |-
        One browsercode conversation. Emergent — minted by the first run, never
        created directly. `busy` tells you whether a new POST /runs would queue.
    BrowsercodeSessionNotFoundError:
      properties:
        detail:
          type: string
          title: Detail
          default: Session not found
      type: object
      title: BrowsercodeSessionNotFoundError
    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

````