session
Run shell command
Execute one shell command in the session's working directory. Emits a shell.started event before execution and a shell.ended event with the merged output after.
post/api/session/{sessionID}/shell
Request
- Base URLhttps://opencode.ai (the document declares no server; this is the origin it was published from)
- URLhttps://opencode.ai/api/session/{sessionID}/shell
- Authnone required
Path parameters
sessionIDstring required
Request body
Response
<No Content>
Changes
No operation changes recorded.