You can run queries using the web URL application programming interface (API) instead of using the ePO - On-prem user interface.
Using the web URL API or the ePO - On-prem user interface, you can:
Run the URL and display the output as a list of text
Manipulate the text output using other scripts and tools
Change the query
Filter the output using Boolean operators that aren't available in the user interface
For example, you can run the New Agents Added to ePO per Week query in the ePO - On-prem user interface and get this output.
To run this query, select Menu → Reporting → Queries & reports, select New Agents Added to ePO per Week query, then click Actions → Run.
Or you can paste this web URL query in your browser address bar.
https://<localHost>:8443/remote/core.executeQuery?queryId=34&:output=terse
OK: count Completion Time (Week) ----- ---------------------- 3 4/27/19 - 5/3/19 2 5/4/19 - 5/10/19 6 5/11/19 - 5/17/19 1 5/18/19 - 5/24/19