--- title: "system.opchda.getAttributes" description: "Queries the given server for the item attributes that are available with system.opchda.readAttributes." --- # system.opchda.getAttributes > Queries the given server for the item attributes that are available with system.opchda.readAttributes. This function is used in **Python Scripting**. ## Description Queries the given server for the item attributes that are available with [system.opchda.readAttributes()](appendix\scripting-functions\system-opchda\system-opchda-readAttributes.md). ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.opchda.getAttributes(serverName)` ### Parameters |Type|Parameter|Description| |--|--|--| |String |`serverName`| The name of the defined OPC-HDA server to query.| ### Returns **Attributes[]** - A list of Attribute objects. Each object has `id`, `name`, `desc`, and `type` properties defined. ### Scope All