public function search($sessionId, Search $search, $hits)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['sessionId' => $sessionId, 'search' => $search, 'hits' => $hits], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->post('v1/events/search', $parameters, true);

        return $result;
    }