Get Pterodactyl server details
ptero_get_serverRetrieve a server's full static configuration: name, node, resource limits, ports, SFTP, Docker image, and startup command. Use to answer how a server is set up.
Instructions
Get the full configuration of one server: name, node, panel lifecycle status, resource limits, feature limits, every network allocation (ip/port/notes, and which is primary), SFTP host and port, Docker image and the resolved startup command.
Use this to answer "how is this server configured", "what ports does it have", "how much memory is it allowed", or "what is it running".
This is static configuration. It does NOT tell you whether the server is up or what it is currently consuming — use ptero_get_server_resources for that. For the ports alone, ptero_list_allocations is narrower. Note that a port being allocated does not mean a service actually bound to it; confirm that in the console log or the relevant plugin config file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server short identifier (e.g. 1a2b3c4d). Omit to use PTERODACTYL_DEFAULT_SERVER. Call ptero_list_servers to discover valid identifiers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| node | Yes | Name of the node hosting the server. | |
| uuid | Yes | ||
| limits | Yes | Resource ceilings configured on the panel. | |
| status | Yes | Panel lifecycle status: null when normal, else installing/install_failed/reinstall_failed/suspended/restoring_backup. This is NOT the power state — use ptero_get_server_resources for running/offline. | |
| identifier | Yes | ||
| invocation | Yes | Resolved startup command. Redacted by the panel without startup:read permission. | |
| allocations | Yes | Ports assigned to this server. | |
| description | Yes | ||
| docker_image | Yes | Container image the server runs in. | |
| egg_features | No | ||
| is_suspended | Yes | Suspended servers reject power and console actions. | |
| server_owner | No | True when the API key owns the server rather than being a subuser. | |
| sftp_details | Yes | ||
| is_installing | Yes | ||
| feature_limits | Yes | ||
| is_transferring | Yes | True while the server is being moved between nodes. | |
| is_node_under_maintenance | No |