Skip to main content
Use a semaphore or fixed worker pool. Give each work item a stable application ID and record: Tags can move while a batch runs; resolve them before scheduling. Plan for no more than 50 simultaneous operations, then keep the application bound below the effective limit returned for the current token. Leave room for recovery or interactive work.

Classify before retrying

Create requests have no documented idempotency key. An application item ID helps reconcile duplicates but does not make execution idempotent.

Stop safely

On an early-stop condition, stop scheduling, cancel unfinished operation IDs owned by this batch with DELETE /v1/operations/{operation_id}, and observe each terminal state until a deadline. Never use a project-wide cancel-all action from shared automation. Resume cancelled work from its recorded input image UUID. Follow the result-image rules when recovering files from cancelled work. Contact the Sandboxes team if cancellation retention or usage affects capacity or cost controls. See Run a bounded evaluation batch, Troubleshooting, and Limits, retention, and usage.