External DocumentationTo learn more, visit the Wazuh Server documentation.
Actions
Add Agent
Add a new agent.

Preview this Workflow on desktop
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Description |
|---|---|
| IP | The IP of the agent. Allowed values: IP, IP/NET, ANY. Note: If this is not included, the API will get the IP automatically. |
| Name | The name of the agent. |
| Pretty | Select to show results in human-readable format. |
| Wait For Complete | Select to disable timeout response. |
{
"data": {
"id": "009",
"key": "MDA5IE5ld0hvc3RfMiAxMC4wLjEwLjExIDhkNjllMzRiYTM2ZjcwMzgzZmVkNTIyNzk4MzFiZDg2NWQzZGRkZjJhMTkwZWR jMjY5YmRhOTY1ODU4M2JkMjg="
},
"error": 0
}
Was this page helpful?