Skip to content

Commit a79e22c

Browse files
authored
Update api-access.md
1 parent dc098b0 commit a79e22c

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

docs/watsonx-assistant/api-access.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ This page will demonstrate how to access watsonx Assistant via an API call.
1111

1212
## Steps:
1313

14-
1. Access watsonx Assistant from Resource List in the IBM Cloud Account
14+
- Access watsonx Assistant from Resource List in the IBM Cloud Account
1515

1616
![test](../assets/api-access/resource.png)
1717

18-
2. Get API Key for watsonx Assistant from Launch webpage
18+
- Get API Key for watsonx Assistant from Launch webpage
1919
![test](../assets/api-access/api.png)
2020

21-
3. Get Serice Instance URL from Launch webpage
21+
- Get Serice Instance URL from Launch webpage
2222
![test](../assets/api-access/url.png)
2323

24-
4. Get Assistant ID from webpage within the Assistant settings
24+
- Copy the Assistant ID and the Skill ID from the Assistant settings
2525

2626
- Head to the Homepage of your assistant:
2727
![test](../assets/api-access/assistant-page.png)
@@ -35,20 +35,18 @@ This page will demonstrate how to access watsonx Assistant via an API call.
3535
- Get the required information from this pop-up window:
3636
![test](../assets/api-access/details.png)
3737

38-
5. Copy the Skill ID from the watsonx Assistant settings
39-
40-
6. Obtain the Session ID from CLI CURL
38+
- Obtain the Session ID from CLI CURL
4139

4240
```{}
4341
curl -X POST -u "apikey:{apikey}" "{url}/v2/assistants/{environment_id}/sessions?version=2021-11-27"
4442
```
45-
7. Get all parameters from CLI CURL
43+
- Get all parameters from CLI CURL
4644

4745
```{}
4846
curl -X GET -u "apikey:{apikey}" "{url}/v2/assistants/{assistant_id}/skills/{skill_id}?version=2021-11-27"
4947
```
5048

51-
8. Run Query from CLI CURL as API call to watsonx Agent
49+
- Run Query from CLI CURL as API call to watsonx Agent
5250

5351
```{}
5452
curl -X POST -u "apikey:{apikey}" --header "Content-Type:application/json" --data "{\"input\": {\"text\":

0 commit comments

Comments
 (0)