Skip to main content

User reports

Moderne offers the following reports:

  • Usage by organization - This includes every recipe run and associated commit by every user for a specific organization.

Usage by organization

The generated report includes every recipe run and associated commit for a given organization. This report includes the recipe name, time saved, user that ran it, recipe, and various statistics of the recipe run.

If any commit was created in association with the recipe run, details of the commit are included (e.g., the type of commit or the status of the commit job).

The usage report is accessible from https://<TENANT>.moderne.io/devcenter/{organization}.

This report can be downloaded by clicking on the download button in the top-right corner of a DevCenter:

Downloading the usage report

Accessing via the API

All of these reports can be accessed via the API, as well. Below is an example of how to prepare and download the usage report:

mutation firstDownloadUsageReport($until: DateTime!, $since:DateTime!, $organizationId: String) {
downloadUsageReport(until: $until, since: $since , organizationId:$organizationId) {
id
}
}
query secondDownloadUsageReport($id: ID!) {
usageReportDownload(id: $id) {
id
state
stateMessage
url
fileSize
}
}

The output of secondDownloadUsageReport will include a URL which you can then use to download the report.