Copy Files
Agent Filesystem
Copy Files
Copy files or directories within an agent’s workspace.
POST
Copy 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 copy 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 | Copy operations completed (check individual results for per-operation status) |
400 | Invalid request body |
401 | Invalid authentication |
403 | Access denied |
404 | Agent not found |

