Get tasks for given agent
POST/command/tasks/agent/:AgentId/all/:AllTasks
Returns tasks for the specified agent using a POST body, with the AllTasks path parameter controlling whether all tasks or only active tasks are included. Filter results by task status, task type, or policy run ID.
Request
Responses
- 200
The response object for GetAgentTasks