Skip to main content
This method identifies products and periods with excess or unused floating-license capacity using the same tracked state as the Devolens floating capacity dashboard. For node-locked utilization over time, read nodeLockedSnapshot for each product and period. It gives the observed machine count, the number of tracked licenses contributing to it, and their combined machine limit. This method requires Usage Analytics permission. It returns capacity period objects.

Parameters

This method is accessed by https://api.cryptolens.io/api/ai/GetFloatingCapacity

Results

Example results

On 1 October 2026 this example product had its greatest floating excess at 12:00 UTC. At the close of the day it had 3 observed node-locked machines across 1 tracked license, using 30% of its recorded limit of 10.

Remarks

  • This method supports GET with query parameters and POST with a form or JSON body. Send the access token in the token header, query string, or form field. For JSON requests, use Content-Type: application/json and 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.
  • The access token must allow the requested product. Key-locked tokens cannot access this product-level overview.
  • In exceeded mode, CapacityValue sums only positive differences between floating machines and configured maximums. In below mode, it sums only negative differences. Underuse never cancels overuse.
  • Daily floating values and their license counts use the worst floating interval. Ties select the earliest interval. SourceUpdatedUtc is the latest contributing source update for the day.
  • The daily NodeLockedSnapshot uses the interval starting at 23:30 UTC on a completed day, or the current interval today. It is independent of CapacityMode and HasFinding. If that interval has no tracked licenses with a positive limit, the snapshot is null even if there was data earlier in the day.
  • Report the node-locked count with its UTC interval and tracked license count. For a percentage, use 100 * nodeMachines / totalMachineLimit from the same snapshot. A machine observed on two licenses contributes once to each. Compare snapshots individually because the licenses being tracked can change.
  • Rows include periods without findings and periods without data. When HasData is false, numeric zeros do not mean observed zero usage, and WorstIntervalStartUtc is null. Future intervals within today are omitted.
  • The summary contains MonitoredProductCount, MatchingProductCount, and distinct MatchingLicenseCount across the full authorized date range before pagination.
  • Floating reports read asynchronously maintained state. Historical intervals use the latest state before the interval end; the current interval uses current tracked state. Values do not represent every instantaneous peak.
  • SourceUpdatedUtc is a source-record timestamp, not a guarantee that every license is current. GeneratedUtc is the request time; separate requests may observe background updates.

Drill down

  1. Call GetFloatingCapacity and find a period with HasFinding=true.
  2. Pass its ProductId and WorstIntervalStartUtc to Get Floating Capacity Licenses as ProductId and IntervalStartUtc, keeping the same CapacityMode. In the example, use product 3349 and interval 1790856000.
  3. Pass a returned ProductId and KeyId to Get Floating Capacity History with the desired Start and End. The linked examples follow license 12345 in product 3349.
To find licenses at or above a percentage for a known product and interval, call Get Floating Capacity Licenses directly with MinUtilizationPercent and omit CapacityMode. A license using 9 of 10 seats qualifies for a 90% minimum even when the overview has no excess-capacity finding.

Example request

Replace YOUR_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