{"meta":{"title":"Gathering insights on your spending","intro":"Get insights into the usage of your enterprise members.","product":"Billing and payments","breadcrumbs":[{"href":"/en/enterprise-cloud@latest/billing","title":"Billing and payments"},{"href":"/en/enterprise-cloud@latest/billing/tutorials","title":"Tutorials"},{"href":"/en/enterprise-cloud@latest/billing/tutorials/gather-insights","title":"Gather insights"}],"documentType":"article"},"body":"# Gathering insights on your spending\n\nGet insights into the usage of your  members.\n\nThe billing platform provides you with the tools to:\n\n* **Get insights** into usage trends to understand how your resources are being used.\n* **Search and filter usage** by repository, product, or SKU, and group data accordingly.\n* **Generate reports** on past usage for various time periods, including the current hour, today, this month, last month, this year, last year, or a custom date range.\n\n## Viewing usage for your enterprise\n\nEnterprise **owners** and **billing managers** can view the usage of your enterprise members and download the usage data for further analysis.\n\n1. Navigate to your enterprise. For example, from the [Enterprises](https://github.com/settings/enterprises?ref_product=ghec\\&ref_type=engagement\\&ref_style=text) page on GitHub.com.\n\n2. At the top of the page, click **<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-credit-card\" aria-label=\"credit-card\" role=\"img\"><path d=\"M10.75 9a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5h-1.5Z\"></path><path d=\"M0 3.75C0 2.784.784 2 1.75 2h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 14H1.75A1.75 1.75 0 0 1 0 12.25ZM14.5 6.5h-13v5.75c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25Zm0-2.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25V5h13Z\"></path></svg> Billing and licensing**.\n\n3. Click **Usage**, then click **Metered usage** or **AI usage**.\n\n4. To search or filter the graph, click the search bar. Then click the filter you want to use.\n\n5. To further filter the graph, use the dropdown menus.\n\n   * To see the usage by group, select **Group**, then click a group.\n   * To filter by time, select **Time Frame**, then click a time period.\n   * Optionally, to view the monthly budget and actual usage per day, select **Group: None** and **Time Frame: Current Month**.\n\n   Below the graph, you can see a more granular overview of the usage. Click the arrow next to a specific date to see a nested table with usage per SKU, units, price/unit, and actual usage.\n\n   > \\[!NOTE] The usage graph is configured to represent the start of the month to the end of the month, not your specific billing period.\n\n6. To request a CSV usage report, select **<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-download\" aria-label=\"download\" role=\"img\"><path d=\"M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z\"></path><path d=\"M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z\"></path></svg> Get usage report** in the upper-right corner of the page.\n\n> \\[!NOTE] Data for the detailed usage report is available only through the GitHub web interface and cannot be obtained via the REST API `/usage` endpoint. The REST API only provides access to summarized billing information.\n\n## Viewing license usage\n\nYou can view the license usage of your enterprise members and download the usage data for further analysis.\n\nThe following license types are available:\n\n* User\n* GitHub Secret Protection and GitHub Code Security\n* GitHub Enterprise\n\nYou can also view your active GitHub Enterprise instances and users.\n\n1. Navigate to your enterprise. For example, from the [Enterprises](https://github.com/settings/enterprises?ref_product=ghec\\&ref_type=engagement\\&ref_style=text) page on GitHub.com.\n\n2. At the top of the page, click **<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-credit-card\" aria-label=\"credit-card\" role=\"img\"><path d=\"M10.75 9a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5h-1.5Z\"></path><path d=\"M0 3.75C0 2.784.784 2 1.75 2h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 14H1.75A1.75 1.75 0 0 1 0 12.25ZM14.5 6.5h-13v5.75c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25Zm0-2.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25V5h13Z\"></path></svg> Billing and licensing**.\n\n3. From the list of \"Billing & licensing\" pages, click **Licensing**.\n\n4. To download a CSV report of the license usage, click <svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-kebab-horizontal\" aria-label=\"Licensing dropdown\" role=\"img\"><path d=\"M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"></path></svg> to the right of the usage you want to download, then click **<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-download\" aria-label=\"download\" role=\"img\"><path d=\"M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z\"></path><path d=\"M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z\"></path></svg> CSV report**.\n\n## Further reading\n\n* [REST API endpoints for billing](/en/enterprise-cloud@latest/rest/billing/billing)\n* [Managing user licenses for an organization or enterprise](/en/enterprise-cloud@latest/billing/how-tos/manage-plan-and-licenses/manage-user-licenses)"}