Skip to content

Commit 9304df7

Browse files
authored
Update api-access.md
1 parent c629eed commit 9304df7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/watsonx-assistant/api-access.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,20 @@ This page will demonstrate how to access watsonx Assistant via an API call.
1010

1111

1212
## High level steps:
13+
14+
1. Access watsonx Assistant from Resource List in the IBM Cloud Account
15+
2. Get API Key for watsonx Assistant from Launch webpage
16+
3. Get Serice Instance URL from Launch webpage
17+
4. Get Assistant ID from webpage within the Assistant settings
18+
5. Copy the Skill ID from the watsonx Assistant settings
19+
6. Obtain the Session ID from CLI CURL
20+
21+
```{}
22+
{ curl -X POST -u "apikey:{apikey}" "{url}/v2/assistants/{environment_id}/sessions?version=2021-11-27" }
23+
curl -X POST -u "apikey:APIKEY" "URL"
24+
{
25+
"session_id":"SESSION_ID"
26+
}
27+
```
28+
7. dsgsd
29+
9.

0 commit comments

Comments
 (0)