Leveraging the Background Jobs feature in custom UI

I am developing a solution to display Background Job information in a custom user interface for users who do not have administrative privileges. In my service implementation, I am utilizing the following service call from the Background Jobs feature

var apiResponse = Gateway.Send(new AdminQueryCompletedJobs());

It appears that this feature requires the user to have admin privileges, which may prevent it from working for non-admin users. Could you please advise on a more suitable approach to retrieve a list of completed jobs, including any associated responses data, for non-admin users?

Thank you for your assistance.

You’ll want to access the IBackgroundJobs directly for access to most of the BackgroundJobs features.

Here’s the impl of AdminQueryCompletedJobs which uses it:

Thanks. Works perfectly.