Skip to main content
POST
Rollback completed runtime turns

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
session
string
required

Ravi session name or key

execute
boolean

Actually roll back runtime turns; default is a dry-run that only shows the plan (exit 3)

thread
string

Runtime thread id; defaults to current thread

turns
string

Number of completed turns to rollback

Response

Success — body conforms to the @Returns schema.

ok
boolean
required
data
any
error
string
operation
string
{key}
any