Function filterQuestions

  • Returns NL metrics based on provided app IDs the user has access to.

    Parameters

    • query: {
          limit?: number;
          page?: string;
          sort?:
              | "+createdAt"
              | "-createdAt"
              | "+updatedAt"
              | "-updatedAt"
              | "createdAt"
              | "updatedAt";
      }

      an object with query parameters

      • Optionallimit?: number

        The preferred number of entries returned

      • Optionalpage?: string

        A cursor pointing to the page of data to retrieve.

      • Optionalsort?:
            | "+createdAt"
            | "-createdAt"
            | "+updatedAt"
            | "-updatedAt"
            | "createdAt"
            | "updatedAt"

        A single field from the data model on which to sort the response. The '+' or '-' operator may be used to specify ascending or desending order.

    • body: NLMetricsRequest

      an object with the body content

    • Optionaloptions: ApiCallOptions

    Returns Promise<FilterQuestionsHttpResponse>

    FilterQuestionsHttpError