public class CreateSessionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateSessionOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
RequestAnalytics |
analytics()
Gets the analytics.
|
String |
assistantId()
Gets the assistantId.
|
String |
environmentId()
Gets the environmentId.
|
CreateSessionOptions.Builder |
newBuilder()
New builder.
|
public CreateSessionOptions.Builder newBuilder()
public String assistantId()
Unique identifier of the assistant. To get the **assistant ID** in the watsonx Assistant interface, open the **Assistant settings** page, and scroll to the **Assistant IDs and API details** section and click **View Details**.
public String environmentId()
Unique identifier of the environment. To find the environment ID in the watsonx Assistant user interface, open the environment settings and click **API Details**. **Note:** Currently, the API does not support creating environments.
public RequestAnalytics analytics()
An optional object containing analytics data. Currently, this data is used only for events sent to the Segment extension.
Copyright © 2025 IBM Cloud. All rights reserved.