Get all plugs in a system (with filtering and sorting)
Retrieve all plugs in a system with support for pagination, search, and sorting by multiple fields. Sortable fields: createdAt, updatedAt, plugName, realTimeCurrent, totalEnergyUsage, tenantName, zoneName, roomName, plugCategory, lastSeen, chipModel, versionNumber, batchNumber, systemName, onStatus. Use comma-separated values for multiple sorts, e.g., "realTimeCurrent,createdAt" with corresponding "desc,asc".
path Parameters
systemIdquery Parameters
pagePage number for pagination
sizeItems per page
searchSearch keyword in error message or metadata
sort_byFields to sort by (comma-separated for multiple fields)
sort_orderSort order for each field (comma-separated, must match sort_by length)
tenantIdFilter by tenant Id
zoneIdFilter by Zone ID
roomIdFilter by Room Id
plugTypePlug type
Hardware type classification of the plug device (PLUG only)
deviceStatusPlug type
Status of the device (ON / OFF)
plugCategoryPlug Category. See GET /plug-category for valid values.
chipModelChip model of the Plug
Hardware chip model identifier used in the device
batchNumberBatch number of the Plug
deviceNumberUnique device number of the Plug
versionNumberVersion number of the Plug
isLockedFilter by lock status
ecoguardFilter by ecoguard status (true = only plugs with ecoguard enabled)
isSpareFilter by spare status. When true, returns only spare devices. When false, returns only non-spare devices. Omit to return all.
Get all plugs in a system (with filtering and sorting) › Responses
Filtered plugs in system
Array of plug device objects matching the query criteria
totalTotal count of items matching filters
pageCurrent page number
sizeItems per page
totalPagesTotal number of pages
Get plug by ID
Fetches a single plug by its unique identifier.
path Parameters
systemIdplugIdGet plug by ID › Responses
Plug fetched
_idPrimary ID of the Device
deviceTypeType of device (discriminator field)
macIdMAC ID of the Device (from IoT device)
deviceNameName of the Device
deviceNumberUnique device number for identification
onStatusStatus of the Device (ON / OFF / INACTIVE / ERROR)
locationPhysical location or address where the device is installed
remarksRemarks for the Device
batchNumberManufacturing batch number for tracking production groups
chipModelHardware chip model identifier used in the device
versionNumberFirmware version number currently running on the device
ssidNetwork SSID (Wi-Fi name) that the device is connected to
tenantTenant ID reference
Tagged Zone
roomRoom ID reference
systemSystem ID reference
createdAtDate Time of the Creation
updatedAtDate Time of the Update
lastSeenLast time the device was seen/reported
isLockedWhether the device is locked. When locked, the device on/off status cannot be toggled.
totalEnergyUsageTotal cumulative energy usage in kWh
totalEnergySavedTotal energy saved through optimization in kWh
autoUpdateAttemptsNumber of auto-update OTA attempts sent to this device
autoUpdateBlacklistedWhether device is blacklisted from auto-updates (max retries exceeded)
manualUpdateBlacklistWhether device is manually blacklisted from auto-updates by admin
inactivityNotificationEnabledWhether inactivity notifications are enabled for this device
plugCategoryPlug category name. See GET /plug-category for all valid values.
plugTypeType of Plug
energyUsageRecommendationReportEnergy Usage Recommendation Report
Ecoguard of the system
migratedToPlug to which this plug has been migrated
deviceModelModel of the device plugged into this smart plug
deviceBrandBrand of the device plugged into this smart plug
isSpareWhether the device is a spare/inventory device. Spare devices can be filtered out of user-facing dashboards.
Schedule configuration for the device. Contains recurring weekly schedules and one-time scheduled tasks.
realTimePowerReal-time power consumption in watts
realTimeCurrentReal-time current in amperes
lastAutoUpdateAttemptTimestamp of last auto-update OTA attempt
inactivityNotificationSentAtTimestamp when the last inactivity notification was sent for this device
voltageMaxMax Threshold voltage reading in volts
currentMaxMax Threshold current reading in amps
powerMaxMax Threshold power reading in watts
notificationThresholdHourHourly notification threshold — minimum hours between repeat notifications of the same type