ListDeviceSets

View as Markdown
Lists all device sets for the organization

ListDeviceSetsRequest

Request
This endpoint expects an object.
typeenum

Filter by device set type (optional, returns all types if unspecified)

Allowed values:
page_sizeinteger

Maximum number of device sets to return (0 = server default)

page_tokenstring
Pagination cursor from a previous response
sortobject

Sort configuration (defaults to name ascending). Supported fields: SORT_FIELD_NAME, SORT_FIELD_DEVICE_COUNT.

error_component_typeslist of enums

Filter by device sets containing devices with open errors of these component types. When non-empty, only device sets with at least one device having an open error matching any of the specified component types are returned.

zoneslist of strings

Filter by rack zones. Only valid when type is RACK. When non-empty, only racks in any of the specified zones are returned.

ListDeviceSetsResponse

Response
This endpoint returns an object.
device_setslist of objects
List of device sets ordered by label
next_page_tokenstring
Cursor for the next page, empty if no more results
total_countinteger
Total number of device sets matching the request filters