Move Files
Agent Filesystem
Move Files
Move or rename files and directories within an agent’s workspace.
POST
Move Files
Authentication
Requires JWT token or Platform API key.Agent UUID
Source path in the workspace
Destination path in the workspace
Overwrite if the destination already exists
Example Request
Response
error field describes the reason:
Response Fields
| Field | Type | Description |
|---|---|---|
results | array | Results for each move operation |
results[].source | string | Source path |
results[].destination | string | Destination path |
results[].success | boolean | Whether the operation succeeded |
results[].error | string | Error message (present only on failure) |
Status Codes
| Code | Description |
|---|---|
200 | Move operations completed (check individual results for per-operation status) |
400 | Invalid request body |
401 | Invalid authentication |
403 | Access denied |
404 | Agent not found |

