sandboxes
Execute a sandbox command
Changed onExecute a command inside a sandbox and return stdout, stderr, and exit code. Use the streaming execute endpoints for long-running commands that may exceed the synchronous request deadline.
post/api/v2/sandboxes/{sandbox_id}/execute
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v2/sandboxes/{sandbox_id}/execute
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Path parameters
sandbox_idstring required
Sandbox ID or name
Request body
Response
OK
Changes
- info
endpoint added
- info