Is there an API in Forge to fetch JSM customers filtered by customer details (with sorting & pagination)

Hi Atlassian Community :waving_hand:,

I’m working on a Forge app for Jira Service Management (JSM) and I’m trying to retrieve customers sorted and filtered by customer details (not by email or accountId). I want to filter space customers by customer details (e.g. profile fields, custom attributes, status, etc.) and sort.

Is there any API available that provides similar customer details with filtering and sorting support and that can be used in Forge? similar to “/jsm/csm/api/v1/customer/details/bulk” but with filters + sortings?