dangerous-fuchsiaD
Apify & Crawlee10mo ago
5 replies
dangerous-fuchsia

Why is the "usageTotalUsd" Field Missing Sometimes?

The 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,
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!
Was this page helpful?