ListCollections
Lists all collections for the organization
ListCollectionsRequest
Request
This endpoint expects an object.
type
Filter by collection type (optional, returns all types if unspecified)
Allowed values:
page_size
Maximum number of collections to return (0 = server default)
page_token
Pagination cursor from a previous response
sort
Sort configuration (defaults to name ascending). Supported fields: SORT_FIELD_NAME, SORT_FIELD_DEVICE_COUNT.
error_component_types
Filter by collections containing devices with open errors of these component types. When non-empty, only collections with at least one device having an open error matching any of the specified component types are returned.
zones
Filter by rack zones. Only valid when type is RACK. When non-empty, only racks in any of the specified zones are returned.
ListCollectionsResponse
Response
This endpoint returns an object.
collections
List of collections ordered by label
next_page_token
Cursor for the next page, empty if no more results
total_count
Total number of collections matching the request filters