List Noise Thresholds
Returns a list of all noise thresholds for a noise sensor.
Returns a list of all noise thresholds for a noise sensor.
Code:
await seam.noiseSensors.noiseThresholds.list({
device_id: "a60d1a44-5727-4223-8b58-9c2455eb57fc",
});Output:
[
{
"device_id": "a60d1a44-5727-4223-8b58-9c2455eb57fc",
"ends_daily_at": "2025-06-19T12:38:44.000Z",
"name": "My Noise Sensor",
"noise_threshold_decibels": 50,
"noise_threshold_id": "f8cef69d-625f-464c-aed4-287c06e0d7fe",
"noise_threshold_nrs": 40,
"starts_daily_at": "2025-06-20T18:29:57.000Z"
}
]Returns a list of all noise thresholds for a noise sensor.
Code:
curl --include --request POST "https://connect.getseam.com/noise_sensors/noise_thresholds/list" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "a60d1a44-5727-4223-8b58-9c2455eb57fc"
}
EOFOutput:
{
"noise_thresholds": [
{
"device_id": "a60d1a44-5727-4223-8b58-9c2455eb57fc",
"ends_daily_at": "2025-06-19T12:38:44.000Z",
"name": "My Noise Sensor",
"noise_threshold_decibels": 50,
"noise_threshold_id": "f8cef69d-625f-464c-aed4-287c06e0d7fe",
"noise_threshold_nrs": 40,
"starts_daily_at": "2025-06-20T18:29:57.000Z"
}
]
}Returns a list of all noise thresholds for a noise sensor.
Code:
seam.noise_sensors.noise_thresholds.list(
device_id="a60d1a44-5727-4223-8b58-9c2455eb57fc"
)Output:
[
NoiseThreshold(
device_id="a60d1a44-5727-4223-8b58-9c2455eb57fc",
ends_daily_at="2025-06-19T12:38:44.000Z",
name="My Noise Sensor",
noise_threshold_decibels=50,
noise_threshold_id="f8cef69d-625f-464c-aed4-287c06e0d7fe",
noise_threshold_nrs=40,
starts_daily_at="2025-06-20T18:29:57.000Z",
)
]Returns a list of all noise thresholds for a noise sensor.
Code:
seam.noise_sensors.noise_thresholds.list(device_id: "a60d1a44-5727-4223-8b58-9c2455eb57fc")Output:
[
{
"device_id" => "a60d1a44-5727-4223-8b58-9c2455eb57fc",
"ends_daily_at" => "2025-06-19T12:38:44.000Z",
"name" => "My Noise Sensor",
"noise_threshold_decibels" => 50,
"noise_threshold_id" => "f8cef69d-625f-464c-aed4-287c06e0d7fe",
"noise_threshold_nrs" => 40,
"starts_daily_at" => "2025-06-20T18:29:57.000Z",
},
]Returns a list of all noise thresholds for a noise sensor.
Code:
$seam->noise_sensors->noise_thresholds->list(
device_id: "a60d1a44-5727-4223-8b58-9c2455eb57fc"
);Output:
[
[
"device_id" => "a60d1a44-5727-4223-8b58-9c2455eb57fc",
"ends_daily_at" => "2025-06-19T12:38:44.000Z",
"name" => "My Noise Sensor",
"noise_threshold_decibels" => 50,
"noise_threshold_id" => "f8cef69d-625f-464c-aed4-287c06e0d7fe",
"noise_threshold_nrs" => 40,
"starts_daily_at" => "2025-06-20T18:29:57.000Z",
],
];Returns a list of all noise thresholds for a noise sensor.
Code:
seam noise-sensors noise-thresholds list --device_id "a60d1a44-5727-4223-8b58-9c2455eb57fc"Output:
[
{
"device_id": "a60d1a44-5727-4223-8b58-9c2455eb57fc",
"ends_daily_at": "2025-06-19T12:38:44.000Z",
"name": "My Noise Sensor",
"noise_threshold_decibels": 50,
"noise_threshold_id": "f8cef69d-625f-464c-aed4-287c06e0d7fe",
"noise_threshold_nrs": 40,
"starts_daily_at": "2025-06-20T18:29:57.000Z"
}
]Request Parameters
device_id String (Required)
ID of the device for which you want to list noise thresholds.
Response
Array of noise_thresholds
{
"device_id": "69b9e908-039b-413a-904e-5edee653ca27",
"ends_daily_at": "09:00:00[America/Los_Angeles]",
"name": "My Noise Threshold",
"noise_threshold_decibels": 21,
"noise_threshold_id": "f8cef69d-625f-464c-aed4-287c06e0d7fe",
"noise_threshold_nrs": 5,
"starts_daily_at": "07:00:00[America/Los_Angeles]"
}Last updated
Was this helpful?

