API referenceFiles
List a folder
GET
Lists the files and folders in one folder of a service volume, folders first.
Needs files.read on the service (a grant on its project covers it). Available to MCP clients and the assistant.
cookie
seylo_session<token>serviceId*stringPanel-issued id.
Match
^[a-z0-9]{16}$volume*stringLength
1 <= length <= 64nodeId?stringPanel-issued id.
Match
^[a-z0-9]{16}$path?stringRelative to the volume root; "" or "." is the root.
Length
length <= 4096Success.
application/json- response
nodeId*stringPanel-issued id.
Match
^[a-z0-9]{16}$path*stringentries*array<>curl -X GET 'https://example.com/api/v1/files.list?serviceId=string&volume=string'Example Response
{ "nodeId": "string", "path": "string", "entries": [ { "name": "string", "path": "string", "isDir": true, "size": 0, "mode": 0, "modifiedAt": "2019-08-24T14:15:22Z", "symlinkTarget": "string", "uid": 0, "gid": 0 } ]}Extract an archive POST
Unpacks a .tar.gz or .zip archive into a folder of the same volume, creating the folder if needed. Needs `files.write` on the service (a grant on its project covers it). Available to MCP clients and the assistant.
Create a folder POST
Creates a folder, and its missing parents when parents is set. Needs `files.write` on the service (a grant on its project covers it). Available to MCP clients and the assistant.