Get Variable Info
Returns detailed information about a specific variable configured for the specified device within a workspace.
Endpoint
Section titled “Endpoint”GET /rest/v1/workspaces/{workspace_uuid}/devices/{device_uuid}/variables/{variable_uuid}Headers
Section titled “Headers”| Header | Value |
|---|---|
Authorization | Bearer <YOUR_API_KEY> |
Content-Type | application/json |
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
workspace_uuid | String | Yes | Unique identifier of the workspace. |
device_uuid | String | Yes | Unique identifier of the device. |
variable_uuid | String | Yes | Unique identifier of the variable. |
Example Request
Section titled “Example Request”GET /rest/v1/workspaces/01KXYZ123456789/devices/01KABCDEF123456789XYZ/variables/01KVAR123456789ABCDEFGAuthorization: Bearer <YOUR_API_KEY>Success Response
Section titled “Success Response”Status: 200 OK
{ "data": { "uuid": "01kx5h8jhts452v0g265zpa279", "name_label": "VOLTAGE", "identifier": "VOLTAGE", "type": "Actual", "datatype": "Float/Number", "unit": null, "description": null, "pre_save_script": null, "validation_script": null, "created_at": "2026-07-10T08:10:48.768001Z", "updated_at": "2026-07-10T08:10:48.768001Z", "decimal_precision": 5, "widget_color": "#FF1493", "derivation_script": null }, "meta": { "message": "Variable fetched successfully", "success": true }}