How to get all the License details from orchestrator using orchestrator API. Required fields are License name, License Last used, Assigned to whom, Type Attended or unattended and admin of the license from admin license section using orchestrator api

Need to extract data using orchestrator API from admin/license/user and robots.
All the fields given above need to be extrated.
Please provide the solution.

Hi,

The available options through API are:

  • LicensesNamedUser
  • LicensesRuntime

You could give them a try via swagger

https://YourUiPathServer/YourTenant/orchestrator_/swagger/index.htm

The image shows API endpoint details for "LicensesNamedUser" and "LicensesRuntime" with GET and POST methods, respectively. (Captioned by AI)

Also, here’s a reference article for Orchestrator API implementation in case you need it

Orchestrator - Building API Requests (uipath.com)

Tried this but I am not able to the last use of license from this


Want data from here as shown in image user data and robots data
Everything what ever present here under group license and user license both data need to be extrated.

Alright, so I believe you’re looking for the stats. I also noticed you’re on community edition, so I’m not sure if it would behave the same way.

this is the response schema

The image shows a section of API response documentation detailing a 200 Success response with a JSON model named ConsumptionLicenseStatsModel, which includes fields for type, used, total, and timestamp. (Captioned by AI)

Not only the state
Everything present on this page
I need to find all the license available
Then need to find which group and user has the license.
Example the given license is allocated to which group and license.

1] need to get all the license
2] then need to get allocation to group
3] allocation to user

all this data needs to be extracted.

Hello,
I need help with retrieving user license allocations through the API.
I already have the list of all groups with their IDs (via the identity_/api/group/{partitionGlobalId} endpoint).

Now, my goal is to:

  • Get all users inside each group.
  • Check if they have a Studio license assigned (via API).
  • Revoke the license if they haven’t used it in a while.

I want to do this programmatically using the Orchestrator API.
Does anyone know:

  • Which exact endpoint gives me user license allocations per group?
  • How I can cross-check last activity or usage?
  • And how I can revoke the license using API?

Thanks in advance! :folded_hands: