> ## 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 Steps

> Native step feed for a browser-use run (the OSS-known `steps` shape, NOT
events). Steps carry monotonic numbers; poll `?after=<number>` for only newer
ones. MOCKED items.



## OpenAPI

````yaml /cloud/openapi/v1.json get /agents/browser-use/runs/{run_id}/steps
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}/steps:
    get:
      tags:
        - 'Agent: browser-use'
      summary: Get Browser Use Run Steps
      description: >-
        Native step feed for a browser-use run (the OSS-known `steps` shape, NOT

        events). Steps carry monotonic numbers; poll `?after=<number>` for only
        newer

        ones. MOCKED items.
      operationId: get_browser_use_run_steps_agents_browser_use_runs__run_id__steps_get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            title: Run Id
        - name: after
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              Return only steps with number > this. Pass the last step number
              you saw.
            title: After
          description: >-
            Return only steps with number > this. Pass the last step number you
            saw.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunStepList'
        '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:
    RunStepList:
      properties:
        steps:
          items:
            $ref: '#/components/schemas/RunStep'
          type: array
          title: Steps
        nextAfter:
          anyOf:
            - type: integer
            - type: 'null'
          title: Nextafter
          description: Highest step number in this page, or null.
        hasMore:
          type: boolean
          title: Hasmore
          default: false
      type: object
      required:
        - steps
      title: RunStepList
      description: >-
        Incremental step page — same poll shape as `/events`. Steps have
        monotonic

        `number`s; `next_after` is the highest in this page. Pass it back as
        `?after=`

        on the next poll to fetch only newer steps; `has_more` says whether more

        already exist.
    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
    RunStep:
      properties:
        number:
          type: integer
          title: Number
          description: 1-based step index within the run.
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
          description: Page URL at this step, if any.
        action:
          type: string
          title: Action
          description: The action the agent took, e.g. 'click', 'input', 'done'.
        thought:
          anyOf:
            - type: string
            - type: 'null'
          title: Thought
          description: The agent's reasoning for this step.
        screenshotUrl:
          anyOf:
            - type: string
            - type: 'null'
          title: Screenshoturl
          description: Presigned screenshot URL for this step, if captured.
        ts:
          type: string
          format: date-time
          title: Ts
      type: object
      required:
        - number
        - action
        - ts
      title: RunStep
      description: >-
        One browser-use run step — the OSS-native watch shape (NOT events).


        `steps` is browser-use's public identity; the whole community knows the
        agent

        in terms of steps, so we keep it rather than wrapping it as generic
        events.
    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

````