Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Report builder API

From MoodleDocs

Report Builder API overview

System Reports

Introduction

Column

Column types

Creating columns

Filter

Filter types

Creating filters

Entity

Create an entity

Examples

User entity and Course entity

Actions

System reports

Use an entity