pty

Get PTY session

Get one PTY session, including its exit code once exited.

get/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

Response

Success

Changes

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