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
Request
- Base URLhttps://rudder.example.com/rudder/api/latest
- AuthAPI key in header X-API-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Result
Example response
{
"data": [
{
"id": "249e14ac-2418-457c-a27d-1650907b13c7",
"hostname": "node.example.com",
"result": "Started"
}
]
}Changes
No recorded changes to this operation across all 7 revisions of this API.