# get\_server\_list

Retrieves a list of servers under Qlik Enterprise Manager management as well as each server's properties.

Required User Role: See [Required Enterprise Manager permissions](https://help.qlik.com/en-US/enterprise-manager/November2025/Content/EnterpriseManager/EnterpriseManager_APIGuide/Introduction/AEMPermissions.htm).

## Syntax

`def get_server_list(` `self` `)`

## Parameters

N/A

## Return values

AemGetServerListResp

Return values

| Value | Type | Description |
| --- | --- | --- |
| serverList | List&lt;AemServerInfo&gt; | ReplicateServerInfo or ComposeServerInfo that inherit from AemServerInfo. |
| description | string | The description of the server |
| host | string | The host name or IP address of the server. |
| last\_connection | string | The date and time of the last successful sync/retrieval of tasks and messages. |
| message | string | The error message if Qlik Enterprise Manager fails to connect to the server. |
| name | string | The name of the server. |
| platform | AemPlatform<br><br>{<br><br>UNKNOWN = 0,<br>WINDOWS = 1,<br>LINUX = 2<br><br>} | AemPlatform |
| port | string | The port through which the server is accessed. |
| state | AemServerState<br><br>{<br><br>NOT\_MONITORED = 0,<br><br>MONITORED = 1,<br><br>ERROR = 2<br><br>} | AemServerState |
| version | string | The Replicate/Compose Server version |

## Errors

All of the [general errors](https://help.qlik.com/en-US/enterprise-manager/November2025/Content/EnterpriseManager/EnterpriseManager_APIGuide/PythonAPI/error_handling.htm) as well as the errors listed in the table below.

Error responses

| Error | Message | Description |
| --- | --- | --- |
| AEM\_SERVER\_NOT\_FOUND | Replicate server {server} could not be found. | Server name unknown to Qlik Enterprise Manager. |