POST

/api/im/remote/bindings/{bindingId}/fs/edit

Relay filesystem edit (find/replace) to daemon

Structured edit operation — sandbox-runtime performs an exact-match find/replace

under a single file lock. Body is forwarded verbatim (15s timeout).

data shape is { replaced: number, path: string }.

No code sample available for this language

Parameters

FieldTypeReqDefaultDescription
bindingIdstringY

Request Body

FieldTypeReqDefaultDescription
pathstringN
oldStringstringN
newStringstringN
replaceAllbooleanNfalse

Response Example

{
  "ok": true,
  "data": {
    "replaced": 1,
    "path": "/Users/alice/project/src/app.ts"
  }
}

Try it out

Path Parameters
/api/im/remote/bindings/{bindingId}/fs/edit
Sign in to use your API key
Request Body
Response
Click Execute to test