Copy files or directories within an agent’s workspace.
error field describes the reason:
| 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) |
| 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 |