---
title: "Get all devices"
method: GET
path: "/devices"
tags: ["Devices"]
---

# Get all devices

`GET /devices`

To filter only devices with specific status, use query parameter `status`. To filter specific type of devices, use the `type` query parameter.

## Query parameters

- `type` string[]
- `type` DeviceStatus[]

## Headers

- `Correlation-ID` string

## Response `200`

Devices array

- Device[]
  - `device` Device — recursive
  - `links` Links — unresolved $ref
  - `status` 'online' | 'offline'

## Other responses

- `401` — Not authorized
- `500` — An error occured when processing your request

## Changes

- **2020-04-11** `562192db9767` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway/changes/devices/get.md)

---

[API](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway.md) · [All operations](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/plgd-dev/plgd-http-gateway/revisions/562192db9767/schema)
