API reference · Schema
SandboxLimits
lifetime_secondsobjectrequiredHow long a sandbox lives unless extended
ShowHide 3 fields of
lifetime_secondsdefaultnumberrequiredUsed when you do not set it, in seconds
minnumberrequiredSmallest allowed, in seconds
maxnumberrequiredLargest allowed, in seconds
idle_timeout_secondsobjectrequiredHow long a sandbox may go without a run or a file operation before it ends
ShowHide 3 fields of
idle_timeout_secondsdefaultnumberrequiredUsed when you do not set it, in seconds
minnumberrequiredSmallest allowed, in seconds
maxnumberrequiredLargest allowed, in seconds
run_timeout_secondsobjectrequiredTime limit of one run
ShowHide 3 fields of
run_timeout_secondsdefaultnumberrequiredUsed when you do not set it, in seconds
minnumberrequiredSmallest allowed, in seconds
maxnumberrequiredLargest allowed, in seconds
run_max_output_bytesobjectrequiredCap on one run’s stdout plus stderr; the run is cut off past it
ShowHide 3 fields of
run_max_output_bytesdefaultnumberrequiredUsed when you do not set it, in bytes
minnumberrequiredSmallest allowed, in bytes
maxnumberrequiredLargest allowed, in bytes
max_code_bytesnumberrequiredLargest `code` of one run, in bytes
max_stdin_bytesnumberrequiredLargest `stdin` of one run, in bytes
max_concurrent_runsnumberrequiredRuns one sandbox accepts at once (Python runs queue for its one interpreter)
recorded_output_bytesnumberrequiredBytes of each of stdout and stderr kept with a run’s record (the response to the run itself has all of it)
run_retention_daysnumberrequiredDays run records are kept after their sandbox ends
max_file_bytesnumberrequiredLargest file you can upload, in bytes
max_live_per_projectnumberrequiredSandboxes one project can have at once that have not ended (the organization’s `sandboxes` quota applies too)
{
"lifetime_seconds": {
"default": 1.5,
"min": 1.5,
"max": 1.5
},
"idle_timeout_seconds": {
"default": 1.5,
"min": 1.5,
"max": 1.5
},
"run_timeout_seconds": {
"default": 1.5,
"min": 1.5,
"max": 1.5
},
"run_max_output_bytes": {
"default": 1.5,
"min": 1.5,
"max": 1.5
},
"max_code_bytes": 1.5,
"max_stdin_bytes": 1.5,
"max_concurrent_runs": 1.5,
"recorded_output_bytes": 1.5,
"run_retention_days": 1.5,
"max_file_bytes": 1.5,
"max_live_per_project": 1.5
}