pty
Connect to PTY session
Establish a WebSocket connection streaming PTY output and accepting terminal input.
get/api/pty/{ptyID}/connect
Request
- Base URLhttps://opencode.ai (the document declares no server; this is the origin it was published from)
- URLhttps://opencode.ai/api/pty/{ptyID}/connect
- Authnone required
Path parameters
ptyIDstring required
Query parameters
location[directory]string
cursorstring
ticketstring
Response
Success
boolean required
Changes
No operation changes recorded.