Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.


For more information on products and upcoming events around #dominoforever, please visit: HCL Domino Page


Status Needs Review
Workspace Leap
Created by Guest
Created on Jun 15, 2026

[Domino Leap REST API] Add an option to retrieve the exact total record count in "List Records" and update the Swagger definition

Background and Issues

In the Domino Leap Data access REST API (List Records), the recordCount property always returns -1 (uncalculated) to optimize system performance. However, this causes two main issues:

  1. When an exact total count is required (e.g., for pagination), a full data fetch and client-side calculation are forced, causing unnecessary network and processing load.

  2. The Swagger UI schema defines this property as "The number of records returned," which contradicts the actual behavior (-1) and causes confusion during implementation.

Proposed Improvements

  1. Addition of an option to calculate the exact record count
    While maintaining the default behavior (-1), it is requested to introduce a request parameter (e.g., &calculateCount=true) that explicitly triggers the calculation and returns the exact total record count (including filtered results) in the recordCount property.

  2. Correction of the Swagger schema definition
    To prevent further misunderstanding, the Swagger description should be updated to match the actual API specification.
    (Proposed fix: "The number of records returned. Returns -1 if the total count is uncalculated.")

  • Attach files