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

# Get session replay events

> Returns chunks of a session replay together with their raw rrweb events, in a single request. Use the offset and limit parameters to page through a long recording.



## OpenAPI

````yaml /openapi/server.json get /session-replays/{session_replay_id}/events
openapi: 3.1.0
info:
  title: Hexclave REST API
  version: 1.0.0
  description: >-
    The Hexclave REST API. All request headers are documented as canonical
    `X-Hexclave-*`; the equivalent `X-Stack-*` aliases are accepted on every
    endpoint for backwards compatibility. Response headers
    `X-Hexclave-actual-status`, `X-Hexclave-known-error`, and
    `X-Hexclave-request-id` are emitted alongside their legacy `X-Stack-*`
    equivalents.
servers:
  - url: https://api.hexclave.com/api/v1
    description: Hexclave REST API
security: []
paths:
  /session-replays/{session_replay_id}/events:
    get:
      tags:
        - Session Replays
      summary: Get session replay events
      description: >-
        Returns chunks of a session replay together with their raw rrweb events,
        in a single request. Use the offset and limit parameters to page through
        a long recording.
      parameters:
        - name: offset
          in: query
          schema:
            type: string
          required: false
        - name: limit
          in: query
          schema:
            type: string
          required: false
        - name: session_replay_id
          in: path
          schema:
            type: string
          required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  chunks:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        batch_id:
                          type: string
                        session_replay_segment_id:
                          type:
                            - string
                            - 'null'
                          enum:
                            - null
                        event_count:
                          type: number
                        byte_length:
                          type: number
                        first_event_at_millis:
                          type: number
                        last_event_at_millis:
                          type: number
                        created_at_millis:
                          type: number
                      required:
                        - id
                        - batch_id
                        - event_count
                        - byte_length
                        - first_event_at_millis
                        - last_event_at_millis
                        - created_at_millis
                  chunk_events:
                    type: array
                    items:
                      type: object
                      properties:
                        chunk_id:
                          type: string
                        events:
                          type: array
                          items:
                            type: object
                      required:
                        - chunk_id
                        - events
                required:
                  - chunks
                  - chunk_events

````