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

# Get the replay of a browser session

> The recording of a session, as a list of pages: each has the address it showed and when it started and ended within the session (milliseconds). `GET /v1/browser-sessions/{id}/replay/{page}` is the video of one, by its position in this list. `available_until` is when the recording is no longer kept. A session being recorded may list nothing yet.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/browser-sessions/{id}/replay
openapi: 3.1.0
info:
  title: Sidenet API
  version: 1.0.0
  description: >-
    Sidenet HTTP endpoints exposed by the Sidenet Studio. All routes require an
    api key that can be generated through the studio in studio.sidenet.ai.
servers:
  - url: https://api.sidenet.ai
security:
  - bearerAuth: []
paths:
  /v1/browser-sessions/{id}/replay:
    get:
      tags:
        - Browser
      summary: Get the replay of a browser session
      description: >-
        The recording of a session, as a list of pages: each has the address it
        showed and when it started and ended within the session (milliseconds).
        `GET /v1/browser-sessions/{id}/replay/{page}` is the video of one, by
        its position in this list. `available_until` is when the recording is no
        longer kept. A session being recorded may list nothing yet.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            example: bs_3f9a1c0e5b7d2a4c6e8f0b1d
          description: The browser session id.
      responses:
        '200':
          description: The replay
          content:
            application/json:
              schema:
                type: object
                properties:
                  pages:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        start_ms:
                          type: integer
                        end_ms:
                          type: integer
                  available_until:
                    type: string
                    format: date-time
                    nullable: true
              example:
                pages:
                  - url: https://admin.booking.com/
                    start_ms: 0
                    end_ms: 13797
                available_until: '2026-11-19T10:05:00.000Z'
        '404':
          description: No such session, or it has no replay
      security:
        - bearerAuth: []
        - sessionToken: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organization API key, generated in studio.sidenet.ai. Backend only —
        never in a browser.
    sessionToken:
      type: http
      scheme: bearer
      description: >-
        Session token (`snat_…`) minted by POST /v1/token. Carries the
        organization and the end user; safe in a browser.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.