> ## 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 Browser Use Run

> Get a browser-use run's full detail (result, structured `output` when
requested, browserId after completion, error). MOCKED.



## OpenAPI

````yaml /cloud/openapi/v1.json get /agents/browser-use/runs/{run_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/browser-use/runs/{run_id}:
    get:
      tags:
        - 'Agent: browser-use'
      summary: Get Browser Use Run
      description: |-
        Get a browser-use run's full detail (result, structured `output` when
        requested, browserId after completion, error). MOCKED.
      operationId: get_browser_use_run_agents_browser_use_runs__run_id__get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowserUseRun'
        '404':
          description: Run not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowserUseRunNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    BrowserUseRun:
      properties:
        id:
          type: string
          title: Id
          description: Run id, e.g. "run_...".
        agent:
          type: string
          enum:
            - browser-use
            - browsercode
          title: Agent
          description: Always 'browser-use'.
          default: browser-use
        status:
          type: string
          enum:
            - queued
            - running
            - completed
            - failed
            - stopped
          title: Status
        sessionId:
          type: string
          format: uuid
          title: Sessionid
          description: The disposable session this run belongs to.
        browserId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Browserid
          description: >-
            The browser this run used. Null until provisioned; persists after
            completion.
        model:
          type: string
          title: Model
        result:
          anyOf:
            - type: string
            - type: 'null'
          title: Result
          description: Answer string. Null until the run completes.
        output:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Output
          description: Typed output — only when structuredOutput was requested; else null.
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
          description: Failure reason, if the run failed.
        totalCostUsd:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Totalcostusd
          description: USD billed to the project.
          default: '0'
        missingFileIds:
          items:
            type: string
            format: uuid
          type: array
          title: Missingfileids
        createdAt:
          type: string
          format: date-time
          title: Createdat
        updatedAt:
          type: string
          format: date-time
          title: Updatedat
      type: object
      required:
        - id
        - status
        - sessionId
        - model
        - createdAt
        - updatedAt
      title: BrowserUseRun
      description: >-
        A browser-use run, as returned by POST /runs and GET /runs/{id}.


        On completion: `result` is the answer string. `output` is a typed object
        set

        ONLY when structuredOutput was requested (else null). `browser_id`
        populates

        once provisioned and persists through completion.
    BrowserUseRunNotFoundError:
      properties:
        detail:
          type: string
          title: Detail
          default: Run not found
      type: object
      title: BrowserUseRunNotFoundError
    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

````