From 4e46cf8ffe8745e43662e5be7f2221cac9e09484 Mon Sep 17 00:00:00 2001 From: Robert Berry Date: Wed, 23 Oct 2019 16:45:14 -0400 Subject: [PATCH] fix links to API reference --- api-methods.md | 96 +++++++++++++++++++++++++------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/api-methods.md b/api-methods.md index 20208d8b..4fb21c81 100755 --- a/api-methods.md +++ b/api-methods.md @@ -2,7 +2,7 @@ copyright: years: 2015, 2019 -lastupdated: "2019-09-19" +lastupdated: "2019-10-23" subcollection: assistant @@ -38,56 +38,56 @@ The following tables list the methods that are available using the {{site.data.k | Method | Description | API ver | Reference | |:-------|:------------|:-------:|:---------:| -| **Create a session** | Create a new session. A session is used to send user input to a skill and receive responses. It also maintains the state of the conversation. | v2 | [cURL](https://{DomainName}/apidocs/assistant-v2#create-a-session){: new_window} [node](https://{DomainName}/apidocs/assistant-v2?language=node#create-a-session){: new_window} [java](https://{DomainName}/apidocs/assistant-v2?language=java#create-a-session){: new_window} [python](https://{DomainName}/apidocs/assistant-v2?language=python#create-a-session){: new_window} | -| **Delete session** | Deletes a session explicitly before it times out. | v2 | [cURL](https://{DomainName}/apidocs/assistant-v2#delete-session){: new_window} [node](https://{DomainName}/apidocs/assistant-v2?language=node#delete-session){: new_window} [java](https://{DomainName}/apidocs/assistant-v2?language=java#delete-session){: new_window} [python](https://{DomainName}/apidocs/assistant-v2?language=python#delete-session){: new_window} | -| **Send user input to assistant** | Send user input to an assistant and receive a response. | v2 | [cURL](https://{DomainName}/apidocs/assistant-v2#send-user-input-to-assistant){: new_window} [node](https://{DomainName}/apidocs/assistant-v2?language=node#send-user-input-to-assistant){: new_window} [java](https://{DomainName}/apidocs/assistant-v2?language=java#send-user-input-to-assistant){: new_window} [python](https://{DomainName}/apidocs/assistant-v2?language=python#send-user-input-to-assistant){: new_window} | +| **Create a session** | Create a new session. A session is used to send user input to a skill and receive responses. It also maintains the state of the conversation. | v2 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v2#create-a-session){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v2?code=node#create-a-session){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v2?code=java#create-a-session){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v2?code=python#create-a-session){: new_window} | +| **Delete session** | Deletes a session explicitly before it times out. | v2 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v2#delete-session){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v2?code=node#delete-session){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v2?code=java#delete-session){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v2?code=python#delete-session){: new_window} | +| **Send user input to assistant** | Send user input to an assistant and receive a response. | v2 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v2#send-user-input-to-assistant){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v2?code=node#send-user-input-to-assistant){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v2?code=java#send-user-input-to-assistant){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v2?code=python#send-user-input-to-assistant){: new_window} | ## Authoring methods {: #api-methods-authoring} | Method | Description | API ver | Reference | |:-------|:------------|:-------:|:---------:| -| **List workspaces** | List the workspaces associated with a Watson Assistant service instance. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-workspaces){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-workspaces){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-workspaces){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-workspaces){: new_window} | -| **Create workspace** | Create a workspace based on component objects. You must provide workspace components defining the content of the new workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#create-workspace){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#create-workspace){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#create-workspace){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#create-workspace){: new_window} | -| **Get information about a workspace** | Get information about a workspace, optionally including all workspace content. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#get-information-about-a-workspace){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#get-information-about-a-workspace){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#get-information-about-a-workspace){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#get-information-about-a-workspace){: new_window} | -| **Update workspace** | Update an existing workspace with new or modified data. You must provide component objects defining the content of the updated workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#update-workspace){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#update-workspace){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#update-workspace){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#update-workspace){: new_window} | -| **Delete workspace** | Delete a workspace from the service instance. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#delete-workspace){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#delete-workspace){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#delete-workspace){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#delete-workspace){: new_window} | -| **List intents** | List the intents for a workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-intents){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-intents){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-intents){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-intents){: new_window} | -| **Create intent** | Create a new intent. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#create-intent){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#create-intent){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#create-intent){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#create-intent){: new_window} | -| **Get intent** | Get information about an intent, optionally including all intent content. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#get-intent){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#get-intent){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#get-intent){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#get-intent){: new_window} | -| **Update intent** | Update an existing intent with new or modified data. You must provide component objects defining the content of the updated intent. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#update-intent){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#update-intent){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#update-intent){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#update-intent){: new_window} | -| **Delete intent** | Delete an intent from a workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#delete-intent){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#delete-intent){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#delete-intent){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#delete-intent){: new_window} | -| **List user input examples** | List the user input examples for an intent, optionally including contextual entity mentions. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-user-input-examples){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-user-input-examples){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-user-input-examples){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-user-input-examples){: new_window} | -| **Create user input example** | Add a new user input example to an intent. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#create-user-input-example){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#create-user-input-example){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#create-user-input-example){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#create-user-input-example){: new_window} | -| **Get user input example** | Get information about a user input example. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#get-user-input-example){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#get-user-input-example){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#get-user-input-example){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#get-user-input-example){: new_window} | -| **Update user input example** | Update the text of a user input example. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#update-user-input-example){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#update-user-input-example){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#update-user-input-example){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#update-user-input-example){: new_window} | -| **Delete user input example** | Delete a user input example from an intent. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#delete-user-input-example){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#delete-user-input-example){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#delete-user-input-example){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#delete-user-input-example){: new_window} | -| **List counterexamples** | List the counterexamples for a workspace. Counterexamples are examples that have been marked as irrelevant input. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-counterexamples){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-counterexamples){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-counterexamples){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-counterexamples){: new_window} | -| **Create counterexample** | Add a new counterexample to a workspace. Counterexamples are examples that have been marked as irrelevant input. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#create-counterexample){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#create-counterexample){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#create-counterexample){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#create-counterexample){: new_window} | -| **Get counterexample** | Get information about a counterexample. Counterexamples are examples that have been marked as irrelevant input. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#get-counterexample){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#get-counterexample){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#get-counterexample){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#get-counterexample){: new_window} | -| **Update counterexample** | Update the text of a counterexample. Counterexamples are examples that have been marked as irrelevant input. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#update-counterexample){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#update-counterexample){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#update-counterexample){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#update-counterexample){: new_window} | -| **Delete counterexample** | Delete a counterexample from a workspace. Counterexamples are examples that have been marked as irrelevant input. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#delete-counterexample){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#delete-counterexample){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#delete-counterexample){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#delete-counterexample){: new_window} | -| **List entities** | List the entities for a workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-entities){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-entities){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-entities){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-entities){: new_window} | -| **Create entity** | Create a new entity, or enable a system entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#create-entity){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#create-entity){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#create-entity){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#create-entity){: new_window} | -| **Get entity** | Get information about an entity, optionally including all entity content. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#get-entity){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#get-entity){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#get-entity){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#get-entity){: new_window} | -| **Update entity** | Update an existing entity with new or modified data. You must provide component objects defining the content of the updated entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#update-entity){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#update-entity){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#update-entity){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#update-entity){: new_window} | -| **Delete entity** | Delete an entity from a workspace, or disable a system entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#delete-entity){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#delete-entity){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#delete-entity){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#delete-entity){: new_window} | -| **List entity mentions** | List mentions for a contextual entity. An entity mention is an occurrence of a contextual entity in the context of an intent user input example. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-entity-mentions){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-entity-mentions){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-entity-mentions){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-entity-mentions){: new_window} | -| **List entity values** | List the values for an entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-entity-values){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-entity-values){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-entity-values){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-entity-values){: new_window} | -| **Add entity value** | Create a new value for an entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#add-entity-value){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#add-entity-value){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#add-entity-value){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#add-entity-value){: new_window} | -| **Get entity value** | Get information about an entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#get-entity-value){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#get-entity-value){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#get-entity-value){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#get-entity-value){: new_window} | -| **Update entity value** | Update an existing entity value with new or modified data. You must provide component objects defining the content of the updated entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#update-entity-value){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#update-entity-value){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#update-entity-value){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#update-entity-value){: new_window} | -| **Delete entity value** | Delete a value from an entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#delete-entity-value){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#delete-entity-value){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#delete-entity-value){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#delete-entity-value){: new_window} | -| **List entity value synonyms** | List the synonyms for an entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-entity-value-synonyms){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-entity-value-synonyms){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-entity-value-synonyms){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-entity-value-synonyms){: new_window} | -| **Add entity value synonym** | Add a new synonym to an entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#add-entity-value-synonym){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#add-entity-value-synonym){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#add-entity-value-synonym){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#add-entity-value-synonym){: new_window} | -| **Get entity value synonym** | Get information about a synonym of an entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#get-entity-value-synonym){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#get-entity-value-synonym){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#get-entity-value-synonym){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#get-entity-value-synonym){: new_window} | -| **Update entity value synonym** | Update an existing entity value synonym with new text. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#update-entity-value-synonym){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#update-entity-value-synonym){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#update-entity-value-synonym){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#update-entity-value-synonym){: new_window} | -| **Delete entity value synonym** | Delete a synonym from an entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#delete-entity-value-synonym){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#delete-entity-value-synonym){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#delete-entity-value-synonym){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#delete-entity-value-synonym){: new_window} | -| **List dialog nodes** | List the dialog nodes for a workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-dialog-nodes){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-dialog-nodes){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-dialog-nodes){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-dialog-nodes){: new_window} | -| **Create dialog node** | Create a new dialog node. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#create-dialog-node){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#create-dialog-node){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#create-dialog-node){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#create-dialog-node){: new_window} | -| **Get dialog node** | Get information about a dialog node. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#get-dialog-node){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#get-dialog-node){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#get-dialog-node){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#get-dialog-node){: new_window} | -| **Update dialog node** | Update an existing dialog node with new or modified data. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#update-dialog-node){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#update-dialog-node){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#update-dialog-node){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#update-dialog-node){: new_window} | -| **Delete dialog node** | Delete a dialog node from a workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#delete-dialog-node){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#delete-dialog-node){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#delete-dialog-node){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#delete-dialog-node){: new_window} | -| **List log events in a workspace** | List the events from the log of a specific workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-log-events-in-a-workspace){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-log-events-in-a-workspace){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-log-events-in-a-workspace){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-log-events-in-a-workspace){: new_window} | -| **List log events in all workspaces** | List the events from the logs of all workspaces in the service instance. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#list-log-events-in-all-workspaces){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#list-log-events-in-all-workspaces){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#list-log-events-in-all-workspaces){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#list-log-events-in-all-workspaces){: new_window} | -| **Delete labeled data** | Deletes all data associated with a specified customer ID. The method has no effect if no data is associated with the customer ID. | v1 | [cURL](https://{DomainName}/apidocs/assistant-v1#delete-labeled-data){: new_window} [node](https://{DomainName}/apidocs/assistant-v1?language=node#delete-labeled-data){: new_window} [java](https://{DomainName}/apidocs/assistant-v1?language=java#delete-labeled-data){: new_window} [python](https://{DomainName}/apidocs/assistant-v1?language=python#delete-labeled-data){: new_window} | \ No newline at end of file +| **List workspaces** | List the workspaces associated with a Watson Assistant service instance. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-workspaces){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-workspaces){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-workspaces){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-workspaces){: new_window} | +| **Create workspace** | Create a workspace based on component objects. You must provide workspace components defining the content of the new workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#create-workspace){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#create-workspace){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#create-workspace){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#create-workspace){: new_window} | +| **Get information about a workspace** | Get information about a workspace, optionally including all workspace content. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#get-information-about-a-workspace){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#get-information-about-a-workspace){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#get-information-about-a-workspace){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#get-information-about-a-workspace){: new_window} | +| **Update workspace** | Update an existing workspace with new or modified data. You must provide component objects defining the content of the updated workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#update-workspace){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#update-workspace){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#update-workspace){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#update-workspace){: new_window} | +| **Delete workspace** | Delete a workspace from the service instance. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#delete-workspace){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#delete-workspace){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#delete-workspace){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#delete-workspace){: new_window} | +| **List intents** | List the intents for a workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-intents){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-intents){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-intents){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-intents){: new_window} | +| **Create intent** | Create a new intent. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#create-intent){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#create-intent){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#create-intent){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#create-intent){: new_window} | +| **Get intent** | Get information about an intent, optionally including all intent content. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#get-intent){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#get-intent){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#get-intent){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#get-intent){: new_window} | +| **Update intent** | Update an existing intent with new or modified data. You must provide component objects defining the content of the updated intent. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#update-intent){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#update-intent){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#update-intent){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#update-intent){: new_window} | +| **Delete intent** | Delete an intent from a workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#delete-intent){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#delete-intent){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#delete-intent){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#delete-intent){: new_window} | +| **List user input examples** | List the user input examples for an intent, optionally including contextual entity mentions. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-user-input-examples){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-user-input-examples){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-user-input-examples){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-user-input-examples){: new_window} | +| **Create user input example** | Add a new user input example to an intent. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#create-user-input-example){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#create-user-input-example){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#create-user-input-example){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#create-user-input-example){: new_window} | +| **Get user input example** | Get information about a user input example. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#get-user-input-example){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#get-user-input-example){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#get-user-input-example){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#get-user-input-example){: new_window} | +| **Update user input example** | Update the text of a user input example. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#update-user-input-example){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#update-user-input-example){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#update-user-input-example){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#update-user-input-example){: new_window} | +| **Delete user input example** | Delete a user input example from an intent. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#delete-user-input-example){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#delete-user-input-example){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#delete-user-input-example){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#delete-user-input-example){: new_window} | +| **List counterexamples** | List the counterexamples for a workspace. Counterexamples are examples that have been marked as irrelevant input. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-counterexamples){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-counterexamples){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-counterexamples){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-counterexamples){: new_window} | +| **Create counterexample** | Add a new counterexample to a workspace. Counterexamples are examples that have been marked as irrelevant input. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#create-counterexample){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#create-counterexample){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#create-counterexample){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#create-counterexample){: new_window} | +| **Get counterexample** | Get information about a counterexample. Counterexamples are examples that have been marked as irrelevant input. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#get-counterexample){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#get-counterexample){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#get-counterexample){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#get-counterexample){: new_window} | +| **Update counterexample** | Update the text of a counterexample. Counterexamples are examples that have been marked as irrelevant input. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#update-counterexample){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#update-counterexample){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#update-counterexample){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#update-counterexample){: new_window} | +| **Delete counterexample** | Delete a counterexample from a workspace. Counterexamples are examples that have been marked as irrelevant input. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#delete-counterexample){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#delete-counterexample){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#delete-counterexample){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#delete-counterexample){: new_window} | +| **List entities** | List the entities for a workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-entities){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-entities){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-entities){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-entities){: new_window} | +| **Create entity** | Create a new entity, or enable a system entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#create-entity){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#create-entity){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#create-entity){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#create-entity){: new_window} | +| **Get entity** | Get information about an entity, optionally including all entity content. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#get-entity){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#get-entity){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#get-entity){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#get-entity){: new_window} | +| **Update entity** | Update an existing entity with new or modified data. You must provide component objects defining the content of the updated entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#update-entity){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#update-entity){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#update-entity){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#update-entity){: new_window} | +| **Delete entity** | Delete an entity from a workspace, or disable a system entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#delete-entity){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#delete-entity){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#delete-entity){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#delete-entity){: new_window} | +| **List entity mentions** | List mentions for a contextual entity. An entity mention is an occurrence of a contextual entity in the context of an intent user input example. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-entity-mentions){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-entity-mentions){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-entity-mentions){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-entity-mentions){: new_window} | +| **List entity values** | List the values for an entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-entity-values){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-entity-values){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-entity-values){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-entity-values){: new_window} | +| **Add entity value** | Create a new value for an entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#add-entity-value){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#add-entity-value){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#add-entity-value){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#add-entity-value){: new_window} | +| **Get entity value** | Get information about an entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#get-entity-value){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#get-entity-value){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#get-entity-value){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#get-entity-value){: new_window} | +| **Update entity value** | Update an existing entity value with new or modified data. You must provide component objects defining the content of the updated entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#update-entity-value){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#update-entity-value){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#update-entity-value){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#update-entity-value){: new_window} | +| **Delete entity value** | Delete a value from an entity. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#delete-entity-value){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#delete-entity-value){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#delete-entity-value){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#delete-entity-value){: new_window} | +| **List entity value synonyms** | List the synonyms for an entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-entity-value-synonyms){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-entity-value-synonyms){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-entity-value-synonyms){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-entity-value-synonyms){: new_window} | +| **Add entity value synonym** | Add a new synonym to an entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#add-entity-value-synonym){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#add-entity-value-synonym){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#add-entity-value-synonym){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#add-entity-value-synonym){: new_window} | +| **Get entity value synonym** | Get information about a synonym of an entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#get-entity-value-synonym){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#get-entity-value-synonym){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#get-entity-value-synonym){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#get-entity-value-synonym){: new_window} | +| **Update entity value synonym** | Update an existing entity value synonym with new text. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#update-entity-value-synonym){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#update-entity-value-synonym){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#update-entity-value-synonym){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#update-entity-value-synonym){: new_window} | +| **Delete entity value synonym** | Delete a synonym from an entity value. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#delete-entity-value-synonym){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#delete-entity-value-synonym){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#delete-entity-value-synonym){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#delete-entity-value-synonym){: new_window} | +| **List dialog nodes** | List the dialog nodes for a workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-dialog-nodes){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-dialog-nodes){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-dialog-nodes){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-dialog-nodes){: new_window} | +| **Create dialog node** | Create a new dialog node. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#create-dialog-node){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#create-dialog-node){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#create-dialog-node){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#create-dialog-node){: new_window} | +| **Get dialog node** | Get information about a dialog node. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#get-dialog-node){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#get-dialog-node){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#get-dialog-node){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#get-dialog-node){: new_window} | +| **Update dialog node** | Update an existing dialog node with new or modified data. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#update-dialog-node){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#update-dialog-node){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#update-dialog-node){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#update-dialog-node){: new_window} | +| **Delete dialog node** | Delete a dialog node from a workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#delete-dialog-node){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#delete-dialog-node){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#delete-dialog-node){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#delete-dialog-node){: new_window} | +| **List log events in a workspace** | List the events from the log of a specific workspace. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-log-events-in-a-workspace){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-log-events-in-a-workspace){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-log-events-in-a-workspace){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-log-events-in-a-workspace){: new_window} | +| **List log events in all workspaces** | List the events from the logs of all workspaces in the service instance. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#list-log-events-in-all-workspaces){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#list-log-events-in-all-workspaces){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#list-log-events-in-all-workspaces){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#list-log-events-in-all-workspaces){: new_window} | +| **Delete labeled data** | Deletes all data associated with a specified customer ID. The method has no effect if no data is associated with the customer ID. | v1 | [cURL](https://{DomainName}/apidocs/assistant/assistant-v1#delete-labeled-data){: new_window} [node](https://{DomainName}/apidocs/assistant/assistant-v1?code=node#delete-labeled-data){: new_window} [java](https://{DomainName}/apidocs/assistant/assistant-v1?code=java#delete-labeled-data){: new_window} [python](https://{DomainName}/apidocs/assistant/assistant-v1?code=python#delete-labeled-data){: new_window} | \ No newline at end of file