Skip to main content
POST
Search Miners

Authorizations

Authorization
string
header
required

Clerk Machine API Key for authentication

Path Parameters

workspace_id
string
required
farm_id
string
required

Body

application/json
id
object

Miner ID filter. Supports exact match (eq) or set membership (in).

Example:
agent_id
object

Agent ID filter. Use exact match (eq) with the agent UUID.

Example:
sn
object

Miner serial number filter. Use exact match (eq).

Example:
mac
object

Miner MAC address filter. Use exact match (eq).

Example:
status
object

Run status filter. Accepted values: online, stale.

Example:
tags
object

Tag filter (operator-managed labels). Overlap match. Preset values: maintenance, retired, off_rack, transit, archived, plus free-form custom tags.

Example:
unstable
boolean

Unstable filter. true returns only miners with non-null unstable_reason. Omit to include both stable and unstable miners.

lifecycle_statuses
object
deprecated

Deprecated — legacy combined filter. Use status and tags instead. Values are auto-routed to the matching axis. Note: run-state and tags are independent — filtering by a run-state value (e.g. online) does not exclude miners carrying tags. Will be removed in a future major version.

Example:
health_statuses
object
deprecated

Deprecated — accepted for backward compatibility but ignored at runtime. Use anomaly_filters (anomaly bitmask) or hashrate_realization (ratio range) instead.

Example:
network_mode
object

Network mode filter. unknown matches miners whose firmware does not report a mode or that have not been collected yet.

Example:
ip_ranges
string[]

Filter miners by IPv4 ranges. A miner matches if its IP falls into any of the provided ranges. Each item accepts one of: single address 192.168.1.5, CIDR 192.168.1.0/24, or hyphen range 192.168.1.1-192.168.1.254. At most 10 ranges per request.

Maximum array length: 10
Pattern: ^(?:(?:(25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)\/(?:3[0-2]|[12]?\d)|(?:(25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)-(?:(25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:(25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?))$
Example:
page
integer

Page number, starting at 1

Required range: 1 <= x <= 9007199254740991
Example:

1

limit
integer

Results per page

Required range: 1 <= x <= 10000
Example:

50

Response

Successfully retrieved miner status

success
boolean
required

Indicates if the request was successful

Example:

true

data
Miner · object[]
required

Array of items

pagination
object
required

Pagination metadata

error
null
required

Error object (null on success)

Example:

null