---
title: "AgentDataVariableList"
method: GET
path: "/agents/{agentId}/data-variables"
tags: ["AgentDataVariableList"]
---

# AgentDataVariableList

`GET /agents/{agentId}/data-variables`

## Path parameters

- `agentId` string, required

## Query parameters

- `fields` string[]
- `filters` string[]

## Headers

- `Api-Version` 2, required
- `Api-Application` string, required
- `Api-Company` string, required
- `Api-Branding` string

## Response `200`

Success response. Data could be an object instead of a list when one value is returned

- object
  - `status` string, required
  - `type` string, required
  - `moreAfter` string, nullable
  - `data` object[], required
    - `agent` object
      - `publicId` string
    - `device` object
      - `publicId` string
    - `source` object
      - `publicId` string
    - `publicId` string
    - `variableId` integer
    - `name` string
    - `address` string
    - `slug` string
    - `type` 'bool' | 'int' | 'float' | 'str'
    - `signed` boolean, nullable
    - `width` '8' | '16' | '32' | '64', nullable
    - `factor` string, nullable
    - `unit` string, nullable
    - `maxStringLength` integer, nullable
    - `forAlarming` boolean
    - `forLogging` boolean
    - `internalUse` boolean
    - `updateable` boolean
    - `custom` object

## Other responses

- `4XX` — 4XX error response

---

[API](https://skmtc.net/ixon/apis/ixon-api.md) · [All operations](https://skmtc.net/ixon/apis/ixon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ixon/ixon-api/revisions/7875dc33d41f/schema)
