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

# List session recordings

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Lists the app's session recordings: each visit the recorder captured.

Filters combine with AND. `q` matches part of the page URL, user email, user ID or SDK user ID. `country`, `browser`, `os`, `device_type` and `page_url` take one value or several, comma-separated. Recordings past retention, deleted ones and visits with no activity are left out.

`sort` orders by start time (`newest`), length (`longest`) or error count (`most_errors`). Pages are positions in that order, so a visit recorded while you page can shift a recording onto the next page.

Requires editor access to the app. This is limited to 300 requests per minute, shared with every operation that reads session recordings.



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/session-recordings
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - PersonalAccessTokenAuth: []
paths:
  /api/apps/{app_id}/session-recordings:
    get:
      summary: List session recordings
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Lists the app's session recordings: each visit the recorder captured.


        Filters combine with AND. `q` matches part of the page URL, user email,
        user ID or SDK user ID. `country`, `browser`, `os`, `device_type` and
        `page_url` take one value or several, comma-separated. Recordings past
        retention, deleted ones and visits with no activity are left out.


        `sort` orders by start time (`newest`), length (`longest`) or error
        count (`most_errors`). Pages are positions in that order, so a visit
        recorded while you page can shift a recording onto the next page.


        Requires editor access to the app. This is limited to 300 requests per
        minute, shared with every operation that reads session recordings.
      operationId: list_session_recordings_api_apps__app_id__session_recordings_get
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            maxLength: 64
            pattern: ^[a-zA-Z0-9._-]+$
            description: ID of the app.
            title: App Id
          description: ID of the app.
          example: 6820f3a4e7b91d003c45a1f2
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Recordings per page, 1 to 100.
            default: 20
            title: Limit
          description: Recordings per page, 1 to 100.
          example: 20
        - name: cursor
          in: query
          required: false
          schema:
            type: string
            maxLength: 8192
            description: >-
              `next_cursor` from the previous page. It carries the rest of the
              query, so send no filters with it; `limit` is ignored.
            title: Cursor
          description: >-
            `next_cursor` from the previous page. It carries the rest of the
            query, so send no filters with it; `limit` is ignored.
          example: gAAAAABn7vJ0q2kX
        - name: q
          in: query
          required: false
          schema:
            type: string
            maxLength: 256
            description: Part of the page URL, user email, user ID or SDK user ID.
            title: Q
          description: Part of the page URL, user email, user ID or SDK user ID.
          example: checkout
        - name: session_id
          in: query
          required: false
          schema:
            type: string
            maxLength: 100
            pattern: ^[a-zA-Z0-9._-]+$
            description: Only the recording with this ID.
            title: Session Id
          description: Only the recording with this ID.
          example: s_1732095012_k3j9x2
        - name: starred
          in: query
          required: false
          schema:
            type: boolean
            description: '`true` for starred recordings only.'
            title: Starred
          description: '`true` for starred recordings only.'
          example: true
        - name: has_error
          in: query
          required: false
          schema:
            type: boolean
            description: '`true` for recordings with at least one error.'
            title: Has Error
          description: '`true` for recordings with at least one error.'
          example: true
        - name: has_rage_click
          in: query
          required: false
          schema:
            type: boolean
            description: '`true` for recordings with at least one rage click.'
            title: Has Rage Click
          description: '`true` for recordings with at least one rage click.'
          example: true
        - name: has_dead_click
          in: query
          required: false
          schema:
            type: boolean
            description: '`true` for recordings with at least one dead click.'
            title: Has Dead Click
          description: '`true` for recordings with at least one dead click.'
          example: true
        - name: has_refresh
          in: query
          required: false
          schema:
            type: boolean
            description: '`true` for recordings with at least one page refresh.'
            title: Has Refresh
          description: '`true` for recordings with at least one page refresh.'
          example: true
        - name: has_crash
          in: query
          required: false
          schema:
            type: boolean
            description: '`true` for recordings where the app crashed.'
            title: Has Crash
          description: '`true` for recordings where the app crashed.'
          example: true
        - name: country
          in: query
          required: false
          schema:
            type: string
            maxLength: 64
            pattern: ^[A-Za-z,]+$
            description: ISO 3166-1 alpha-2 country codes, comma-separated.
            title: Country
          description: ISO 3166-1 alpha-2 country codes, comma-separated.
          example: US,DE
        - name: browser
          in: query
          required: false
          schema:
            type: string
            maxLength: 256
            pattern: ^[\w.\- /,]+$
            description: Browser names, comma-separated.
            title: Browser
          description: Browser names, comma-separated.
          example: Chrome,Safari
        - name: os
          in: query
          required: false
          schema:
            type: string
            maxLength: 256
            pattern: ^[\w.\- /,]+$
            description: Operating system names, comma-separated.
            title: Os
          description: Operating system names, comma-separated.
          example: macOS
        - name: device_type
          in: query
          required: false
          schema:
            type: string
            maxLength: 64
            pattern: ^[\w.\- /,]+$
            description: Device types, comma-separated.
            title: Device Type
          description: Device types, comma-separated.
          example: mobile
        - name: page_url
          in: query
          required: false
          schema:
            type: string
            maxLength: 2048
            pattern: ^[\w.\-/:,? =&%]+$
            description: Page URLs, each URL-encoded, comma-separated.
            title: Page Url
          description: Page URLs, each URL-encoded, comma-separated.
          example: https%3A%2F%2Fshop.example.com%2Fcheckout
        - name: min_duration_sec
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Shortest length, in seconds.
            title: Min Duration Sec
          description: Shortest length, in seconds.
          example: 30
        - name: max_duration_sec
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Longest length, in seconds.
            title: Max Duration Sec
          description: Longest length, in seconds.
          example: 600
        - name: event_name
          in: query
          required: false
          schema:
            type: string
            maxLength: 64
            pattern: ^[\w.\- /]+$
            description: Only recordings with this custom event.
            title: Event Name
          description: Only recordings with this custom event.
          example: checkout_started
        - name: started_after
          in: query
          required: false
          schema:
            type: string
            maxLength: 64
            description: Earliest start time, ISO 8601.
            title: Started After
          description: Earliest start time, ISO 8601.
          example: '2026-11-01T00:00:00Z'
        - name: started_before
          in: query
          required: false
          schema:
            type: string
            maxLength: 64
            description: Latest start time, ISO 8601.
            title: Started Before
          description: Latest start time, ISO 8601.
          example: '2026-11-20T23:59:59Z'
        - name: sort
          in: query
          required: false
          schema:
            enum:
              - newest
              - longest
              - most_errors
            type: string
            description: '`newest` (default), `longest` or `most_errors`.'
            title: Sort
          description: '`newest` (default), `longest` or `most_errors`.'
          example: most_errors
        - name: direction
          in: query
          required: false
          schema:
            enum:
              - asc
              - desc
            type: string
            description: '`desc` (default) or `asc`.'
            title: Direction
          description: '`desc` (default) or `asc`.'
          example: desc
        - name: X-Active-Branch-Id
          in: header
          required: false
          schema:
            type: string
            description: >-
              ID of the branch the editor shows. Used when `branch_id` is
              omitted, for users who work on protected-main branches.
            title: X-Active-Branch-Id
          description: >-
            ID of the branch the editor shows. Used when `branch_id` is omitted,
            for users who work on protected-main branches.
          example: 68f1a2b3c4d5e6f708192a3b
      responses:
        '200':
          description: One page of recordings.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionRecordingList'
              example:
                next_cursor: gAAAAABn7vJ0q2kX
                items:
                  - session_id: s_1732095012_k3j9x2
                    app_id: 6820f3a4e7b91d003c45a1f2
                    display_name: Checkout drop-off
                    starred: false
                    started_at: '2026-11-18T14:02:11+00:00'
                    last_event_at: '2026-11-18T14:06:47+00:00'
                    duration_seconds: 276
                    event_count: 1840
                    page_url: https://shop.example.com/checkout
                    user_agent: >-
                      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)
                      Safari/605.1.15
                    country_code: DE
                    has_error: true
                    error_count: 2
                    rage_click_count: 1
                    dead_click_count: 0
                    metadata: {}
                    click_count: 23
                    scroll_count: 41
                    input_count: 6
                    browser: Safari
                    os: macOS
                    device_type: desktop
                quota:
                  at_limit: false
        '400':
          description: >-
            `invalid_cursor`: the cursor is malformed, expired, from another
            app, or sent with other parameters.
          content:
            application/json:
              examples:
                invalid_cursor:
                  summary: invalid_cursor
                  value:
                    error:
                      code: invalid_cursor
                      message: This cursor is invalid or has expired.
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
        '401':
          description: '`unauthenticated`: missing or invalid credentials.'
          content:
            application/json:
              examples:
                unauthenticated:
                  summary: unauthenticated
                  value:
                    error:
                      code: unauthenticated
                      message: Not authenticated
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
        '404':
          description: >-
            `not_found`: no such app, you don't have editor access to the app,
            or it's past retention.
          content:
            application/json:
              examples:
                not_found:
                  summary: not_found
                  value:
                    error:
                      code: not_found
                      message: Recording not found.
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
        '422':
          description: >-
            `invalid_request`: a parameter or the body failed validation;
            `details.errors` lists why.
          content:
            application/json:
              examples:
                invalid_request:
                  summary: invalid_request
                  value:
                    error:
                      code: invalid_request
                      message: Invalid request
                      details:
                        errors: []
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
        '429':
          description: '`rate_limited`: more than 300 requests per minute.'
          content:
            application/json:
              examples:
                rate_limited:
                  summary: rate_limited
                  value:
                    error:
                      code: rate_limited
                      message: Rate limit exceeded
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
        '503':
          description: >-
            Database temporarily unavailable (`database_unavailable`): the data
            cluster did not answer in time. Retry after the `Retry-After`
            seconds.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
              examples:
                database_unavailable:
                  summary: database_unavailable
                  value:
                    error:
                      code: database_unavailable
                      message: Database temporarily unavailable, please retry
                      details: {}
      security:
        - PersonalAccessTokenAuth:
            - read_only
        - WorkspaceApiKeyAuth:
            - read_only
        - WorkspaceApiKeyBearerAuth:
            - read_only
