Devbox
Devbox-ShellTools
Execute a command with a known ID, optimistically waiting for completion
Execute a command with a known command ID on a devbox, optimistically waiting for it to complete within the specified timeout. If it completes in time, return the result. If not, return a status indicating the command is still running. Note: attach_stdin parameter is not supported; use execute_async for stdin support.
post/v1/devboxes/{id}/execute
Path parameters
idstring required
The Devbox ID.
Query parameters
last_nstring
Last n lines of standard error / standard out to return (default: 100)
Request body
Response
OK