Apply a partial update to a file in an agent’s workspace.
append, prepend, or replacereplace operationsreplace operations| Field | Type | Description |
|---|---|---|
path | string | Absolute path of the patched file |
size | number | New file size in bytes |
updated_at | string | Update timestamp (ISO 8601) |
| Code | Description |
|---|---|
200 | File patched successfully |
400 | Invalid request body or operation |
401 | Invalid authentication |
403 | Access denied |
404 | Agent or file not found |