---
title: "Gets a single sensor rule"
method: GET
path: "/sensors/v3/{sensorRuleId}"
tags: ["Sensors"]
---

# Gets a single sensor rule

`GET /sensors/v3/{sensorRuleId}`

Gets details of a single sensor rule identified by the `sensorRuleId`.

## Response `200`

Response body contains a single sensor rule object.

- object — Response body contains a single sensor rule object
  - `description` string
  - `id` string, uuid, required — Must be a valid UUIDv4.
  - `name` string
  - `range` object
    - `begin` number, required — The lower threshold value.
    - `end` number, required — The upper threshold value.
  - `threshold` object
    - `value` number, required — Threshold value
  - `type` 'attach' | 'battery' | 'humidity' | 'pressure' | 'tamper' | 'temperature' | 'acceleration', required — The sensor type.

## Other responses

- `400` — Bad request The request object is in an incorrect format or has values that are invalid or out of range. If available, further error details are provided in the response body.
- `401` — Unauthorized The request did not provide correct authentication details
- `403` — Forbidden The account does not have the correct privileges
- `404` — The sensor rule ID was not found

---

[API](https://skmtc.net/here/apis/tracking.md) · [All operations](https://skmtc.net/here/apis/tracking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/here/tracking/versions/efa162f7023c/schema)
