---
title: "GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables"
method: GET
path: "/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables"
tags: ["device"]
---

# GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables

`GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables`

Get environment variables of a device

## Response `200`

The response body from a get device environment variables request.

- object
  - `environment_variable_notes` object — Optional per-variable annotations for device-level environment variables, keyed by variable name.
  - `environment_variables` object, required — The environment variables for this device that have been set using host firmware or the Notehub API or UI.
  - `environment_variables_effective` object — The environment variables as they will be seen by the device, fully resolved with project/fleet/device prioritization rules.
  - `environment_variables_env_default` object, required — The environment variables that have been set using the env.default request through the Notecard API.

## Other responses

- `default` — The response body in case of an API error.

---

[API](https://skmtc.dev/blues/apis/notehub-api.md) · [All operations](https://skmtc.dev/blues/apis/notehub-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/blues/notehub-api/revisions/eaadb187dfae/schema)
