Start a process
Process Management
Start Process
Start a new process through the sandbox proxy, for example on https://<sandbox-id-or-name>.sandbox.tensorlake.ai.
POST
Start a process
Start a new process inside a sandbox.
Use this endpoint on the sandbox proxy host:
Endpoint
Example Request
Request Body
commandis required.argsdefaults to[].envdefaults to{}and is applied to the process environment.working_diris optional.useris optional and accepts a username, UID string,uid:gidstring, or an object such as{"uid": 1000, "gid": 1000}. The default istl-user.stdin_modeacceptsclosedorpipe. The default isclosed.stdout_modeandstderr_modeacceptcaptureordiscard. The default iscapture.
Response
Tensorlake returns201 Created with the started process metadata:
handle is a daemon-local stable identifier. Route paths use the operating-system pid.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Process created successfully
Available options:
running, exited, signaled, oom_killed