Skip to main content

actions_billing_usage

Overview

Nameactions_billing_usage
TypeResource
Idgithub.billing.actions_billing_usage

Fields

NameDatatypeDescription
included_minutesintegerThe amount of free GitHub Actions minutes available.
minutes_used_breakdownobject
total_minutes_usedintegerThe sum of the free and paid GitHub Actions minutes used.
total_paid_minutes_usedintegerThe total paid GitHub Actions minutes used.

Methods

NameAccessible byRequired ParamsDescription
get_github_actions_billing_orgSELECTorgGets the summary of the free and paid GitHub Actions minutes used.

Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "Managing billing for GitHub Actions".

Access tokens must have the repo or admin:org scope.
get_github_actions_billing_userSELECTusernameGets the summary of the free and paid GitHub Actions minutes used.

Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "Managing billing for GitHub Actions".

Access tokens must have the user scope.