{ "batch": { "id": "batch_abc123", "name": "My Scale Batch", "project": "project_abc123", "created_at": "2023-11-07T05:31:56Z", "status": "staging", "metadata": {}, "completed_at": "2023-11-07T05:31:56Z", "callback": "https://example.com/callback" }, "message": "Batch pause initiated. Only unstarted tasks will be paused."}
Authentication
Every request sent to Scale’s API requires authentication. In short, your API Key is the Bearer token. See the Authentication section for more details.
You can only pause batches that are currently in_progress. Batches in other statuses (staging, completed, paused) cannot be paused.Once paused, the batch status will change to paused and all unstarted tasks will be paused.