Replace the contents of an existing file in an agent’s workspace.
utf-8 or base64)| Field | Type | Description |
|---|---|---|
path | string | Absolute path of the updated file |
size | number | New file size in bytes |
updated_at | string | Update timestamp (ISO 8601) |
| Code | Description |
|---|---|
200 | File updated successfully |
400 | Invalid request body |
401 | Invalid authentication |
403 | Access denied |
404 | Agent or file not found |