You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add max_total_charge_usd to task start() and call() #1096
POST /v2/actor-tasks/{actorTaskId}/runs accepts maxTotalChargeUsd, and the JS client sends it from task.start(). TaskClient and TaskClientAsync don't take it in start() or call(), so a task run can't be given a charge limit.
Add max_total_charge_usd: Decimal | None = None to both methods in both classes, as in ActorClient.start() and call().
The SDK needs it for apify/apify-sdk-python#1155, where named child runs share the parent's charge budget. A named Actor.call_task() under a budget set by the user raises RuntimeError for now, since the task run can't get a limit.
Activity
feat: add max_total_charge_usd to task start() and call() (#1097)
vdusek commentedon Oct 8, 2026
resolved by #1097