code: public Results<AgentGroup> searchAgentGroups(String groupType, SearchParams searchParams) throws ProvisioningApiException {
  		return searchAgentGroups(
  			groupType,
  			searchParams.getLimit(),
  			searchParams.getOffset(),
  			searchParams.getSearchTerm(),
  			searchParams.getSearchKey(),
  			searchParams.getMatchMethod(),
  			searchParams.getSortKey(),
  			searchParams.getSortAscending(),
  			searchParams.getSortMethod()
  		);
  	}
docs: Get agent groups.
  Get agent groups from Configuration Server with the specified filters.
  @param groupType the agent group type. (optional)
  @param searchParams object containing remaining search parameters (limit, offset, searchTerm, searchKey, matchMethod, sortKey, sortAscending, sortMethod).
  @return Results object which includes list of agent groups and total count.
  @throws ProvisioningApiException if the call is unsuccessful.