Managed agents

Changes to Discover retained groups for an agent definition

get/v1/agents/{id}/groups