public class ListLogsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
ListLogsOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
assistantId()
Gets the assistantId.
|
String |
cursor()
Gets the cursor.
|
String |
filter()
Gets the filter.
|
ListLogsOptions.Builder |
newBuilder()
New builder.
|
Long |
pageLimit()
Gets the pageLimit.
|
String |
sort()
Gets the sort.
|
public ListLogsOptions.Builder newBuilder()
public String assistantId()
The assistant ID or the environment ID of the environment where the assistant is deployed, depending on the type of request: - For message, session, and log requests, specify the environment ID of the environment where the assistant is deployed. - For all other requests, specify the assistant ID of the assistant.
To find the environment ID or assistant ID in the Watson Assistant user interface, open the assistant settings and scroll to the **Environments** section.
**Note:** If you are using the classic Watson Assistant experience, always use the assistant ID. To find the assistant ID in the user interface, open the assistant settings and click API Details.
public String 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 (`-`).
public String filter()
A cacheable parameter that limits the results to those matching the specified filter. For more information, see the [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-filter-reference#filter-reference).
public Long pageLimit()
The number of records to return in each page of results.
public String cursor()
A token identifying the page of results to retrieve.
Copyright © 2023 IBM Cloud. All rights reserved.