Files
(Required) Machine ID
1File system content
200OK2026-02-05T10:10:22ZBad request (machine is not running)
Machine not found
Permission required
(Optional) Parent folder ID. Empty = root folder
string(Optional) Page number. Default: 1
1(Optional) Records per page. Default: 20
20(Optional) Search by file name
stringList of files and folders
200OK2026-02-05T10:10:22ZTotal number of items
2Current page number
1Next page number (null if no more pages)
Bad request
Parent folder not found
Permission required
Headers
Body Parameters
Error Responses
Success Response Fields (File)
Success Response Fields (Directory)
Request Body Example
Success Response Example (File)
Success Response Example (Directory)
Upload Flow for Files
Name of the file or directory
Type of object to create
MIME type of the file (required for files)
File size in bytes (required for files)
Chunk size for multipart upload in MB
Whether to overwrite existing file with same name
Parent folder ID (root folder if omitted)
File or directory created successfully
Response after initiating a file upload
File ID
6731Unique identifier for the upload
abc123-def456Size of each chunk in MB
250Bad request
Machine not found
Storage full
File already exists
Permission required
(Optional) Filter session recordings by machine ID
1(Optional) Parent folder ID. Empty = root folder
string(Optional) Page number. Default: 1
1(Optional) Records per page. Default: 20
20(Optional) Search by file name
stringList of session recording files and folders
200OK2026-02-05T10:10:22ZTotal number of items
2Current page number
1Next page number (null if no more pages)
Bad request
Forbidden
Not found
Permission required
(Required) Machine ID
1(Optional) Parent folder ID. Empty = root folder
string(Optional) Page number. Default: 1
1(Optional) Records per page. Default: 20
20(Optional) Search by file name
string(Optional) Filter to folders associated with a specific task on the machine. Returns the task's output/snapshot folder, all session recording folders linked to this task. Only directories are returned; descend via parent_id to fetch contents.
42List of files and folders
200OK2026-02-05T10:10:22ZTotal number of items
2Current page number
1Next page number (null if no more pages)
Bad request
Machine not found
Permission required
(Required) File ID (returned from create endpoint)
123Upload completed successfully
Response after completing a multipart upload
Unique identifier of the uploaded file
abc123-def456URL to download the uploaded file
https://vagon-storage.s3.amazonaws.com/files/abc123-def456Bad request
File not found
Storage limit exceeded
File size mismatch
Permission required
(Required) File/Directory ID
123File deleted successfully
200OK2026-02-05T10:10:22ZBad request
File not found
Permission required
Download link generated
Response containing download link information
Download URL (null if still processing)
https://vagon-storage.s3.amazonaws.com/downloads/xyz789File size in bytes
1601File name
project-files.zipMIME type of the file
application/zipDownload job ID for status tracking
5085Bad request
File or directory not found
Permission required
Directory or file not found
File count mismatch during download
Directory is empty or has no completed files
Download URL generation failed
No files or directory provided for download
(Required) Temporary file ID (download_id returned from POST /files/download)
123Download status
Download job status response
12345downloadBad request
Download not found
Permission required
(Required) Temporary file ID (download_id returned from POST /files/download)
123Download aborted successfully
Bad request (e.g. download cannot be aborted)
Download not found or expired
Permission required
Download cannot be aborted (already uploaded or failed)
No content
Last updated