Get filesystem path info
Returns information about a path in the guest filesystem. Useful for checking if a path exists, its type, and permissions before performing file operations.
get/instances/{id}/stat
Path parameters
idstring required
Instance ID or name
Query parameters
pathstring required
Path to stat in the guest filesystem
follow_linksboolean
Follow symbolic links (like stat vs lstat)
Response
Path information
Example response
{
"exists": true,
"is_file": true,
"link_target": "/actual/target/path",
"mode": 420,
"size": 1024,
"error": "permission denied"
}