batch_cancel
Stop a Batch job's current run for good. No task still waiting is started or billed; tasks already in flight finish (and bill). Results so far stay readable with batch_results. Tasks that never started stay pending: batch_rerun (default failed and pending) runs them later. Idempotent: a run that already ended answers with its final status and already_ended:true. To halt without ending the run, use batch_pause.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Batch job id returned by batch_create or batch_list |