Agents#

Endpoint

Method

Supported since version

DELETE /agents

agent_delete

1.0.0

GET /agents

agents_list

1.0.0

POST /agents

agent_add

1.0.0

GET /agents/{agent_id}/config/{component}/{configuration}

agent_get_active_configuration_raw

1.0.0

GET /agents/{agent_id}/config/agent/anti_tampering

agent_get_agent_anti_tampering_configuration

1.0.0

GET /agents/{agent_id}/config/agent/buffer

agent_get_agent_buffer_configuration

1.0.0

GET /agents/{agent_id}/config/agent/client

agent_get_agent_client_configuration

1.0.0

GET /agents/{agent_id}/config/agent/internal

agent_get_agent_internal_configuration

1.0.0

GET /agents/{agent_id}/config/agent/labels

agent_get_agent_labels_configuration

1.0.0

GET /agents/{agent_id}/config/com/internal

agent_get_com_internal_configuration

1.0.0

GET /agents/{agent_id}/config/com/logging

agent_get_com_logging_configuration

1.0.0

GET /agents/{agent_id}/config/logcollector/internal

agent_get_logcollector_internal_configuration

1.0.0

GET /agents/{agent_id}/config/logcollector/localfile

agent_get_logcollector_localfile_configuration

1.0.0

GET /agents/{agent_id}/config/logcollector/socket

agent_get_logcollector_socket_configuration

1.0.0

GET /agents/{agent_id}/config/syscheck/internal

agent_get_syscheck_internal_configuration

1.0.0

GET /agents/{agent_id}/config/syscheck/rootcheck

agent_get_syscheck_rootcheck_configuration

1.0.0

GET /agents/{agent_id}/config/syscheck/syscheck

agent_get_syscheck_configuration

1.0.0

GET /agents/{agent_id}/config/wmodules/wmodules

agent_get_wmodules_configuration

1.0.0

DELETE /agents/{agent_id}/group

N/A

Not yet Supported

GET /agents/{agent_id}/group/is_sync

N/A

Not yet Supported

DELETE /agents/{agent_id}/group/{group_id}

N/A

Not yet Supported

PUT /agents/{agent_id}/group/{group_id}

N/A

Not yet Supported

GET /agents/{agent_id}/key

N/A

Not yet Supported

PUT /agents/{agent_id}/restart

N/A

Not yet Supported

GET /agents/{agent_id}/daemons/stats

N/A

Not yet Supported

GET /agents/{agent_id}/stats/{component}

N/A

Not yet Supported

PUT /agents/upgrade

N/A

Not yet Supported

PUT /agents/upgrade_custom

N/A

Not yet Supported

GET /agents/upgrade_result

N/A

Not yet Supported

GET /agents/uninstall

N/A

Not yet Supported

DELETE /agents/group

N/A

Not yet Supported

PUT /agents/group

N/A

Not yet Supported

PUT /agents/group/{group_id}/restart

N/A

Not yet Supported

POST /agents/insert

N/A

Not yet Supported

POST /agents/insert/quick

N/A

Not yet Supported

GET /agents/no_group

N/A

Not yet Supported

PUT /agents/node/{node_id}/restart

N/A

Not yet Supported

GET /agents/outdated

N/A

Not yet Supported

PUT /agents/reconnect

N/A

Not yet Supported

PUT /agents/restart

N/A

Not yet Supported

GET /agents/stats/distinct

N/A

Not yet Supported

GET /agents/summary

N/A

Not yet Supported

GET /agents/summary/os

N/A

Not yet Supported

GET /agents/summary/status

N/A

Not yet Supported

agent_delete#

Endpoint

DELETE /agents

Method Reference

agent_delete

Response type

WazuhBulkResponse[str, str]

agents_list#

Endpoint

GET /agents

Method Reference

agents_list

Response type

Iterable[WazuhAgent]

agent_add#

Endpoint

POST /agents

Method Reference

agent_add

Response type

WazuhAgentCredentials

agent_get_active_configuration_raw#

Endpoint

GET /agents/{agent_id}/config/{component}/{configuration}

Method Reference

agent_get_active_configuration_raw

Response type

dict[str:any]

agent_get_agent_anti_tampering_configuration#

Endpoint

GET /agents/{agent_id}/config/agent/anti_tampering

Method Reference

agent_get_agent_anti_tampering_configuration

Response type

WazuhAgentAntiTamperingConfiguration

agent_get_agent_buffer_configuration#

Endpoint

GET /agents/{agent_id}/config/agent/buffer

Method Reference

agent_get_agent_buffer_configuration

Response type

WazuhAgentBufferConfiguration

agent_get_agent_client_configuration#

Endpoint

GET /agents/{agent_id}/config/agent/client

Method Reference

agent_get_agent_client_configuration

Response type

WazuhAgentClientConfiguration

agent_get_agent_internal_configuration#

Endpoint

GET /agents/{agent_id}/config/agent/internal

Method Reference

agent_get_agent_internal_configuration

Response type

WazuhInternalConfiguration

agent_get_agent_labels_configuration#

Endpoint

GET /agents/{agent_id}/config/agent/labels

Method Reference

agent_get_agent_labels_configuration

Response type

WazuhAgentLabelsConfiguration

agent_get_com_internal_configuration#

Endpoint

GET /agents/{agent_id}/config/com/internal

Method Reference

agent_get_com_internal_configuration

Response type

WazuhInternalExecdConfiguration

agent_get_com_logging_configuration#

Endpoint

GET /agents/{agent_id}/config/com/logging

Method Reference

agent_get_com_logging_configuration

Response type

WazuhAgentLoggingConfiguration

agent_get_logcollector_internal_configuration#

Endpoint

GET /agents/{agent_id}/config/logcollector/internal

Method Reference

agent_get_logcollector_internal_configuration

Response type

WazuhInternalLogcollectorConfiguration

agent_get_logcollector_localfile_configuration#

Endpoint

GET /agents/{agent_id}/config/logcollector/localfile

Method Reference

agent_get_logcollector_localfile_configuration

Response type

WazuhAgentLocalfileConfiguration

agent_get_logcollector_socket_configuration#

Endpoint

GET /agents/{agent_id}/config/logcollector/socket

Method Reference

agent_get_logcollector_socket_configuration

Response type

WazuhAgentSocketConfiguration

agent_get_syscheck_internal_configuration#

Endpoint

GET /agents/{agent_id}/config/syscheck/internal

Method Reference

agent_get_syscheck_internal_configuration

Response type

WazuhInternalSyscheckConfiguration

agent_get_syscheck_rootcheck_configuration#

Endpoint

GET /agents/{agent_id}/config/syscheck/rootcheck

Method Reference

agent_get_syscheck_rootcheck_configuration

Response type

WazuhAgentRootcheckConfiguration

agent_get_syscheck_configuration#

Endpoint

GET /agents/{agent_id}/config/syscheck/syscheck

Method Reference

agent_get_syscheck_configuration

Response type

WazuhAgentSyscheckConfiguration

agent_get_wmodules_configuration#

Endpoint

GET /agents/{agent_id}/config/wmodules/wmodules

Method Reference

agent_get_wmodules_configuration

Response type

WazuhAgentModules