Read a file
Returns a file's content for the editor: UTF-8 text, or base64 for binary files. Files over 1 MiB fail with BAD_REQUEST; use files.downloadTicket for those.
Needs files.read on the service (a grant on its project covers it). Available to MCP clients and the assistant.
seylo_session<token>serviceId*stringPanel-issued id.
^[a-z0-9]{16}$volume*string1 <= length <= 64nodeId?stringPanel-issued id.
^[a-z0-9]{16}$path*stringRelative to the volume root; "" or "." is the root.
length <= 4096Success.
application/json- response
nodeId*stringPanel-issued id.
^[a-z0-9]{16}$info*encoding*string|stringcontent*stringcurl -X GET 'https://example.com/api/v1/files.read?serviceId=string&volume=string&path=string'{ "nodeId": "string", "info": { "name": "string", "path": "string", "isDir": true, "size": 0, "mode": 0, "modifiedAt": "2019-08-24T14:15:22Z", "symlinkTarget": "string", "uid": 0, "gid": 0 }, "encoding": "utf8", "content": "string"}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.
Rename or move a file POST
Renames or moves a file or folder inside the same volume. Fails with CONFLICT when the destination exists. Needs `files.write` on the service (a grant on its project covers it). Available to MCP clients and the assistant.