Search...
/
Discord
Dashboard
Documentation
API Reference
Documentation
API Reference
API Reference
POST
Start instance
GET
Get instance by ID
GET
List all instances
GET
List all browser authentication states
Instance
POST
Take screenshot
GET
Get stream URL
POST
Run computer actions
POST
Run bash actions
POST
Run edit actions
POST
Stop instance
POST
Pause instance
POST
Resume instance
Browser
Code
Notebook
File
Env
SDK Reference
Python SDK
TypeScript SDK
Discord
Dashboard
API Reference
Instance
Run edit actions
POST
https://api.scrapybara.com
/
v1
/
instance
/
:instance_id
/
edit
Path parameters
instance_id
string
Required
Request
This endpoint expects an object.
command
enum
Required
Allowed values:
view
create
str_replace
insert
undo_edit
path
string
Required
file_text
string
Optional
view_range
list of integers
Optional
old_str
string
Optional
new_str
string
Optional
insert_line
integer
Optional
Response
Successful Response
Stop instance
Up Next
Built with