persistentPty

post/api/experimental/session/{sessionID}/terminal

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/session/{sessionID}/terminal
  • Auth: none required

Path parameters

sessionIDstring required

Request body

commandstring
argsstring[] required
cwdstring
titlestring required
envobject required

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.