Compute used this period, and every plan cap with its current count
/usage- Base URL
https://api.chartnaut.com/v1- Auth
- Bearer key
- Operation ID
getUsage
Responses#
200OKapplication/json
Usage.
planstringThe account's plan: free or pro. starter and ultra are retired plans, reported only for accounts still on one.
periodobjectShow fields
startstring (date-time)endstring (date-time)compute_unitsobject1 unit = 1,000 bars evaluated, dependencies included. Pricing is not set; included is null.
Show fields
usednumberincludednumberNullablecapsmap of objectEach plan cap with its current count. limit null means unlimited. Limits already include the account's add-ons (Pro): events_250k, studies_100, definitions_25 raise their cap, compute_concurrency raises concurrent_runs.
Show value fields
usedintegerlimitintegerNullablehistory_startstring (date-time)memory_barsintegeraddonsarray of objectThe add-ons the account holds on Pro, with their quantities (empty on Free). caps and api_limits already count them.
Show item fields
keystringquantityintegerapi_limitsobjectPer account, shared by all of its keys, set by plan (each compute_concurrency add-on adds 1 to concurrent_heavy). Past requests_per_minute (429 rate_limited) or concurrent_heavy (validate, save, collect, run start; 429 busy). Past concurrent_waits a wait poll answers at once instead of holding.
Show fields
requests_per_minuteintegerconcurrent_heavyintegerconcurrent_waitsintegerErrorAny other statusapplication/json
Error.
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring