v2

latestOpenAPI 3.1.0CC-BY-SA 2.02026-07-2617789528.6 KB
Nodes

Trigger an agent run on all nodes

This API allows to trigger an agent run on all nodes. Response contains a json stating if agent could be started on each node, but not if the run went fine and do not display any output from it. You can see the result of the run in Rudder web interface or in the each agent logs.

post/nodes/applyPolicy

Response

Result

result'success' | 'error' required

Result of the request

action'applyPolicyAllNodes' required

The id of the action

Example response

{
  "data": [
    {
      "id": "249e14ac-2418-457c-a27d-1650907b13c7",
      "hostname": "node.example.com",
      "result": "Started"
    }
  ]
}