Download OpenAPI specification:
Authenticates a user using their username and password. If the credentials are valid, a token is returned, which should be included in the Authorization
header of subsequent requests.
User login credentials, including username and password.
password required | string |
username required | string |
{- "password": "1234",
- "username": "root"
}
{- "timeout_s": 0,
- "token": "string"
}
Allows a user to set or update their password. To remove the password, set the password
field to null
. This operation requires authentication.
Payload containing the new password. If the password field is null, the password will be removed.
password | string or null |
{- "password": "1234"
}
{- "dps": { },
- "hashboard_config": { },
- "pool_groups": [
- {
- "load_balance_strategy": { },
- "name": "string",
- "pools": [
- {
- "enabled": true,
- "password": "string",
- "uid": "string",
- "url": "string",
- "user": "string"
}
], - "uid": "string"
}
], - "temperature": { },
- "tuner": { }
}
Sets the active cooling mode for the miner. The mode can be set to auto, manual, immersion, or hydro.
Cooling mode to activate. Can be one of: auto, manual, immersion, or hydro.
required | object (CoolingAutoMode) The temperature control modes. Miner software tries to regulate the fan speed so that miner temperature is approximately at the target temperature. The allowed temperature range is 0-200 degree Celsius. |
{- "hydro": {
- "dangerous_temperature": { },
- "hot_temperature": { },
- "target_temperature": { }
}
}
{- "hydro": {
- "dangerous_temperature": { },
- "hot_temperature": { },
- "target_temperature": { }
}
}
Apply custom contract key.
Custom contract key to be set.
contract_key required | string Licence contract key string |
{- "contract_key": "string"
}
{- "successful": true
}
Retrieves detailed information about the miner, such as hardware model, firmware version, serial number, and other identifying data.
{- "bos_mode": 0,
- "bos_version": { },
- "bosminer_uptime_s": 0,
- "control_board_soc_family": 0,
- "hostname": "string",
- "kernel_version": "string",
- "mac_address": "string",
- "miner_identity": { },
- "platform": 0,
- "psu_info": { },
- "serial_number": "string",
- "status": 0,
- "sticker_hashrate": { },
- "system_uptime": 0,
- "system_uptime_s": 0,
- "uid": "string"
}
Retrieves a list of errors reported by the miner, including timestamps, messages, error codes, and affected components.
{- "errors": [
- {
- "components": [
- {
- "index": 0,
- "name": "string"
}
], - "error_codes": [
- {
- "code": "string",
- "hint": "string",
- "reason": "string"
}
], - "message": "string",
- "timestamp": "string"
}
]
}
Retrieves detailed information about all hashboards in the miner, including their status, temperature, voltage, frequency, and statistics.
{- "hashboards": [
- {
- "board_name": "string",
- "board_temp": { },
- "chip_type": "string",
- "chips_count": 0,
- "current_frequency": { },
- "current_voltage": { },
- "enabled": true,
- "highest_chip_temp": { },
- "highest_outlet_temp": { },
- "id": "string",
- "lowest_inlet_temp": { },
- "model": "string",
- "serial_number": "string",
- "stats": { }
}
]
}
Enables or disables one or more hashboards based on the provided IDs. Useful for toggling hardware components during runtime or diagnostics.
List of hashboard IDs to update and the desired enabled state.
enable required | boolean |
hashboard_ids required | Array of strings |
{- "enable": false,
- "hashboard_ids": [
- "1",
- "3"
]
}
{- "hashboards": [
- {
- "id": "string",
- "is_enabled": true
}
]
}
Streams support archive.
Support archive format. Format can be one of: 'zip' (compressed zip format), 'bos' (BOS custom format) or 'zipencrypted' (compressed encrypted zip format).
format required | string (SupportArchiveFormat) Enum: "unspecified" "zip" "bos" "zipencrypted" Enumeration for support archive format |
{- "format": "zipencrypted"
}
Fetches detailed information about the miner's network, including interfaces, MAC addresses, DNS settings, and default gateway.
{- "default_gateway": "192.168.1.1",
- "dns_servers": [
- "8.8.8.8",
- "8.8.4.4"
], - "hostname": "miner-01.local",
- "mac_address": "00:1A:2B:3C:4D:5E",
- "name": "eth0",
- "networks": [
- {
- "address": "192.168.1.100",
- "netmask": "255.255.255.0"
}
], - "protocol": 1
}
Updates the miner's network configuration. Users can modify one or more fields, such as the hostname, network protocol, or DNS settings.
Partial or full network configuration update request.
hostname | string or null Hostname. Existing value will be preserved if this field is not set. |
null or (SetNetworkConfigurationRequestProtocol (SetNetworkConfigurationRequestProtocol (object) or SetNetworkConfigurationRequestProtocol (object))) |
{- "hostname": "miner-01.local",
- "protocol": {
- "dhcp": { }
}
}
{- "hostname": "miner-01.local",
- "protocol": {
- "dhcp": { }
}
}
Sets DPS for the miner, including DPS enable flag, DPS shutdown enable flag, DPS shutdown duration, DPS target and DPS mode.
Save action, DPS enable flag, DPS shutdown enable flag, DPS shutdown duration, DPS target and DPS mode.
enable | boolean or null Flag if Dynamic Performance Scaling should be enabled |
enable_shutdown | boolean or null Flag if shutdown for Dynamic Performance Scaling should be enabled |
mode | integer or null <int32> Dynamic Performance Scaling mode |
save_action required | integer <int32> Save action |
null or Hours (object) | |
null or DpsTarget (object) |
{- "enable": true,
- "enable_shutdown": true,
- "mode": 1,
- "save_action": 1,
- "shutdown_duration": {
- "hours": 4
}, - "target": {
- "target": {
- "powertarget": {
- "min_power_target": {
- "watt": 3210
}, - "power_step": {
- "watt": 20
}
}
}
}
}
{- "enabled": true,
- "hashrate_target": null,
- "mode": 1,
- "power_target": {
- "min_power_target": {
- "watt": 3210
}, - "power_step": {
- "watt": 20
}
}, - "shutdown_duration": {
- "hours": 4
}, - "shutdown_enabled": true
}
Sets hashrate target for the miner.
Hashrate target to be set.
terahash_per_second required | number <double> |
{- "terahash_per_second": 190
}
{- "terahash_per_second": 190
}
Decrements hashrate target for the miner by a set value.
Hashrate target decrement.
terahash_per_second required | number <double> |
{- "terahash_per_second": 10
}
{- "terahash_per_second": 190
}
Increments hashrate target for the miner by a set value.
Hashrate target increment.
terahash_per_second required | number <double> |
{- "terahash_per_second": 10
}
{- "terahash_per_second": 190
}
Sets performance mode for the miner.
Performance mode.
required | object (ManualPerformanceMode) |
{- "tunermode": {
- "target": {
- "powertarget": {
- "power_target": {
- "watt": 2000
}
}
}
}
}
{- "tunermode": {
- "target": {
- "powertarget": {
- "power_target": {
- "watt": 2000
}
}
}
}
}
Decrements power target for the miner by a set value.
Power target decrement.
watt required | integer <int64> >= 0 |
{- "watt": 100
}
{- "watt": 3730
}
Increments power target for the miner by a set value.
Save action and power target increment.
watt required | integer <int64> >= 0 |
{- "watt": 100
}
{- "watt": 3730
}
Sets quick ramping up and down times for the miner (used in curtailments).
Quick ramping up and down times to be set.
down_s required | integer <int32> >= 0 |
up_s required | integer <int32> >= 0 |
{- "down_s": 2,
- "up_s": 5
}
{- "down_s": 2,
- "up_s": 5
}
Fetches miner's target profiles, including power and hashrate target profiles.
{- "hashrate_target_profiles": [ ],
- "power_target_profiles": [
- {
- "created": {
- "nanos": 0,
- "seconds": 1744000000
}, - "estimated_power_consumption": {
- "watt": 2000
}, - "measured_hashrate": {
- "gigahash_per_second": 12345
}, - "target": {
- "watt": 2000
}
}
]
}
Fetches miner's tuner state, including overall tuner state and power or hashrate mode both including profile and current target.
{- "mode_state": {
- "powertargetmodestate": {
- "current_target": {
- "watt": 3000
}, - "profile": {
- "created": {
- "nanos": 0,
- "seconds": 1744000000
}, - "estimated_power_consumption": {
- "watt": 3000
}, - "measured_hashrate": {
- "gigahash_per_second": 12345
}, - "target": {
- "watt": 3000
}
}
}
}, - "overall_tuner_state": 1
}
Fetches the list of all configured pool groups, including their pools, load balancing strategy, and status.
[- {
- "name": "High Performance",
- "pools": [
- {
- "active": true,
- "alive": true,
- "enabled": true,
- "stats": {
- "accepted_shares": 1000,
- "best_share": 1200000,
- "generated_work": 5000000,
- "last_difficulty": 800000,
- "last_share_time": {
- "nanos": 255441271,
- "seconds": 1741260910
}, - "rejected_shares": 10,
- "stale_shares": 5
}, - "uid": "pool1",
- "url": "stratum+tcp://pool.example.com:3333",
- "user": "miner1"
}
], - "strategy": {
- "quota": {
- "value": 70
}
}
}
]
Creates a new pool group with a specified name, list of pools, and load balancing strategy.
null or (LoadBalanceStrategy (LoadBalanceStrategy (object) or LoadBalanceStrategy (object))) | |
name required | string Group name |
required | Array of objects (PoolConfiguration) Group pools |
uid | string or null Group id |
{- "load_balance_strategy": {
- "fixedshareratio": {
- "value": 50
}
}, - "name": "Pools",
- "pools": [
- {
- "enabled": true,
- "password": "xxxx",
- "uid": "1",
- "url": "stratum+tcp://pool.example.com:3333",
- "user": "miner1"
}
], - "uid": "group1"
}
{- "load_balance_strategy": {
- "fixedshareratio": {
- "value": 50
}
}, - "name": "Pools",
- "pools": [
- {
- "enabled": true,
- "password": "xxxx",
- "uid": "1",
- "url": "stratum+tcp://pool.example.com:3333",
- "user": "miner1"
}
], - "uid": "group1"
}
Sets the pool groups with new configurations, replacing the existing ones.
A list of pool group configurations to set.
null or (LoadBalanceStrategy (LoadBalanceStrategy (object) or LoadBalanceStrategy (object))) | |
name required | string Group name |
required | Array of objects (PoolConfiguration) Group pools |
uid | string or null Group id |
[- {
- "load_balance_strategy": {
- "fixedshareratio": {
- "value": 50
}
}, - "name": "Pools",
- "pools": [
- {
- "enabled": true,
- "password": "xxxx",
- "uid": "1",
- "url": "stratum+tcp://pool.example.com:3333",
- "user": "miner1"
}
], - "uid": "group1"
}
]
[- {
- "load_balance_strategy": {
- "fixedshareratio": {
- "value": 50
}
}, - "name": "Pools",
- "pools": [
- {
- "enabled": true,
- "password": "xxxx",
- "uid": "1",
- "url": "stratum+tcp://pool.example.com:3333",
- "user": "miner1"
}
], - "uid": "group1"
}
]
Updates the specified pool group with a new name, list of pools, and load balancing strategy.
uid required | string The UID of the pool to be updated. |
Pool group configuration to be updated.
null or (LoadBalanceStrategy (LoadBalanceStrategy (object) or LoadBalanceStrategy (object))) | |
name required | string Group name |
required | Array of objects (PoolConfiguration) Group pools |
uid | string or null Group id |
{- "load_balance_strategy": {
- "fixedshareratio": {
- "value": 50
}
}, - "name": "Pools",
- "pools": [
- {
- "enabled": true,
- "password": "xxxx",
- "uid": "1",
- "url": "stratum+tcp://pool.example.com:3333",
- "user": "miner1"
}
], - "uid": "group1"
}
{- "load_balance_strategy": {
- "fixedshareratio": {
- "value": 50
}
}, - "name": "Pools",
- "pools": [
- {
- "enabled": true,
- "password": "xxxx",
- "uid": "1",
- "url": "stratum+tcp://pool.example.com:3333",
- "user": "miner1"
}
], - "uid": "group1"
}