Skip to content

Stream plugin debug messages from the node

Request

Opens a streaming session that subscribes to internal plugin debug messages. Optionally filter by plugin name. Messages arrive formatted as HH:MM:SS.mmm: {message} lines.

Use ?wait=1 to buffer messages until the session ends.


Requires nodes::service:node-debug or nodes::remote-execute permission.

Security
JWTAuthorizer
Path
nodeIDstringrequired

Node ID

Query
waitinteger

Pass 1 to block until the node responds and return its output.

Value:1
Bodyapplication/json
pluginstring

Plugin name to filter. Use any or omit to receive all plugins.

Example:"network"
curl -i -X POST \
  'https://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/node-debug?wait=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "plugin": "network"
  }'

Responses

OK

Bodyapplication/json
boolean
Response
true