Skip to main content
POST
Register a job that is already running (internal: detach wrapper)

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Used by ordinary gateway operations; not accepted by Console-only operations. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
agent
string

Agent that owns the job

command
string

Original command line

cwd
string

Working directory

exit
string

The command already finished with this exit code

id
string

Job id chosen by the wrapper

log
string

Log file the command writes to

pid
string

PID of the process that owns the command

session
string

Session to notify when the job finishes

Response

Success — body conforms to the @Returns schema.

id
string
required
logPath
string
required
origin
string
required
pid
number | null
required
status
string
required