Stop a process
Stop a process: SIGTERM → grace → SIGKILL over the process group. force=true sends SIGKILL immediately.
Stop a process: SIGTERM → grace → SIGKILL over the process group. force=true sends SIGKILL immediately.
Authorization
apiKey API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
Sandbox ID (ULID)
Process ULID or name
Query Parameters
Skip graceful escalation and send SIGKILL immediately
Wake a paused sandbox to serve this request
Response Body
application/json
application/problem+json
curl -X DELETE "https://api-dev.tektona.ai/v1/sandboxes/string/processes/string"{ "$schema": "https://api-dev.tektona.ai/schemas/ProcessDTO.json", "already_finished": true, "autostart": true, "command": "string", "cwd": "string", "error": "string", "exit_code": 0, "finish_reason": "string", "finished_at": "2019-08-24T14:15:22Z", "id": "string", "max_log_bytes": 0, "name": "string", "on_hibernate": "string", "pid": 0, "prevent_auto_pause": true, "restarted_from": "string", "signal": "string", "started_at": "2019-08-24T14:15:22Z", "status": "running", "stderr": "string", "stdout": "string", "tty": { "cols": 0, "enabled": true, "rows": 0 }, "user": "string"}{ "$schema": "https://api-dev.tektona.ai/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}Start a process POST
Start a process in a sandbox. With wait=true, blocks until the process exits (up to wait_timeout_seconds) and returns the finished result; otherwise returns the running process. Always auto-resumes a paused sandbox.
Write process stdin PUT
Write base64-encoded stdin bytes to a pipe-mode process.