Directly contact our Support Team

How to create a Monthly License Usage report in GravityZone

This article explains how to create a Monthly License Usage report in the GravityZone console and by using APIs.

You can generate the Monthly License Usage report and the CSV file:

In GravityZone Control Center

To create a Monthly License Usage report:

  1. Log in to GravityZone Control Center.
  2. Go to Reports.
  3. Click Add in the action toolbar.
  4. Under Details, select Monthly License Usage and enter a specific report name, if needed.
  5. Under Settings, configure when the report to be generated, interval and mail delivery, according to your needs.
  6. Under Select Target, select the companies you are interested in.
  7. Click Generate.

To obtain the CSV file:

  1. Generate a Monthly License Usage report.
  2. Click Export at the lower left side of the report.
  3. Choose Export details in csv.
  4. Select to open or to save the file when prompted by the web browser.

By using GravityZone APIs

You can obtain the Monthly License Usage report and its CSV file by calling certain API methods:

  1. Make a request for createReport.
    1. Parameters:
      1. "type": 13 (Monthly License Usage report)
      2. "targetIds": [string] (your own company ID or other companies)
    2. Options:
      1. "reportingInterval": 4 (for the last month)
      2. "skipSummary": true. The report will contain only the details. To include the summary, choose false.
  2. The response will return a result containing a string.
  3. Make a request for getDownloadLinks using the string as reportId parameter.
  4. The response will contain the downloading link for the report.


Request createReport:

		"params": {
			"name": "reportName",
			"type": 13,
			"targetIds": [
			"options": {
				"reportingInterval": 4,
				"skipSummary": true
		"jsonrpc": "2.0",
		"method": "createReport",
		"id": "e249c22c-0ada-4772-a9f1-ee1cbb322588"

Response createReport:

		"id": "e249c22c-0ada-4772-a9f1-ee1cbb322588",
		"jsonrpc": "2.0",
		"result": "5aa246f4b1a43db6152b95af"


Request getDownloadLinks:

		"params": {
			"reportId": "5aa246f4b1a43db6152b95af"
		"jsonrpc": "2.0",
		"method": "getDownloadLinks",
		"id": "e249c22c-0ada-4772-a9f1-ee1cbb322588"


Response getDownloadLinks:

		"id": "e249c22c-0ada-4772-a9f1-ee1cbb322588",
		"jsonrpc": "2.0",
		"result": {
			"readyForDownload": true,
			"lastInstanceUrl": ""

For details regarding the API methods regarding the license usage in GravityZone Cloud, refer to the GravityZone API Documentation guide, specifically to these methods:

  • Companies – createCompany
  • Licensing – getLicenseInfo
  • Licensing – setMonthlySubscription
  • Licensing - getMonthlyUsage
  • Reports – createReport

To learn how to calculate the monthly license usage, refer to this article.

Can't find a solution for your problem? Open an email ticket and we will answer the question or concern in the shortest time possible.

Rate this article: