# Get device telemetry and alerts

Canonical page: https://docs.ovok.com/api/slim/telemetry/get-device-telemetry-and-alerts

`GET /v1/slim/telemetry/{deviceId}`

Returns the current telemetry and alerts for one device. Use it to poll the resident detail view.

**Auth:** bearer token. The caller must be a practitioner, an admin or a System Owner, and needs `Device:read`.
**Scope:** the caller's project (from the token). Only devices in that project are found.

## Behaviour

- `deviceId` is either the device identifier (for example `Sleepiz/3001000`) or the Device resource id (a UUID). A UUID is resolved to the identifier.
- The response `deviceId` is the identifier the telemetry is keyed by.
- `telemetry` and `alerts` have the same shape as one entry of `GET /v1/slim/device/live/telemetry`.
- The device is looked up among the first 1000 devices of your project, including devices without a resident.
- Telemetry is read fresh on every request.

## Example

```bash
curl -X GET 'https://api.sandbox.ovok.com/v1/slim/telemetry/c3499c27-2973-0a7f-807e-fb8676a92dcb' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```
