Skip to main content
POST
Send a signal to an exec

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Optional client-chosen key (e.g. a UUID, at most 255 characters) that makes the call safe to retry. Within 24 h, the same key with the same request returns the stored response instead of acting twice; the same key with a different request fails with idempotency_key_reused; a request with a key that's still being processed fails with request_in_progress.

Required string length: 1 - 255

Path Parameters

sandbox_id
string
required

Sandbox ID (sb-…).

Required string length: 1 - 64
exec_id
string
required

Exec ID (exec-…).

Required string length: 1 - 64

Body

application/json

Which signal to send.

signal
enum<string>
default:SIGKILL

Default SIGKILL.

Available options:
SIGTERM,
SIGKILL,
SIGINT,
SIGHUP,
SIGQUIT,
SIGUSR1,
SIGUSR2

Response

The exec as it is right after the signal.

data
object
required

A process started in a sandbox. It keeps running when clients disconnect. Execs live as long as their sandbox.