Skip to navigation

ListMinerStateSnapshots

View as Markdown

List all devices in the fleet (paired and/or unpaired) optionally with their telemetry data Returns a paginated list of devices with their operational status and metrics Use the pairing_status filter to control whether to return paired, unpaired, or both

ListMinerStateSnapshotsRequest

Request
This endpoint expects an object.
page_sizeinteger
Maximum number of miners to return in a single response Server may return fewer miners than specified If not specified, a default of 50 will be used Maximum allowed value is 1000
cursorstring
A pagination cursor returned by a previous call to this endpoint Provide this cursor to retrieve the next set of results for the original query Leave empty for first request
filterobject
Filter criteria for the miners to return
sortlist of objects

Sort configuration for results ordering If not specified or empty, uses default sort by name ASC (alphabetical) Currently only the first element is used; multi-column sorting reserved for future

ListMinerStateSnapshotsResponse

Response
This endpoint returns an object.
minerslist of objects
List of miners with their telemetry data Contains either snapshot or time series data based on the request
cursorstring
The pagination cursor to be used in a subsequent request If empty, this is the final page of results
total_minersinteger
Total number of miners available across all pages Useful for UI pagination controls
total_state_countsobject
Counts of miners in different states This includes counts for all miners, not just the ones in the current page Status filters do not affect these counts, because they act as OR condition.
modelslist of strings

List of all device models that exist in the user’s fleet Useful for dynamically building model filter options in the UI This includes all models across all pages, not just the current page (e.g., “S21 XP”, “M60”)