---
updatedAt: 2026-10-02T10:56:42.000Z
agentTools:
  projectIndex: https://docs.xyte.io/llms.txt
---

# Get Device

Return detailed information on a single deice

## Authorization

This endpoint requires [Authorization](https://docs.xyte.io/reference/authorization).

## Response

Returns [Paginated data](https://docs.xyte.io/reference/pagination) of the following format for each item:

> **`status` vs `effective_status`**
> `status` is the device's own reported operational state (`online` / `offline` / `unavailable` / `error`).
> `effective_status` is the aggregated health view shown in the Xyte UI. It combines the
> raw `status` with active incidents, connectivity to the integration/proxy, and the
> parent device's state. Use `effective_status` when you want the same health signal
> users see in the dashboard; use `status` when you only care about the device's
> self-reported state.
> `merged_effective_status` is the merge-aware rollup of `effective_status` across a
> merged device group (the primary device and its merged shadows). It is maintained on
> the primary/standalone device; for an unmerged device it mirrors `effective_status`.

| Key                       | Subkey     | Type    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------- | :--------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id                        |            | string  | Unique identifier of the device. It is a universally unique identifier (UUID).                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| name                      |            | string  | Name of the device.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| sn                        |            | string  | Serial number of the device.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| mac                       |            | string  | MAC address of the device. This can be null if not available.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| cloud\_id                 |            | string  | Unique identifier of the device within the Xyte cloud.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| status                    |            | string  | Device's self-reported operational state: `online`, `offline`, `error`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| effective\_status         |            | string  | Aggregated health status shown in the Xyte UI, derived from `status`, active incidents, and connectivity. One of: `ok`, `warning`, `error`, `offline`, `disconnected`, `never_seen`. `null` until first computed.                                                                                                                                                                                                                                                                                                                            |
| merged\_effective\_status |            | string  | Merge-aware rollup of `effective_status` across the device group (primary + merged shadows), maintained on the primary/standalone device. Same value set as `effective_status`. For an unmerged device it mirrors `effective_status`.                                                                                                                                                                                                                                                                                                        |
| last\_seen\_at            |            | string  | Date and time when the device was last seen online in ISO 8601 format (e.g., "2024-07-24T07:22:20.037Z").                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| details                   |            | object  | Contains additional details about the device. This can be null if not available.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| state                     |            | object  | Full device state                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| custom\_vendor\_name      |            | string  | The device's vendor name override, as set through [Update Device](https://docs.xyte.io/reference/update-device). Defaults to the vendor's name when no override has been set.                                                                                                                                                                                                                                                                                                                                                                                           |
| custom\_model\_name       |            | string  | The device's model name override, as set through [Update Device](https://docs.xyte.io/reference/update-device). Defaults to the device model's name when no override has been set.                                                                                                                                                                                                                                                                                                                                                                                      |
| model                     |            | object  | Contains information about the device's model.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|                           | id         | string  | Unique identifier of the device model. It is a universally unique identifier (UUID).                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|                           | name       | string  | Name of the device model. Returns `custom_model_name` when an override is set.                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|                           | sub\_model | string  | The submodel of the device, in the event that different products share the same model. This can be null if not applicable.                                                                                                                                                                                                                                                                                                                                                                                                                   |
|                           | beta       | boolean | Whether the device model is in beta.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| firmware                  |            | object  | Contains information about the device's firmware.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|                           | version    | string  | Version of the firmware installed on the device.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| space                     |            | object  | Contains information about the space that claimed the device.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|                           | id         | integer | Unique identifier of the space.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|                           | full\_path | string  | Hierarchical path of the space where the device is located.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| connector                 |            | object  | How the device connects to Xyte.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|                           | type       | string  | `native`, `c2c` or `edge`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|                           | id         | string  | UUID of the C2C integration or Edge; `null` for native devices and for a C2C device whose connector was removed (an Edge device keeps the removed Edge's id). Use it as the `connector_id` filter of [Get Devices](https://docs.xyte.io/reference/get-devices).                                                                                                                                                                                                                                                                                                         |
|                           | name       | string  | Display name of the cloud connector (e.g. `Zoom`), or the Edge display name; `null` for native devices, or when the connector or Edge was removed.                                                                                                                                                                                                                                                                                                                                                                                           |
| custom\_parameters        |            | object  | Edge devices only (omitted for non-edge devices). The device's current custom-parameter values, keyed by the human-readable parameter label shown on the device model (for example `Port`). These are the same keys accepted by [Update Device](https://docs.xyte.io/reference/update-device), so the object can be edited and sent back. Password-type parameters never return their stored value — a set password comes back as `"*****"` and an unset one as an empty string `""`, so secrets are not exposed. A non-password parameter with no value set is `null`. |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "xyte-api",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://hub.xyte.io/core/v1/organization"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization"
      },
      "oauth2": {
        "type": "oauth2",
        "description": "OAuth2 access token issued by Xyte to a registered third-party application, sent as 'Authorization: Bearer xoat_...'. Tokens are obtained with the authorization code flow (PKCE required). An organization administrator approves the application once, choosing at the same time who may sign in through it (anyone with access to the organization, the members of one group, or administrators only); every access token has the same reach as an organization API key regardless of who signed in. The OAuth2 endpoints live outside this specification's server; see the 'OAuth2 & OpenID Connect' page in this reference.",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://hub.xyte.io/oauth/authorize",
            "tokenUrl": "https://hub.xyte.io/oauth/token",
            "refreshUrl": "https://hub.xyte.io/oauth/token",
            "scopes": {
              "openid": "Issue an id_token identifying the signed-in user. Issued for every sign-in that requests it, including an administrator's.",
              "profile": "Include the user's name in the id_token and the userinfo response.",
              "email": "Include the user's email address in the id_token and the userinfo response."
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    },
    {
      "oauth2": []
    }
  ],
  "paths": {
    "/devices/{device_id}": {
      "get": {
        "summary": "Get Device",
        "description": "Return detailed information on a single deice",
        "operationId": "get-device",
        "parameters": [
          {
            "name": "device_id",
            "in": "path",
            "description": "Unique device UUID",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"id\": \"a527...d1f2\",\n  \"name\": \"Device Name\",\n  \"sn\": \"100\",\n  \"mac\": \"aa:bb..11,\n  \"cloud_id\": null,\n  \"status\": \"online\",\n  \"effective_status\": \"ok\",\n  \"merged_effective_status\": \"ok\",\n  \"last_seen_at\": \"2025-05-27T07:13:57.405Z\",\n  \"details\": {\n  },\n  \"state\": {\n  },\n  \"custom_vendor_name\": \"Vendor Name\",\n  \"custom_model_name\": \"Model Name\",\n  \"model\": {\n    \"id\": \"d7e0...dfe3\",\n    \"name\": \"Model Name\",\n    \"sub_model\": \"Sub Model Name\"\n  },\n  \"firmware\": {\n    \"version\": null\n  },\n  \"space\": {\n    \"id\": 100,\n    \"full_path\": \"Overview/building/floor/room\"\n  },\n  \"connector\": {\n    \"type\": \"native\",\n    \"id\": null,\n    \"name\": null\n  }\n}"
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": \"Not authorized\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Not authorized"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```