components:
  schemas:
    SessionRecordingList:
      properties:
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
          description: Send as `cursor` for the next page; `null` on the last page.
          example: gAAAAABn7vJ0q2kX
        items:
          items:
            $ref: '#/components/schemas/SessionRecording'
          type: array
          title: Items
          description: One page of recordings, in the order `sort` and `direction` set.
        quota:
          anyOf:
            - $ref: '#/components/schemas/RecordingQuota'
            - type: 'null'
          description: >-
            The app's recording quota. `at_limit` is `true` while new visits
            aren't recorded.
      type: object
      required:
        - items
      title: SessionRecordingList
    StandardErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/StandardError'
          description: What went wrong.
      type: object
      required:
        - error
      title: StandardErrorEnvelope
      description: The error body returned in the standard envelope.
    SessionRecording:
      properties:
        session_id:
          type: string
          title: Session Id
          description: ID of the recording.
          example: s_1732095012_k3j9x2
        app_id:
          type: string
          title: App Id
          description: ID of the app.
          example: 6820f3a4e7b91d003c45a1f2
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
          description: The label someone gave the recording; `null` when it has none.
          example: Checkout drop-off
        starred:
          type: boolean
          title: Starred
          description: Whether the recording is starred.
          default: false
          example: false
        started_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Started At
          description: When the visit started, ISO 8601 UTC.
          example: '2026-11-18T14:02:11+00:00'
        last_event_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Event At
          description: When the last event was recorded, ISO 8601 UTC.
          example: '2026-11-18T14:06:47+00:00'
        duration_seconds:
          type: number
          title: Duration Seconds
          description: Length of the visit, in seconds.
          default: 0
          example: 276
        event_count:
          type: integer
          title: Event Count
          description: Number of recorded events.
          default: 0
          example: 1840
        page_url:
          type: string
          title: Page Url
          description: The page the visit started on.
          default: ''
          x-untrusted-text: true
        user_agent:
          anyOf:
            - type: string
              x-untrusted-text: true
            - type: 'null'
          title: User Agent
          description: The visitor's browser user agent.
        country_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Country Code
          description: ISO 3166-1 alpha-2 country code.
          example: DE
        user_email:
          anyOf:
            - type: string
            - type: 'null'
          title: User Email
          description: >-
            The signed-in user's email; `null` for a visitor who wasn't signed
            in.
        user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: User Id
          description: The signed-in user's ID.
        sdk_user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Sdk User Id
          description: The ID the app set with the recorder's `setUserID`.
        has_error:
          type: boolean
          title: Has Error
          description: Whether the visit hit at least one error.
          default: false
          example: true
        error_count:
          type: integer
          title: Error Count
          description: Number of errors.
          default: 0
          example: 2
        rage_click_count:
          type: integer
          title: Rage Click Count
          description: 'Number of rage clicks: rapid repeated clicks on one spot.'
          default: 0
          example: 1
        dead_click_count:
          type: integer
          title: Dead Click Count
          description: Number of clicks that changed nothing on the page.
          default: 0
          example: 0
        click_count:
          type: integer
          title: Click Count
          description: Number of clicks.
          default: 0
          example: 23
        scroll_count:
          type: integer
          title: Scroll Count
          description: Number of scrolls.
          default: 0
          example: 41
        input_count:
          type: integer
          title: Input Count
          description: Number of inputs, such as typing.
          default: 0
          example: 6
        browser:
          anyOf:
            - type: string
            - type: 'null'
          title: Browser
          description: Browser name.
          example: Safari
        os:
          anyOf:
            - type: string
            - type: 'null'
          title: Os
          description: Operating system name.
          example: macOS
        device_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Device Type
          description: '`desktop`, `mobile` or `tablet`.'
          example: desktop
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
          description: >-
            Custom events and properties the app recorded with the recorder's
            SDK.
          x-untrusted-text: true
      type: object
      required:
        - session_id
        - app_id
      title: SessionRecording
      description: One recorded visit to the app.
    RecordingQuota:
      properties:
        at_limit:
          type: boolean
          title: At Limit
          description: '`true` while the quota is used up.'
          example: false
        resume_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Resume At
          description: >-
            When the quota resets, ISO 8601 UTC; set only while `at_limit` is
            `true`.
      type: object
      required:
        - at_limit
      title: RecordingQuota
      description: A recording or AI summary quota.
    StandardError:
      properties:
        code:
          type: string
          title: Code
          description: >-
            Stable machine-readable cause of the failure. Match on this, not on
            `message`.
          example: not_found
        message:
          type: string
          title: Message
          description: Human-readable explanation. It isn't a stable contract.
          example: App not found
        details:
          additionalProperties: true
          type: object
          title: Details
          description: >-
            Structured context for the failure, or an empty object when there's
            none.
          example: {}
      type: object
      required:
        - code
        - message
      title: StandardError
  securitySchemes:
    PersonalAccessTokenAuth:
      type: http
      scheme: bearer
      description: >-
        Personal access token, sent as `Authorization: Bearer <token>`. Each
        operation lists the permission it needs: `read_only` or `full_access`. A
        full-access token can call every operation. A read-only token can call
        only the operations that list `read_only`; anything else returns 403
        `read_only_credential_route_not_allowed`.
    WorkspaceApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: >-
        Workspace API key, sent as `api_key: <key>`. Each operation that accepts
        one lists what the key needs: a permission, `read_only` or
        `full_access`, like a personal access token, or a scope. A key without
        the scope gets 403 `workspace_api_key_scope_required`.
    WorkspaceApiKeyBearerAuth:
      type: http
      scheme: bearer
      description: >-
        Workspace API key, sent as `Authorization: Bearer <key>`. Accepted
        wherever `api_key` is, with the same permission.

````

## Related topics

- [Recording and replaying user sessions](https://docs.base44.com/documentation/performance-and-seo/session-recordings.md)
- [List session recording filter values](https://docs.base44.com/api-reference/list-session-recording-filter-values.md)
- [List saved recording searches](https://docs.base44.com/api-reference/list-saved-recording-searches.md)
- [Update session recording](https://docs.base44.com/api-reference/update-session-recording.md)
- [Delete session recording](https://docs.base44.com/api-reference/delete-session-recording.md)


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