简体   繁体   中英

IBM Watson Assistant: How to get list of intents by API?

Please is there any API to get a list of intents for an assistant like it exist for Logs: GET /v2/assistants/{assistant_id}/logs

I used this URL but it dosen't work: GET /v2/assistants/{assistant_id}/intents

The V1 API of IBM Watson Assistant provides access to intents, entities and more. See the " List Intents " API function for what you want to achieve.

The docs have sample code for various programming languages, but the intent data could be retrieved using curl , too:

curl -u "apikey:{apikey}" "{url}/v1/workspaces/{workspace_id}/intents?version=2021-06-14"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM