> ## 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 Run Status

> Cheap status-only poll target for a browsercode run. MOCKED.



## OpenAPI

````yaml /cloud/openapi/v1.json get /agents/browsercode/runs/{run_id}/status
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/runs/{run_id}/status:
    get:
      tags:
        - 'Agent: browsercode'
      summary: Get Browsercode Run Status
      description: Cheap status-only poll target for a browsercode run. MOCKED.
      operationId: get_browsercode_run_status_agents_browsercode_runs__run_id__status_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/BrowsercodeRunStatus'
        '404':
          description: Run not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowsercodeRunNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    BrowsercodeRunStatus:
      properties:
        status:
          type: string
          enum:
            - queued
            - running
            - completed
            - failed
            - stopped
          title: Status
      type: object
      required:
        - status
      title: BrowsercodeRunStatus
      description: >-
        Cheap poll target: just the status. Poll this until terminal, then fetch
        the

        full run once via GET /runs/{id} for result/browser/cost.
    BrowsercodeRunNotFoundError:
      properties:
        detail:
          type: string
          title: Detail
          default: Run not found
      type: object
      title: BrowsercodeRunNotFoundError
    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

````