Get system usage info with license entitlements for a specified date range. Return history for current and previous year if no date query parameters are provided.

GET {{baseUrl}}/api/system/stats?start_day=<date>&end_day=<date>&resolution=day&entity=apis

Request Params

KeyDatatypeRequiredDescription
start_daystringstart date
end_daystringend date
resolutionstringresolve daily
entitystringThe entity for which stats should be retrieved.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;code&quot;:&quot;\u003cinteger\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;stats&quot;:{&quot;apis&quot;:[{&quot;date&quot;:&quot;\u003cstring\u003e&quot;,&quot;max_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;max_active_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;min_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;min_active_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;avg_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;avg_active_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;license_entitlement&quot;:&quot;\u003cinteger\u003e&quot;,&quot;license_entitlement_active&quot;:&quot;\u003cinteger\u003e&quot;},{&quot;date&quot;:&quot;\u003cstring\u003e&quot;,&quot;max_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;max_active_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;min_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;min_active_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;avg_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;avg_active_usage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;license_entitlement&quot;:&quot;\u003cinteger\u003e&quot;,&quot;license_entitlement_active&quot;:&quot;\u003cinteger\u003e&quot;}]}}