/bin/bash in /workspace at 80×24.
The shell keeps running after this call returns and after you disconnect.
Parameters
Response
Returns aPtySession.
- Set
colsandrowsto match the surface you will render. Programs that format for the terminal width read them at startup. - A runtime allows 8 shells at once. Stop a shell when its task finishes.
- Set
TERMtoxterm-256colorfor color. Leave it unset if you want plain text without escape sequences.
Endpoint
POST /v1/agents/runtime/{runtime_id}/pty