--- title: "system.opchda.getAggregates" description: "Will query the server for aggregates that it supports." --- # system.opchda.getAggregates > Will query the server for aggregates that it supports. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](../../../ignition-modules/vision/vision-project-properties/vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.opchda.getAggregates(serverName)` ### Parameters Type | Parameter | Description ------- | ------- | ------ String | `serverName` | The name of the defined [OPC-HDA](../../../ignition-modules/opc-ua/third-party-opc-servers/opc-com/opc-com.md) server to query. ### Returns **List[Aggregate]** - A list of supported [Aggregate](https://sdk.inductiveautomation.com/javadoc/ignition81/latest/com/inductiveautomation/ignition/common/sqltags/history/Aggregate.html) objects. Each object has 'id', 'name', and 'desc' properties defined. ### Scope Gateway, Vision Client, Perspective Session