Workspace: Multi Edit
Agent Workspace
Workspace: Multi Edit
Apply multiple file edits atomically in the agent’s workspace
POST
Workspace: Multi Edit
Apply multiple file edits atomically. Each edit uses the same exact-match semantics as Workspace: File Edit. If any edit fails, all changes are rolled back.
Path Parameters
Agent ID (UUID)
Request Body
Ordered list of edits to apply. Each item has:
Response
Result status (e.g.,
ok).Example Request
Notes
- Edits are applied in the order provided. Later edits can operate on content produced by earlier edits in the same request.
- If any single edit fails (e.g.,
old_textnot found), the entire batch is rolled back so the workspace is not left in a half-applied state.
See Also
Authorizations
API Key for authentication
Path Parameters
Body
application/json
List of edits to apply atomically. If any edit fails, all changes are rolled back.
Response
Successful Response
Results for each edit operation

