v2

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

Trigger an agent run

This 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

Path parameters

nodeIdstring uuid (or "root") required
Example:9a1773c9-0889-40b6-be89-f6504443ac1b

Id of the target node

Request body

classesstring[]

Parameter to trigger a specific run, like an inventory for instance.

Example request

{
  "classes": [
    "force_inventory"
  ]
}

Response

Agent output