Actions52
- Account Actions
- Backup Actions
- Database Actions
- File Actions
- Network Actions
- Schedule Actions
- Server Actions
- Startup Actions
- Subuser Actions
File → List
AI-generatedSummary
List files and directories from a specified directory on a selected server managed by the Pterodactyl Panel Client API.
Inputs
- Server (required) — Select the server to list files from, provided as the server identifier.
- Directory Path — Specify the directory path to list files from; defaults to root '/' if not provided.
Output shape
a list of file and directory objects representing the contents of the specified directory on the chosen server.
The output format depends on the Pterodactyl API's file listing structure and is returned as JSON objects. If no files are found, an empty list will be returned. Errors during listing are surfaced in the execution or as error messages when failing to retrieve server or directory data.