---
title: "Get a device"
method: GET
path: "/v1/edge/devices/{id}"
tags: ["Edge Devices"]
---

# Get a device

`GET /v1/edge/devices/{id}`

## Request

- Base URL: `https://api.hify.club`
- URL: `https://api.hify.club/v1/edge/devices/{id}`
- Auth: API key in header `X-User-Token`

## Response `200`

Device details

- Device
  - `id` integer
  - `mender_device_id` string, nullable
  - `mac_address` string, nullable
  - `status` 'pending' | 'accepted' | 'rejected' | 'preauthorized' | 'noauth' | 'decommissioned'
  - `facility_id` integer, nullable
  - `mender_attributes` object
  - `upload_mode` 'continuous' | 'on_demand'
  - `preview_generation_enabled` boolean
  - `archive_disk` boolean
  - `decommissioned_at` string, date-time, nullable
  - `arenas` object[]
  - `facility` object, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found

## Changes

- **2026-11-05** `b5920403538d`: 2 breaking, 1 warning, 1 info
  - the response property `mac_address` became nullable for the status `200`
  - the response property `mender_device_id` became nullable for the status `200`
  - added the new `decommissioned` enum value to the `status` response property for the response status `200`
  - added the optional property `decommissioned_at` to the response with the `200` status

[Operation history](https://skmtc.dev/hify/apis/hify-apis/changes/v1/edge/devices/:id/get.md)

---

[API](https://skmtc.dev/hify/apis/hify-apis.md) - [All operations](https://skmtc.dev/hify/apis/hify-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/hify/apis/hify-apis/revisions/b5920403538d?raw)
