licensing 0.55. Reviewed source revision.
get_daily_aggregates
Read daily usage totals by product.Parameters
Result
Returns(items, ''), where items is the API’s aggregates list. Each item is a dictionary using the API’s camelCase field names.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.get_daily_country_aggregates
Read daily usage totals by product and country.Parameters
Result
Returns(items, ''), where items is the API’s aggregates list. Each item is a dictionary using the API’s camelCase field names.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.get_key_usage_summaries
Read usage summaries for license keys.Parameters
Result
Returns(items, ''), where items is the API’s summaries list. Each item is a dictionary using the API’s camelCase field names.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.get_key_devices
Read device usage associated with license keys.Parameters
Result
Returns(items, ''), where items is the API’s devices list. Each item is a dictionary using the API’s camelCase field names.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.get_license_activity_buckets
Read license activity grouped into time buckets.Parameters
Result
Returns(items, ''), where items is the API’s buckets list. Each item is a dictionary using the API’s camelCase field names.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.get_floating_capacity
Review node-locked machine counts and excess or unused floating capacity by product and period.Parameters
Result
Returns(report, ''), where report is the complete API response dictionary with camelCase fields. It includes periods, summary, page, limit, total, returned, and generatedUtc. The summary covers the full authorized date range before pagination. Check a period’s hasData before interpreting zero values as observed usage.
For node-locked usage, read the period’s nodeLockedSnapshot. It includes nodeMachines, totalMachineLimit, and trackedLicenseCount. A null snapshot means there was no tracked observation for that interval.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks Usage Analytics permission and product access; key-locked access tokens cannot use this overview. Floating reports read asynchronously maintained state and do not record every instantaneous peak. This method does not verify a signed license response. Web API reference.get_floating_capacity_licenses
Find licenses contributing to excess or unused floating capacity in a 30-minute UTC interval.Parameters
Result
Returns(report, ''), where report is the complete API response dictionary with camelCase fields. Each license includes nodeMachines, floatingMachines, and maxNoOfMachines. A current observation can also include nextFloatingExpiryUtc in Unix seconds. The response includes hasData, page, limit, total, returned, and generatedUtc. Check hasData and total when the page is empty.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks Usage Analytics permission and product/key access. Returning customer names, company names, and email addresses additionally requires Get Customers permission. This method does not verify a signed license response. Web API reference.get_floating_capacity_history
Read one license’s recorded floating usage and historical capacity limits.Parameters
Result
Returns(report, ''), where report is the complete API response dictionary with camelCase fields. It includes points, summary, page, limit, total, returned, and generatedUtc. Points retain tracking gaps, historical limits, and any available baseline. Check report['summary']['hasTrackedCapacityData'] for usable tracked capacity across the full date range, even when the requested page is empty.
On a recorded change, changeKind identifies which counts or limit changed. For example, 6 combines the floating count (2) and configured limit (4). A carried baseline or appended current observation has a null changeKind.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks Usage Analytics permission and product/key access. Recorded states do not represent every instantaneous peak.generatedUtc does not freeze results across pages. This method does not verify a signed license response.
Web API reference.
get_expiring_licenses
List upcoming license expirations with product and customer filters.Parameters
Result
Returns(report, ''), where report is the complete API response dictionary with camelCase fields. It includes licenses, summary, expiresBeforeUtc, page, limit, total, returned, and generatedUtc. The summary contains 7/14/30-day expiry counts independent of window and pagination, while respecting the other filters.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks Usage Analytics permission and product/key access. Returning customer names, company names, and email addresses additionally requires Get Customers permission. This method does not verify a signed license response. Web API reference.get_web_api_log
Retrieve Web API log records matching the supplied filters.Parameters
Result
Returns(logs, ''), where logs is a list of API dictionaries.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The access token needs Get Web API Log permission. Product Lock and Key Lock also apply. A negative Key Lock requires bothproduct_id and the license key string in key.
Web API reference.
get_events
Retrieve registered application events.Parameters
Result
Returns(events, ''), where events is a list of API dictionaries.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.register_event
Record an application event, such as a feature being used.Parameters
Result
Returns(True, message) on success.
Returns (False, message) for API rejection and (None, message) for a handled request failure. Malformed response data can raise an exception.