Sandboxes
Exec Command
Changed onRun a command in the sandbox. Streams NDJSON lines (application/x-ndjson): {"stdout": ...}/{"stderr": ...} chunks followed by exactly one terminal {"returncode": N} or {"error": msg} line.
post/v1/sandboxes/{sandbox_id}/exec
Request
- Base URL: https://api.deepinfra.com
- URL: https://api.deepinfra.com/v1/sandboxes/{sandbox_id}/exec
- Auth: HTTP bearer
Path parameters
sandbox_idstring required
Headers
xi-api-keystring nullable
x-api-keystring nullable
Request body
Response
Successful Response
unknown required
Changes
- info
removed the non-success response with the status
- info
- info
endpoint added
- info