Overview
Tasks are operations executed on miners. Nonce uses a Task Batch-based system where multiple tasks can be grouped and executed together.Task vs Task Batch
When you create tasks via the API, you always create a Task Batch. The system automatically creates individual tasks for each target miner.
Task Names
Tasks are categorized by their target and purpose. A task batch creation payload includes:Agent-Level Tasks
miner_ids parameter is not required for agent-level tasks.
Operations that run on the agent software itself.
Miner-Level Tasks
Operations that execute on individual miners.
miner_ids parameter is required to specify target miners.
Miner Event Tasks
Special tasks that update miner inventory metadata.
miner_ids parameter is required to specify target miners.
Task Parameters
Each task type requires specific parameters.miner.system.reboot
Reboot a miner device.miner.log.get
Collect diagnostic logs from a miner. No additional parameters required.miner.light.update
Toggle the miner’s LED indicator light.miner.power_mode.update
Change the mining power mode.miner.pool.update
Update mining pool configuration.miner.pool.lock
Lock or unlock miner pool configuration via auth package. Prevents unauthorized pool changes while locked.miner.firmware.update
Update miner firmware.agent.scan.create
Scan the network for miners.agent.ip_diagnosis.create
Run agent IP diagnosis and upload a CSV report.miner.tags.update
Add or remove operator-managed tags on miners. Metadata-only; does not affect mining operation.miner.record.delete
Mark miners as deleted in inventory. Use after physical decommission.miner.rack_location.update
Update miner rack and position metadata. Uses a top-levelupdates array instead of miner_ids + params.
Task Status
Tasks progress through different statuses during their lifecycle.Task Lifecycle
Batch Status
Task batches have aggregated statuses based on their individual tasks.Mining Modes
Mining power modes vary by manufacturer. Not all modes are supported by all devices.Supported Modes by Manufacturer
More manufacturers and modes may be added in future updates.
Mode Descriptions
Example: Creating a Task Batch
low for the specified miners.
Response Format
The API response includes ameta field with task creation summary.
The
meta field provides informational hints to help you understand what happened during task creation. It indicates which tasks were actually created and which were skipped, along with the reasons. This is particularly useful for debugging and understanding why certain miners didn’t receive tasks.Meta Summary
Skipped Reasons
When some miners are skipped, theskipped array provides details: