persistentPty

Connect to a persistent PTY

Changed on

Stream persistent PTY output through the OpenCode server.

get/api/experimental/persistent-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/experimental/persistent-pty/{ptyID}/connect
  • Auth
    none required

Path parameters

ptyIDstring required

Query parameters

cursorstring
rolestring
attachment_idstring
takeoverstring
input_protocolstring
ticketstring

Response

Success

boolean required

Changes

    • info

      api operation id persistentPty.connect removed and replaced with experimental.persistentPty.connect