Skip to main content
POST
Show daemon logs (PM2)

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
clear
boolean

Flush PM2 logs for ravi

execute
boolean

Actually flush PM2 logs when --clear is set; ignored for read-only log requests

follow
boolean

Follow log output

path
boolean

Print PM2 log file path

tail
string
default:50

Number of lines to show

Response

Success — body conforms to the @Returns schema.

action
string
required
{key}
any