Getting the workflow run Cost as a variable

Is there any way to get the cost of a workflow run as a variable? I want to return the price of the current run as an output parameter from the end block of my workflow

1 Like

Hi @LaineP,

If you’re triggering your Agent via API and want the cost included in the response, make sure to add includeBillingCost: true to the request body:

Hope this helps!

Is there any documentation that describes the response body content?

Please see API Reference | MindStudio University