API endpoint to retrieve current license utilization by module
C
Cute Silverfish
We need the ability to programmatically retrieve our current Harness license utilization across modules (CD, CI, CF, etc.) via API, so we can automate reporting, alerting on overage, and integrate usage data into internal dashboards.
The Subscriptions UI at Account Settings > Subscriptions surfaces utilization data (active services, service instances, developer counts, etc.), but there is no documented and functional API equivalent to extract this data programmatically.
The API reference lists a GET /ng/api/usage/{module} endpoint under the Usage tag, and several CD-specific variants (/CD/servicesLicense, /CD/serviceInstancesLicense), but calling these returns a 500 server error, making them unusable.
Desired behavior:
A stable, documented API endpoint that returns current license utilization per module, matching the data visible in the Subscriptions UI. At minimum, this should include: active service count, service instance count (CD), active developer count (CI/FF), and the corresponding licensed limits.
Use case:
Automated license governance — proactively track utilization trends, alert before hitting license limits, and feed data into internal cost/capacity dashboards without requiring manual UI checks.
Log In