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