async searchApiKeys(request) {
    const userId = request.getString("userId");
    let query = request.getBody({});
    const { from, size, scrollTTL } = request.getSearchParams();
    const lang = request.getLangParam();

    if (lang === "koncorde") {
      query = await this.translateKoncorde(query);
    }

    const searchBody = {
      query: {
        bool: {
          filter: { bool: { must: { term: { userId } } } },
          must: isEmpty(query) ? { match_all: {} } : query,
        },
      },
    };

    const apiKeys = await ApiKey.search(searchBody, {
      from,
      scroll: scrollTTL,
      size,
    });

    return {
      hits: apiKeys.map((apiKey) => apiKey.serialize()),
      total: apiKeys.length,
    };
  }
Search in an user API keys