lib/ibm_watson/assistant_v1.rb
def list_all_logs(filter:, sort: nil, page_limit: nil, cursor: nil)
      raise ArgumentError.new("filter must be provided") if filter.nil?

      headers = {
      }
      sdk_headers = Common.new.get_sdk_headers("conversation", "V1", "list_all_logs")
      headers.merge!(sdk_headers)

      params = {
        "version" => @version,
        "filter" => filter,
        "sort" => sort,
        "page_limit" => page_limit,
        "cursor" => cursor
      }

      method_url = "/v1/logs"

      response = request(
        method: "GET",
        url: method_url,
        headers: headers,
        params: params,
        accept_json: true
      )
      response
    end
def list_all_logs(filter:, sort: nil, page_limit: nil, cursor: nil)
      raise ArgumentError.new("filter must be provided") if filter.nil?

      headers = {
      }
      sdk_headers = Common.new.get_sdk_headers("conversation", "V1", "list_all_logs")
      headers.merge!(sdk_headers)

      params = {
        "version" => @version,
        "filter" => filter,
        "sort" => sort,
        "page_limit" => page_limit,
        "cursor" => cursor
      }

      method_url = "/v1/logs"

      response = request(
        method: "GET",
        url: method_url,
        headers: headers,
        params: params,
        accept_json: true
      )
      response
    end
Logs


 @!method list_all_logs(filter:, sort: nil, page_limit: nil, cursor: nil)
 List log events in all workspaces.
 List the events from the logs of all workspaces in the service instance.

   If **cursor** is not specified, this operation is limited to 40 requests per 30
   minutes. If **cursor** is specified, the limit is 120 requests per minute. For
   more information, see **Rate limiting**.
 @param filter [String] A cacheable parameter that limits the results to those matching the specified
   filter. You must specify a filter query that includes a value for `language`, as
   well as a value for `workspace_id` or `request.context.metadata.deployment`. For
   more information, see the
   [documentation](https://cloud.ibm.com/docs/services/assistant/filter-reference.html#filter-reference-syntax).
 @param sort [String] How to sort the returned log events. You can sort by **request_timestamp**. To
   reverse the sort order, prefix the parameter value with a minus sign (`-`).
 @param page_limit [Fixnum] The number of records to return in each page of results.
 @param cursor [String] A token identifying the page of results to retrieve.
 @return [IBMCloudSdkCore::DetailedResponse] A `IBMCloudSdkCore::DetailedResponse` object representing the response.