Nodes
Trigger an agent run
Changed onThis API allows to trigger an agent run on the target node. Response is a stream of the actual agent run on the node.
post/nodes/{nodeId}/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.
Path parameters
nodeIdstring uuid (or "root") required
Example:9a1773c9-0889-40b6-be89-f6504443ac1b
Id of the target node
Request body
Example request
{
"classes": [
"force_inventory"
]
}Response
Agent output
Changes
- info
added optional request body
- info