Create PTY session

Create a new pseudo-terminal (PTY) session for running shell commands and processes.

post/pty

Request

  • The document declares no server URL.
  • Auth
    none declared

Query parameters

directorystring

Request body

commandstring
argsstring[]
cwdstring
titlestring
envobject

Response

Created session

idstring required
titlestring required
commandstring required
argsstring[] required
cwdstring required
status'running' | 'exited' required
pidnumber required

Changes

No recorded changes to this operation across all 55 revisions of this API.