Sorry to dig out such an old thread, however to me this API answer is actually more like an bug than anything else. The tip with https://developer.cisco.com/meraki/api-v1/#!get-organization-inventory-devices works probably 99% out of the time, but my costumer is using MX105s in active/passive mode. I have 2 devices associated to the same network, but those are only consuming one license. Looking at the return values it seems that entries with the mode 'addDevices' seems to have the correct count values but entries with the mode 'renew' only return the license limit values and not the current device count which I would actually expect. This applies to https://developer.cisco.com/meraki/api-v1/get-organization-licenses-overview/ as well as to https://developer.cisco.com/meraki/api-v1/get-organization-licensing-coterm-licenses/ I mean the information is apparently available, otherwise I wouldn't be able to see the current device count in the license info dashboard page for my organization.
... View more