# Get resident devices with telemetry (compatibility)

Canonical page: https://docs.ovok.com/api/slim/query/get-resident-devices-with-telemetry-compatibility

`GET /v1/slim/query/patient/{id}`

Compatibility route for older resident vitals clients. Returns the devices assigned to one resident, each with its telemetry. For new integrations, use `GET /v1/slim/patient/{id}/current-vitals`.

**Auth:** bearer token. The caller must be a practitioner, an admin or a System Owner, and needs `search` and `read` on `Patient`, `Device`, `Location`, `Observation` and `Organization`.
**Scope:** the caller's project (from the token). The `project` parameter is ignored.

## Behaviour

- Returns up to 100 device rows for the resident, with zone, device and telemetry.
- Results are cached for up to 60 seconds. Writes made through the Slim routes refresh the cache sooner.

## Example

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