We've added new billing REST API endpoints for Actions and Packages.
You can monitor your GitHub Actions and GitHub Packages charges and usage for the current billing period for a user, organization, or enterprise.
Note: Beta APIs are subject to change based on developer feedback without advanced notice.
For questions, visit the GitHub API Development and Support Community