---
title: "Gets all sensor rules"
method: GET
path: "/sensors/v3"
tags: ["Sensors"]
---

# Gets all sensor rules

`GET /sensors/v3`

Gets all sensor rules definitions.

## Query parameters

- `pageToken` string
- `count` integer

## Response `200`

Response body contains an array of sensor rule objects, `count` indicates the number of returned sensor rules,
and `pageToken` is the next page token if available.

If no sensor rules are found, an object with an empty data array is returned.

- object — Response body contains an array of sensor rule objects, `count` indicates the number of returned sensor rules, and `pageToken` is the next page token if available. If no sensor rules are found, an object with an empty data array is returned.
  - `count` integer — The number of items in the response.
  - `pageToken` string — A token that can be used to retrieve the next page of the response.
  - `data` 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

---

[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)
