pty

Update PTY session

Update the title or viewport size of one PTY session.

put/api/pty/{ptyID}

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}
  • Auth
    none required

Path parameters

ptyIDstring required

Query parameters

directorystring nullable

Request body

titlestring

Response

Success

Changes

No operation changes recorded.