get https://api.jit.io/metrics/billing
Fetch detailed statistics on SCM billable minutes consumed by Jit scanners.
This endpoint allows you to access the billable minutes used by various scanning jobs. You can group the results by different categories such as job names, developers, or assets.
Important: Data availability starts from August 18, 2024, and is available up to 1 year in the past, even if the provided start date is more than a year ago.
-
For
Github
- the billable minutes are always rounded up to the nearest minute (e.g. 20 seconds scan will be considered as 1 minute). -
For
Gitlab
- the billable minutes are calculated based on the actual time spent on the scan.
Requires the following permission:
jit.generalMetrics.read