Data Service Unit: how are API calls/day counted?

In this page (License allocation and management (uipath.com)) it is stated that 1 DSU has 10k Maximum API calls per day. How are these counted and where I can check how many API calls I am making?

As example: if I use the “Create Multiple Entity Records” activity in studio with a Collection of 4 elements as Input Records and this creates 4 different tuples, does this count as 4 API calls or 1? What if 1 fails and only 3 tuples are created?

Another example: using Apps I create a Dropdown called “Choice”, setting Data Source property from a data entity “Employee” and the field “Employee Name” as Column property.
Then I add a Textbox with the following properties: Default Text set as “Choice.Selected Value.Selected object binding.Department” and Hidden set as “IsBlank(Choice.Selected Value.Selected object binding.Department)”.
When a value is selected in the Dropdown Choice, does this trigger 1 API call that reads all the fields in Employee data entity? Or does the Textbox require additional API calls to also read the Department field? In this case, would the Textbox make 2 additional API calls (one for each property set) or only 1?

For your first one, it will be 1 API call. The single call when the Create Multiple Entity Records activity executes.

For the second one, I think it will still be 1 API call, because the entity data will be fetched when the dropdown loads. If you were using the Selected Value property to make a Lookup call in the text box, that would have been another call. (Hint: Look for query_expansion calls in Network tab of Chrome/Edge dev tools to get each Data Service call from Apps.)

The product doesn’t yet show how many API calls you are consuming daily, but if you need to know that please file a support ticket, and UiPath support should be able to provide you with the data.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.