דוחות מאת Discourse

There is a section in the API docs for exporting reports, should be what you’re after?