cURL
curl --request GET \ --url https://api.nonce.app/private-api/v1/{workspace_id}/farms/{farm_id}/tasks/batches/{batch_id} \ --header 'x-api-key: <api-key>'
{ "success": true, "data": { "batch": { "id": "<string>", "task_name": "<string>", "status": "pending", "created_by": { "type": "user", "id": "user_2xGz1234567890", "name": "John Doe", "avatar": "https://example.com/avatar.png", "metadata": {} }, "created_at": "<string>" }, "tasks": [ { "id": "<string>", "miner_id": "<string>", "status": "created", "created_at": "<string>", "log_download_url": "<string>", "log_file_size": 123, "succeed_at": "<string>", "failed_at": "<string>", "error": { "message": "<string>" } } ] }, "error": null }
Returns the status and results of a task batch
Legacy Private API Key for authentication
Successfully retrieved task batch
Indicates if the request was successful
true
Show child attributes
Error object (null on success)
null