The path is counted from the root node as seen in the file manager in the control panel,i.e. to retrieve csgo/cfg/server.cfg the path would be cfg/server.cfg

If the path is a directory you will receive a zip file with the directory's contents

Note that files are retrieved from an API cache which is synced periodically (approximately once per minute) from the game server, to make sure all files on the server is retrieveble, run /game-servers/{server_id}/sync-files first.

Click Try It! to start a request and see the response here!