if i use ai activities in my work flow that consume AI credits, i want to write a log message after the activity to say “This activity used X AI credits. You have Y credits remaining.”
hi, @lr101 You can’t directly log real-time AI credits used per activity in UiPath Studio because consumption is tracked centrally in Automation Cloud. Instead, monitor AI Units via Admin > Licenses or Insights dashboards. For logging, use a message like: "AI activity executed. Check AI Units dashboard for consumption details.
is there an API call we can use to get the number of aviable AI credits?
You can get UiPath AI credits info by calling the AI Center API with your API key from Automation Cloud. There isn’t a single direct endpoint for credits remaining, but you get usage data and calculate the balance. Use OAuth 2.0 for authentication and check API docs to find the right endpoint for license or usage details.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.