Devbox
Devbox-ShellTools
Execute a command with a known ID, optimistically waiting for completion
Changed onExecute 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
Request
- Base URL: https://api.runloop.ai
- URL: https://api.runloop.ai/v1/devboxes/{id}/execute
- Auth: HTTP bearer
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
Changes
- breaking
the request property
became not nullable - breaking
the request property
became not nullable
- breaking
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info