Class ListLogsOptions

All Implemented Interfaces:

public class ListLogsOptions
The listLogs options.
  • Method Details

    • newBuilder

      public ListLogsOptions.Builder newBuilder()
      New builder.
      a ListLogsOptions builder
    • assistantId

      public String assistantId()
      Gets the assistantId.

      Unique identifier of the assistant. To find the assistant ID in the Watson Assistant user interface, open the assistant settings and click **API Details**. For information about creating assistants, see the [documentation](

      **Note:** Currently, the v2 API does not support creating assistants.

      the assistantId
    • sort

      public String sort()
      Gets the sort.

      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 (`-`).

      the sort
    • filter

      public String filter()
      Gets the filter.

      A cacheable parameter that limits the results to those matching the specified filter. For more information, see the [documentation](

      the filter
    • pageLimit

      public Long pageLimit()
      Gets the pageLimit.

      The number of records to return in each page of results.

      the pageLimit
    • cursor

      public String cursor()
      Gets the cursor.

      A token identifying the page of results to retrieve.

      the cursor