API for engaged users

Hi,
I would like to make a report with the software R about our instance of discourse. For this I use the API with a read-only key. I am able to query {baseurl}admin/users/list/active.json for example. But I cant find a link where I can get the information of “daily engaged users” or “page views”. Can anybody point me in the right direction?
Thanks

Hi @Jakob_Schumacher - welcome to Discourse Meta :wave: :slight_smile:

If you are logged in as admin, you can basically add .json to any page - for example:

https://example-forum.org/admin/reports/daily_engaged_users.json

https://example-forum.org/admin/reports/page_view_total_reqs.json?end_date=2024-05-22&start_date=2024-04-22

More links to info on using Discourse REST API

3 Likes

That works perfectly! Thanks a lot

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.