pty
Create PTY WebSocket token
Create a short-lived single-use ticket for opening a PTY WebSocket connection.
post/api/pty/{ptyID}/connect-token
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-token
- Authnone required
Path parameters
ptyIDstring required
Query parameters
Headers
x-opencode-ticketstring nullable
Response
Success
Changes
No operation changes recorded.