v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
billing

Get GitHub Advanced Security active committers for an organization

Gets the GitHub Advanced Security active committers for an organization per repository.

Each distinct user login across all repositories is counted as a single Advanced Security seat, so the total_advanced_security_committers is not the sum of advanced_security_committers for each repository.

If this organization defers to an enterprise for billing, the total_advanced_security_committers returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.

The total number of repositories with committer information is tracked by the total_count field.

get/orgs/{org}/settings/billing/advanced-security

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Query parameters

advanced_security_product'code_security' | 'secret_protection'

The security product to get GitHub Advanced Security active committers for.

For standalone Code Scanning or Secret Protection products, this parameter is required to specify which product you want committer information for. For other plans this parameter cannot be used.

per_pageinteger

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

pageinteger

The page number of the results to fetch. For more information, see "Using pagination in the REST API."

Response

Success

total_advanced_security_committersinteger
total_countinteger
maximum_advanced_security_committersinteger

The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security

purchased_advanced_security_committersinteger

The total number of GitHub Advanced Security licences purchased

Example response

{
  "total_advanced_security_committers": 25,
  "total_count": 2,
  "maximum_advanced_security_committers": 4,
  "purchased_advanced_security_committers": 4,
  "repositories": [
    {
      "name": "octocat/Hello-World",
      "advanced_security_committers": 25,
      "advanced_security_committers_breakdown": [
        {
          "last_pushed_date": "2021-11-03",
          "last_pushed_email": "monalisa@github.com"
        }
      ]
    }
  ]
}