API access to billing usage reports in public preview
Source: GitHub Changelog
Enterprise administrators can now request and download billing usage reports in .csv format via a new REST API. With this new capability, the same billing reports that are available in the UI can now be programmatically created.
For details on how to use the new endpoints and to provide feedback, refer to the GitHub Community discussion.