YBtheS
04/12/2025, 9:54 PMusageTotalUsd](https://docs.apify.com/api/client/js/reference/interface/ActorRun#usageTotalUsd) field of an ActorRun is sometimes defined and sometimes missing. I can't tell the rhyme or reason for when this happens.
For example,
js
const actorRun = await actorClient.call()
console.log(actorRun.usageTotalUsd)
may log "undefined" or may log a number.
What is reason behind the usageTotalUsd field being missing sometimes?
Thank you!louisdck
04/13/2025, 4:52 AMluigi.ruocco
04/14/2025, 2:05 PMYBtheS
04/14/2025, 2:16 PMactorRun.pricingInfo.pricePerUnitUsd multiplied the number of results. I have not tested this though. I’m just guessing.luigi.ruocco
04/14/2025, 2:52 PM