nodeMachines on points with hasValidTrackedCapacity. For a percentage, divide the count by the maxNoOfMachines on the same point and multiply by 100.
Start with the opening baseline when available and carry a tracked count forward until the next recorded change. Usage is unknown before tracking begins and after it stops until tracking resumes. The peak fields in summary describe floating usage.
This method requires Usage Analytics permission.
It returns chronological history point objects.
Parameters
This method is accessed by https://api.cryptolens.io/api/ai/GetFloatingCapacityHistoryResults
Example results
This response follows license 12345 from the Get Floating Capacity Licenses example. A baseline is carried to midnight, usage exceeds the limit at 12:00 UTC, and a later state records lower usage. IDs and values are illustrative.Remarks
- This method supports GET with query parameters and POST with a form or JSON body. Send the access token in the
tokenheader, query string, or form field. For JSON requests, useContent-Type: application/jsonand send the token separately; it is not read from the JSON body. - JSON responses use camel-case field names. All timestamps are Unix seconds in UTC; date strings use
yyyy-MM-dd. - An out-of-range page returns an empty list. Total counts all rows in the authorized result before pagination; Returned counts only this page.
- Product and key locks must permit the requested license. The license must still exist. If both KeyId and Key are supplied, they must identify the same license in ProductId.
- A known state from before Start is carried to the range start with IsBaseline=true. A recorded change at that exact time replaces it. No state is invented when a baseline is unavailable.
- Tracking gaps and nonpositive capacity limits remain visible. HasValidTrackedCapacity is true only for tracked states with a positive limit. Historical limits remain attached to their recorded states.
- ChangeKind identifies what changed on a recorded history point. In the example, 2 means the floating-machine count changed. Baselines and appended current observations have a null change kind.
- When End is today, the available current state is appended at GeneratedUtc. SourceUpdatedUtc preserves its actual source update time. NextFloatingExpiryUtc gives the earliest active lease expiry known at that update, when available.
- The summary covers the entire date range before pagination. PeakConfiguredMaximum is the limit at the highest recorded floating-machine count; the latest timestamp wins ties. PeakCapacityExcess is calculated independently and may occur at another point.
- Use Summary.HasTrackedCapacityData to determine whether the full date range contains usable tracked capacity. An empty Points list can also mean the requested page is beyond the results, even when this flag is true. Check Total and Returned, and read all pages to reconstruct the series.
- History is asynchronously maintained state, not a log of every instantaneous peak. GeneratedUtc does not freeze results across requests.
Example request
ReplaceYOUR_USAGE_ANALYTICS_TOKEN and the sample identifiers with your own values. This POST example sends form-encoded parameters.
Errors
Errors return Result=1 with an explanation in Message. Common errors include:
View the original Web API reference