Sandboxes
Execute a command within a session
Changed onpost/sandbox-sessions/{sessionId}/exec
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
sessionId, string uuid required
Headers
Idempotency-Key, string uuid required
Request body
Sandbox Command Request required
command, string required
timeout_seconds, integer
Command execution time from process start. Cloud defaults to 60 seconds and accepts 1–28800; local defaults to 0 (unlimited) and accepts nonnegative values. VM expiry always takes precedence. Cloud synchronous requests must return within the public connection idle limit (1000 seconds); use a session with a background process and short polling requests for longer work.
environment, object
Response
Execute a command within a session
Sandbox Command Result required
stdout, string required
stderr, string required
exit_code, integer required
stdout_truncated, boolean required
stderr_truncated, boolean required
timed_out, boolean required
Changes
- info
the endpoint scheme security
ProjectAccessTokenwas added to the API - info
the
timeout_secondsrequest property default value60was removed - info
the
timeout_secondsrequest property's max was increased from3600.00to2147483647.00
1 more change in this revision
- info