public class GetSkillOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
GetSkillOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
assistantId()
Gets the assistantId.
|
GetSkillOptions.Builder |
newBuilder()
New builder.
|
String |
skillId()
Gets the skillId.
|
public GetSkillOptions.Builder newBuilder()
public String assistantId()
The assistant ID or the environment ID of the environment where the assistant is deployed. Set the value for this ID 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 get the **assistant ID** and **environment 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**.
**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 skillId()
Unique identifier of the skill. To find the action or dialog skill ID in the watsonx Assistant user interface, open the skill settings and click **API Details**. To find the search skill ID, use the Get environment API to retrieve the skill references for an environment and it will include the search skill info, if available.
Copyright © 2025 IBM Cloud. All rights reserved.