Synvo API EndpointsFile Management
[GET] List File
List directory contents
Lists files and directories at a given path, optionally recursive with version tracking
X-API-Key<token>
In: header
Query Parameters
path?string
Directory path, e.g., /project
Default
"/"sub_user_name?string
User-level isolation name
recursive?boolean
Recursively list all subdirectories and files
Default
trueversion?string
Version of the file to list
Response Body
curl -X GET "https://api.synvo.ai/file/list?path=%2F&sub_user_name=string&recursive=true&version=string"{
"items": [
{
"is_dir": true,
"name": "string",
"path": "string",
"file_id": "string",
"size": 0,
"status": "PENDING",
"created_at": "2019-08-24T14:15:22Z"
}
],
"tree": {},
"version": "string",
"need_refresh_file": true
}Empty
Empty
Empty
Empty