Accessing watsonx Assistant via API
Overview
This page will demonstrate how to access watsonx Assistant via an API call.
Resources
Steps
-
Access watsonx Assistant from Resource List in the IBM Cloud Account
-
Get API Key for watsonx Assistant from Launch webpage
-
Get Serice Instance URL from Launch webpage
-
Copy the Assistant ID and the Skill ID from the Assistant settings
- Head to the Homepage of your assistant:
- Access the Assistant Settings on the bottom left corner of the page:
- Select View details on the Assistant IDs and API details section of the page:
- Get the required information from this pop-up window:
-
Obtain the Session ID from CLI CURL
-
Get all parameters from CLI CURL
-
Run Query from CLI CURL as API call to watsonx Agent
Cheers! Now you can chat with your watsonx Assistant via API.