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

# Get Session

> Session detail — the same slim shape as one GET /sessions row (its
latest run). Doubles as the busy/idle poll for a conversation (POLL rate
bucket): slim columns only, indexed public_session_id lookup, never the
heavy result/token fields.



## OpenAPI

````yaml /cloud/openapi/v4.json get /sessions/{session_id}
openapi: 3.1.0
info:
  title: Browser Use Public API v4
  summary: Browser Use agent runs API (v4)
  version: 4.0.0
servers:
  - url: https://api.browser-use.com/api/v4
    description: Production server
security: []
tags:
  - name: Runs
  - name: Sessions
  - name: Workspaces
  - name: Browsers
  - name: Profiles
paths:
  /sessions/{session_id}:
    get:
      tags:
        - Sessions
      summary: Get Session
      description: |-
        Session detail — the same slim shape as one GET /sessions row (its
        latest run). Doubles as the busy/idle poll for a conversation (POLL rate
        bucket): slim columns only, indexed public_session_id lookup, never the
        heavy result/token fields.
      operationId: get_session_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/SessionInfo'
        '403':
          description: Zero Data Retention is enabled on the project (V4 unsupported).
        '404':
          description: Run, session, workspace, or profile not found.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    SessionInfo:
      properties:
        sessionId:
          type: string
          format: uuid
          title: Sessionid
        workspaceId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Workspaceid
        latestRunId:
          type: string
          format: uuid
          title: Latestrunid
        task:
          type: string
          title: Task
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        status:
          type: string
          enum:
            - queued
            - dispatching
            - running
            - completed
            - failed
            - cancelled
          title: Status
        createdAt:
          type: string
          format: date-time
          title: Createdat
        updatedAt:
          type: string
          format: date-time
          title: Updatedat
      type: object
      required:
        - sessionId
        - workspaceId
        - latestRunId
        - task
        - title
        - status
        - createdAt
        - updatedAt
      title: SessionInfo
      description: >-
        Lightweight metadata for one V4 session (its most recent run).


        Deliberately slim — just what a session list needs (open the
        conversation,

        show a label + status + time). The heavy per-run fields (result, error,

        token/cost totals) live on RunSummary and aren't repeated here.
    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

````