X
1321

How to investigate Next-Gen License Server client usage with Rest API calls

The Next-Gen License Server can be monitored via our new License Server Dashboard: http://localhost:4080/dashboard/
(or you can also use the syntax:   http://license-server-hostname-or-IP:4080/dashboard/  or   https://license-server-hostname-or-IP:40443/dashboard/)

You will find all the license information, such as currently available and in-use licenses, username and machine information and more on this platform. An example Dashboard is shown below:


However, in case of you need to extract the information programmatically to implement it into your own tool, you might want to use the command line RestAPI calls to extract this information instead. The corresponding commands are now slightly different as before and are based on the keywords used in the Next-Gen Liicense Server's Dashboard.

If you want to query this information from command line, use "curl" to extract the information, e.g.:


- Query the currently active and used license features:
curl localhost:4080/api/1.0/features


- Query the currently consumed license features (feature, version, username, hostname, platform, acquired):
curl localhost:4080/api/1.0/checkouts


- Query the users who are currently using licenses:
curl localhost:4080/api/1.0/users

 

- Query the machines/hostnames who are currently using licenses:  
curl localhost:4080/api/1.0/hostnames

 

- Query the client platforms who are currently using licenses:    
curl localhost:4080/api/1.0/platforms

 

- Query alerts/events of the license server:
curl localhost:4080/api/1.0/events  

 

- Query the license server logs:
curl localhost:4080/api/1.0/logs


To check the RestAPIs in a web browser, just use the URLs directly (i.e. localhost:4080/api/1.0/events)


 



 

---------------------------

created by MT on 12/05/2023

reviewed by BC-US on 3/24/2025