> ## Documentation Index
> Fetch the complete documentation index at: https://docs.driver.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List sessions

> List browser sessions with pagination.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/browser/sessions
openapi: 3.0.0
info:
  version: 1.0.0
  title: Driver API
  description: API for interacting with the Driver.dev browser network.
  contact:
    name: Driver support
    email: alex@driver.dev
servers:
  - url: https://api.driver.dev
    description: Production
security: []
tags:
  - name: Sessions
  - name: Profiles
  - name: Account
  - name: Extensions
  - name: Pools
externalDocs:
  url: https://docs.driver.dev
  description: Driver documentation
paths:
  /v1/browser/sessions:
    get:
      tags:
        - Sessions
      summary: List sessions
      description: List browser sessions with pagination.
      parameters:
        - schema:
            type: integer
            minimum: 1
            example: 1
            description: The page number for pagination.
            default: 1
          required: false
          description: The page number for pagination.
          name: page
          in: query
        - schema:
            type: integer
            minimum: 1
            example: 20
            description: The number of sessions per page.
            default: 20
            maximum: 100
          required: false
          description: >-
            The number of sessions per page, 1 to 100. Larger values are clamped
            to 100.
          name: pageSize
          in: query
        - schema:
            type: string
            enum:
              - starting
              - active
              - completed
              - error
            example: active
            description: Filter sessions by status.
          required: false
          description: Only sessions in exactly this status.
          name: status
          in: query
      responses:
        '200':
          description: Successfully retrieved list of browser sessions.
          content:
            application/json:
              schema:
                type: object
                properties:
                  page:
                    type: integer
                    description: The current page number.
                  pageSize:
                    type: integer
                    description: The number of sessions per page.
                  total:
                    type: integer
                    description: The total number of sessions.
                  totalPages:
                    type: integer
                    description: The total number of pages.
                  sessions:
                    type: array
                    items:
                      type: object
                      properties:
                        sessionId:
                          type: string
                          description: >-
                            The session id: an opaque string; do not validate
                            its format.
                        status:
                          type: string
                          enum:
                            - starting
                            - active
                            - completed
                            - error
                          description: The status of the session.
                        servedBy:
                          type: string
                          description: The node ID that is serving this session.
                        type:
                          type: string
                          nullable: true
                          description: >-
                            The session execution type, such as 'hosted',
                            'hosted_stealth', 'hosted_privacy'.
                        country:
                          type: string
                          nullable: true
                          description: >-
                            The ISO country code of the node serving this
                            session.
                        createdAt:
                          type: string
                          description: The ISO 8601 timestamp when the session was created.
                        stoppedAt:
                          type: string
                          nullable: true
                          description: >-
                            The ISO 8601 timestamp when the session was stopped,
                            or null if it is still active.
                        bandwidthBytes:
                          type: integer
                          minimum: 0
                          description: The total bandwidth used by the session in bytes.
                        note:
                          type: string
                          nullable: true
                          description: >-
                            An optional note attached to the session, or null if
                            not set.
                      required:
                        - sessionId
                        - status
                        - servedBy
                        - type
                        - country
                        - createdAt
                        - stoppedAt
                        - note
                        - bandwidthBytes
                    description: Array of browser sessions.
                required:
                  - page
                  - pageSize
                  - total
                  - totalPages
                  - sessions
                example:
                  page: 1
                  pageSize: 20
                  total: 7
                  totalPages: 1
                  sessions:
                    - sessionId: >-
                        jx6qz3w68l6j1v3h1c42teogpake4t7zjtccbksrcwbilsqka8ugaw09qm0ldrx6u84igpobcrgctnjqcy1ejiphnjbwmkxh3p3dvsbmzbz70a9949aij3utp7mfjd6e
                      status: completed
                      servedBy: job-camera-sausage
                      type: hosted
                      country: US
                      createdAt: '2025-11-20T06:16:10.000Z'
                      stoppedAt: '2025-11-20T07:16:11.199Z'
                      bandwidthBytes: 2097152
                      note: null
        '400':
          description: The status filter is not one of starting, active, completed, error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                required:
                  - error
        '500':
          description: Failed to retrieve browser sessions.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                required:
                  - error
        '503':
          description: The session service is unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                    example: Session service unavailable
                required:
                  - error
      security:
        - Bearer: []
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      description: >-
        A workspace API key from Settings → API keys in the dashboard
        (https://app.driver.dev), sent as a bearer token.

````