public SearchResult<Workflow> searchV2(
            Integer start, Integer size, String sort, String freeText, String query) {
        Object[] params =
                new Object[] {
                    "start", start, "size", size, "sort", sort, "freeText", freeText, "query", query
                };
        return getForEntity("workflow/search-v2", params, searchResultWorkflow);
    }
Paginated search for workflows based on payload

@param start start value of page
@param size number of workflows to be returned
@param sort sort order
@param freeText additional free text query
@param query the search query
@return the {@link SearchResult} containing the {@link Workflow} that match the query
client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java