<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Andy Stoneberg on Medium]]></title>
        <description><![CDATA[Stories by Andy Stoneberg on Medium]]></description>
        <link>https://medium.com/@stonebaj?source=rss-11f9d7fedfa3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pKa5JvqCczsTstlR.jpg</url>
            <title>Stories by Andy Stoneberg on Medium</title>
            <link>https://medium.com/@stonebaj?source=rss-11f9d7fedfa3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 09:29:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@stonebaj/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Watson Assistant API: From V1 to V2]]></title>
            <link>https://medium.com/ibm-watson/watson-assistant-api-from-v1-to-v2-61edb0bce164?source=rss-11f9d7fedfa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/61edb0bce164</guid>
            <category><![CDATA[watson-assistant]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Andy Stoneberg]]></dc:creator>
            <pubDate>Thu, 13 Oct 2022 17:46:35 GMT</pubDate>
            <atom:updated>2022-10-13T17:50:41.876Z</atom:updated>
            <content:encoded><![CDATA[<h4>The new Watson Assistant experience is powered by a redeveloped API. This article outlines what’s changed and what hasn’t in the evolution from V1 to V2.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*ihbBnE_Gv9_wUXZxlT5OZA.png" /><figcaption>© IBM 2022</figcaption></figure><p>Watson Assistant is leaning hard<strong> </strong>into <a href="https://medium.com/ibm-watson/an-expert-practitioners-guide-to-the-new-watson-assistant-25f42aad03eb">the new experience</a>, and a key element of the new information architecture is the V2 API. Lots of exciting new features to manage your assistant’s lifecycle, and bring value to your clients, are available through the new experience and the V2 API.</p><p>If you find yourself stuck using the V1 API because you fear what changes lie lurking in the new experience, I’m going to, hopefully, illustrate how to leverage the V2 API in your application and give you the confidence to make the switch!</p><h3>The V1 API</h3><p>Let’s review how to get up and running with the V1 API. We will step through, in painstaking detail, what requests and responses are involved in creating your workspace, ensuring the natural language understanding (NLU) models have been successfully trained, and leveraging the models to classify utterances provided by a user. That journey looks like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zWiunI_3WBiZ3-z4afEa3Q.png" /><figcaption>Simple V1 API Workflow</figcaption></figure><p>A <strong>workspace</strong> is the fundamental building block of the V1 API. All training data used in intent classification and entity detection is provided as part of a workspace.</p><p>To get started, a user must create a workspace with relevant data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*6D5r3zb5B--oRbQ-5KEeBQ.png" /><figcaption>POST v1/workspaces</figcaption></figure><ul><li>From the above screenshot, we can see a workspace was created with a <strong>workspace_id</strong> value of 3c9f7e53-a225–47f0–89c9–24ac5e041098</li></ul><p>Once a workspace is created, the system will begin to train <a href="https://medium.com/ibm-watson/under-the-hood-all-the-natural-language-understanding-technology-that-makes-watson-assistant-fb8aaaca2f16">a set of machine learning (ML) and NLU models</a> based on the included training data. Before the /message endpoint can be used, we want to ensure the NLU models are Available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*2mLqV90i7CjYidGmFpJV8w.png" /><figcaption>GET v1/workspaces/{workspace_id}</figcaption></figure><p>Once the NLU models areAvailable, we are ready to invoke the /message API. A V1 /message API request is composed of three types of information:</p><ul><li><strong>input</strong></li><li><strong>context</strong></li><li><strong>user_id</strong></li></ul><p><strong>input</strong> determines how the system processes the request. It contains the “utterance” of the user (input.text) plus optional flags that influence the processing or response of the API call.</p><p><strong>context</strong> is additional information that can be associated with the multi-turn conversation throughout its duration and be leveraged by client applications. It does NOT influence the behavior of Watson Assistant when processing a request.</p><p><strong>user_id </strong>is a unique identifier for a given user interacting with your assistant. While the system provides a randomly generated string if this value is not specified, it is a good idea for your system to identify users. The majority of Watson Assistant plans are billed based on “users” as identified by this attribute — so relying on randomly generated identifiers can lead to unnecessary charges to your IBM Cloud account!</p><p>For an initial /message API request, it’s likely <strong>context</strong> is not very interesting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*o5ykBzv4eYN4dt2bqOJsCA.png" /><figcaption>POST v1/workspaces/{workspace_id}/message</figcaption></figure><p>The response for the above request contains a lot more information because of the system processing the message.</p><p>To help understand what is being returned, let’s break the response into two groups: <em>everything except context</em> and <em>context</em>.</p><p>First, the <em>non-context</em> information:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*Jx-PZDq5mhzp7T4-CpnVzg.png" /><figcaption>POST v1/workspaces/{workspace_id}/message Response</figcaption></figure><ul><li><strong>intents</strong> is the collection of intents classified based on the user’s utterance in reference to the trained NLU models</li><li><strong>entities</strong> is the collection of entities detected based on the user’s utterance in reference to the trained NLU models</li><li><strong>input</strong> is merely a reflection of what was provided in the request<br>-<em> The </em><strong><em>spellcheck</em></strong><em> feature can augment this attribute to provide additional information</em></li><li><strong>output</strong> is constructed based on evaluating the <strong>intents</strong>/<strong>entities</strong>/<strong>context</strong> against the <strong>dialog_nodes</strong> provided in the training data of the workspace. This attribute then provides the information around how a bot should respond to an end user</li><li><strong>user_id </strong>reflects the value provided in the request <em>(or a system generated value if no value was provided)</em></li></ul><p>Now, the <em>context</em> information:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*3AnWv14G_c4LE_aMM7nK6w.png" /><figcaption>POST v1/workspaces/{workspace_id}/message Response Context</figcaption></figure><ul><li><strong>conversation_id</strong>, <strong>system</strong>, and <strong>metadata</strong> are important for the duration of a given user’s multi-turn conversation — and typically should not be modified</li><li><strong>init</strong> / <strong>greeted</strong> / <strong>a_null_var</strong> are <em>user_defined</em> context variables configured in a <strong>dialog_node</strong> of the workspace to populate. In V1 /message, <em>user_defined</em> attributes can appear anywhere in context</li><li><strong>something_arbitrary </strong>is the <em>user_defined</em> context variable that was specified in the body of the request</li></ul><p>Based on the example above, any subsequent /message API request needs to “carry forward” the context. While <em>user defined</em> attributes can be modified, conversation_id, system, and metadata should be preserved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*VyxOrIiHx_fuqexEEenxDA.png" /><figcaption>POST v1/workspaces/{workspace_id}/message Subsequent Request</figcaption></figure><p>This propagation of <strong>context</strong> into a subsequent /message API request is what we refer to as V1 /message being <em>“</em>stateless<em>”</em>. The system does not remember any stateful information from one /message API request to the next, meaning all the necessary information must be provided by the client to advance a multi-turn conversation.</p><p>The response for the above request contains information similar to what we saw on the initial request, but relevant to the specific point of the conversation based on the <strong>dialog_nodes</strong> configuration.</p><p>Again, we will first look at the <em>non-context</em> information:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*0W-oQEnFQlBIKcBUftZMOw.png" /><figcaption>POST v1/workspaces/{workspace_id}/message Subsequent Response</figcaption></figure><ul><li>The explanation of the above attributes is identical to the analysis of the initial /message API invocation:<br>- The <strong>actions </strong>attribute present in this response is due to a <em>Dialog Callout</em> I have configured on the <strong>dialog_node</strong> that handled this request <br>- ℹ️ Note: this actions<strong> </strong>attribute is completely unrelated to the <strong><em>actions skill</em></strong><em> </em>that will be discussed in the following section</li></ul><p>And now, <em>context</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*3joGAe1D5vPs3aJ40dU_3w.png" /><figcaption>POST v1/workspaces/{workspace_id}/message Subsequent Response</figcaption></figure><ul><li>As before, the explanation of the above attributes is identical to the analysis of initial /message API invocation</li></ul><p>Congratulations, you are now intimately familiar with the structure of the V1 /message API!</p><p>Let’s “up the ante” and take a similarly analytical approach to the V2 API.</p><h3>The V2 API</h3><p>Building on the prior section, a comparable V2 workflow has an additional step. First, an <strong>assistant</strong> is created (which automatically creates a draft and live<strong>environment)</strong>, then an <strong>actions skill</strong>.</p><p>Then, we are on more familiar footing: the training status needs to be checked to confirm various NLU models are available before user utterances can be analyzed. Again, for the “picture people” out there, the following diagram illustrates what we are going to work through.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9698lXLZ0I2qW_xjw54oZA.png" /><figcaption>Simple V2 API Workflow</figcaption></figure><p>While in V1 a <strong>workspace</strong> was the fundamental building block of the API, the V2 API has been designed to handle more complex use cases. The V2 API works seamlessly over a variety of channels, integrations, and customer-defined webhooks. With extensibility a design point, the API can more easily adapt to future functional enhancements with minimal effort required for customers to adopt.</p><p>In V2, the fundamental building blocks are <strong>skills</strong> and <strong>environments</strong>.</p><ul><li>A <strong>skill</strong> is a resource that represents a particular runtime capability of Watson Assistant. Today we support skill types of <em>dialog, actions, </em>and s<em>earch:</em><br>- The <strong>dialog skill</strong> is the spiritual successor to the <strong>workspace<br></strong>-<strong> </strong>The <strong>actions skill</strong> is the evolution of the <strong>dialog skill<br></strong>-<strong> </strong>The <strong>search skill</strong> integrates <a href="https://www.ibm.com/cloud/watson-discovery"><em>Watson Discovery</em></a> into the V2 /message API</li><li>An <strong>environment</strong> is a resource that organizes and orchestrates the invocation of skills</li></ul><p>The <strong>assistant </strong>is then the container for skills, environments, and other resources that help create and manage a production assistant. Again, the assistant does not orchestrate messages — that role is served by an environment.</p><p>Assistants define the scope in which a skill may be accessed. For skills to be invoked via /message, <strong>a skill must be assigned to an environment</strong>. This relationship between a skill and an environment is referred to in the API as a <em>skill reference</em>.</p><p>To get started in V2, a user need only create an assistant. Once the assistant is created, the system will <em>automatically</em> :</p><ul><li>create 2 <strong>environments<br></strong>- draft: <em>automatically updates</em> as changes are made to any skills<strong><br></strong>- live: only updates via <em>explicit</em> <em>user action</em></li><li>create (empty) <strong>actions </strong>and<strong> search skills</strong> defined on the <strong>assistant</strong></li><li>assign the <strong>actions skill</strong> to the draft <strong>environment</strong></li></ul><p>While all this might seem like <em>information overload</em>, getting up and running has never been easier through the <a href="https://medium.com/@donalloconnor/an-expert-practitioners-guide-to-the-new-watson-assistant-25f42aad03eb"><em>New Watson Assistant experience</em></a>! As we dive into what this looks like from an API experience to compare and contrast with the V1 perspective, please note not all the APIs I reference here are <a href="https://cloud.ibm.com/apidocs/assistant/assistant-v2">publicly available</a> (<em>yet</em>). For those that are not publicly available, the Watson Assistant Tooling serves those use cases well.</p><p><em>ℹ️ The following use case, for simplicity, will only leverage the </em><em>draft </em><strong><em>environment. </em></strong><em>Working amongst different environments within an assistant will be covered in a later article.</em></p><p>First, we create an assistant:</p><ul><li><em>Again, the creation of the assistant does a lot of heavy lifting in the background creating and setting up additional resources</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*MTXxvBYxzdVgkWZ6eBS-Mg.png" /><figcaption>POST v2/assistants (⚠️ <strong>private api <em>subject to change</em>⚠️)</strong></figcaption></figure><ul><li>There is a <em>lot</em> of information embedded in this response, but it’s out of scope to the task at hand. I hope at some point in the future dive into these details in much greater detail. For now, the relevant information to note is the <strong>assistant_id</strong> value of d27fb9ca-ae10–4f39-b36e-db467fbe58f8 and the draft <strong>environment_id</strong> value of 66ab8757-d410–41d2–9ce0–00e7e11e51bd</li></ul><p>With an assistant<strong> </strong>created, we can now add a <strong>dialog skill </strong>to do a more apples-to-apples comparison to the V1 scenario above.</p><p>While the <em>New Watson Assistant experience </em>prefers the actions skill<em> </em>as the training data container, <strong>a dialog skill can be added alongside the actions skill to help support established systems</strong>. When a dialog skill is active on the assistant, it acts the primary skill and can delegate to the actions skill where appropriate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*bO8x_W8tyTNRY7Xo-TxC6g.png" /><figcaption>POST v2/assistants/{assistant_id}/skills (⚠️ <strong>private api <em>subject to change</em>⚠️)</strong></figcaption></figure><ul><li>From the above screenshot, we can see a skill was created with a <strong>skill_id</strong> value of b83e1306–4550–46c3–9ed7–4e5b1ed6b973</li><li>Notice the request payload has a workspace attribute that includes training data in the same format we observed for a V1 workspace</li><li>The <strong>status </strong>attribute present at the root of the response reflects the state of the skill. In V2, in order to more reliably handle larger payloads, the API can work asynchronously. The root level <strong>status</strong> attribute indicates if the asynchronous processing of the skill is complete</li></ul><p>As with V1, you want to make sure your skill has finished training before invoking the V2 /message API. While the <em>Watson Assistant Tooling</em> provides a beautiful banner to keep you informed, a peek behind the curtain from an API standpoint looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*Gqyr_HQr0LkWZee4bFbngg.png" /><figcaption>POST v2/assistants/{assistant_id}/skills/{skill_id} (⚠️ <strong>private api <em>subject to change</em>⚠️)</strong></figcaption></figure><ul><li>The status attribute embedded under the <strong>workspace_reference</strong> property is analogous to the status attribute from V1</li></ul><p>With our assistant<strong> </strong>now configured with a properly trained <strong>dialog skill,</strong> we are ready to invoke the V2 /message API! To appreciate the differences in V2, we will replicate the same scenario we played out for the V1 API analysis.</p><p>Before we start to to dive into JSON payloads again, I want to briefly call out another important difference in the V2 API. The /message API in V2 comes in 2 different varieties:</p><ul><li><a href="https://cloud.ibm.com/apidocs/assistant/assistant-v2#message"><strong>stateful</strong></a><strong> : </strong>context is managed by the system and must be explicitly configured to return in an API call <br>- ( input.options.return_context: true)</li><li><a href="https://cloud.ibm.com/apidocs/assistant/assistant-v2#messagestateless"><strong>stateless</strong></a><strong> : </strong>context is always returned to the client and expected to be provided on subsequent call<br>- This is the <a href="https://medium.com/ibm-watson/the-new-watson-assistant-v2-stateless-api-unlock-enterprise-features-today-2c02a4bbdef5">same paradigm that exists for V1 </a><a href="https://medium.com/ibm-watson/the-new-watson-assistant-v2-stateless-api-unlock-enterprise-features-today-2c02a4bbdef5">/message API</a></li></ul><p>Please note the following examples will leverage the <strong>stateless</strong> variant of the V2 /message API. Now, lets starts to see what this looks like in practice by sending our initial call!</p><p>⚠️ One last explanatory interlude:</p><p>In the following screenshots, a discerning reader<em> </em>may notice and wonder why we are providing the environment_id value in the v2/assistants/{id}/message endpoint.</p><p>This is supported in order to allow existing customers to adopt the the <em>new Watson Assistant experience </em>with limited changes. In time, we will be rolling out a POST v2/assistants/{assistant_id}/environments/{environment_id}/message endpoint that more naturally maps to the new data model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*3YP0QrrICypm2tZY-6x97w.png" /><figcaption>POST v2/assistants/{environment}/message</figcaption></figure><ul><li><strong>input</strong> closely follows its V1 equivalent, except now a <strong>message_type: text</strong> attribute is included. Today, <strong>text</strong> is the only support value for <strong>message_type</strong>, but leaves open the ability to support non-textual input in the future</li><li><strong>context</strong> is more expressive now in order to differentiate across multiple skills. The skills attribute encompasses all context across any skill associated with the assistant. Value attributes for the skills object are:<br>- main skill<strong> </strong>(<strong>dialog skill</strong>)<br>- actions skill<strong> </strong>(<strong>actions skill</strong>)<br>- search skill (<strong>search skill</strong><em>)</em><br>ℹ️ Yes, I do regret and humbly apologize for the whitespace included in those attribute names!</li><li>With a given skills child object, any attributes you wish to provide to the system should appear under the <strong>user_defined</strong> attribute. This additional level of nesting ensures new features or attributes introduced by the Watson Assistant development team won’t interfere with behavior you rely upon!</li><li><strong>user_id</strong> behaves in the same manner as V1.</li></ul><p>Let’s dive into the response. Again, as we did with V1, let’s break the response into two groups: <em>everything except context</em> and <em>context</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*qFsGKVvG22M-jL9oH3enKw.png" /><figcaption>POST v2/assistants/{environment_id}/message Response</figcaption></figure><p>With the V1 response in mind, there are a few key differences to call out here:</p><ul><li>The <strong>intents</strong> collection is now nested under <strong>output</strong></li><li>The <strong>entities</strong> collection is now nested under <strong>output</strong></li><li>Both <strong>intents </strong>and <strong>entities</strong> have a skill attribute as a result of configuring the assistant<strong> </strong>with a dialog skill<em>. </em>The skill attribute has a value aligned with the <strong>context.skills</strong> child attributes discussed as part of the V2 /message<strong> </strong>request payload. This attribute informs you, in more complex cases when a dialog skill delegates to an actions skill, how the system is interpreting the request</li><li>The <strong>input</strong> element is no longer “echoed back” in the response</li></ul><p>Next, the <em>context</em> information:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*nv5bHFAZYj0fjjKcb8zk3g.png" /><figcaption>POST v2/assistants/{environment_id}/message Response</figcaption></figure><p>This is a significant departure from the V1 context<strong> </strong>but enables greater extensibility and coherency. Let’s look into what is going on here:</p><ul><li><strong>context </strong>is divided into 2 categories: <strong>global</strong> and <strong>skills</strong></li><li><strong>context.global.system</strong> acts much like a <strong>system </strong>attribute in V1. Namely, <em>it’s not meant to be messed with</em>. To further reinforce the importance of not modifying this information, the majority of it is encoded. Values rendered <em>readably</em> provide necessary information to facilitate debugging but still should not be modified</li><li><strong>context.global.system.session_id</strong> serves the same purpose as <strong>context.conversation_id</strong> in the V1 API</li><li><strong>skills.main skill.user_defined</strong> clearly captures the values provided by the client, both from the dialog skill definition and any additional context defined in the request</li><li><strong>skills.main skill.system</strong> acts like you can probably expect given it’s named <strong>system:</strong> it’s internal data leveraged by the Watson Assistant service that is not intended to be modified</li></ul><p>As with the V1 API, any subsequent /message API request needs to “carry forward” the <strong>context</strong>. While <strong>context.skills.* skill.user_defined</strong> attributes can be modified, <strong>context.global.system </strong>and <strong>context.skills.* skill.system </strong>values should be preserved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*9lswv5dmnLitiUyFvJnD2Q.png" /><figcaption>POST v2/assistants/{environment_id}/message Subsequent Request</figcaption></figure><p>This example, in order to align with what was outlined in the V1 API, leverages the <a href="https://cloud.ibm.com/apidocs/assistant/assistant-v2#messagestateless"><em>V2 stateless /message API</em></a><em>.</em> As such, propagation of <strong>context</strong> into a subsequent /message API request is still necessary. Out of scope to this article, there is also a <a href="https://cloud.ibm.com/apidocs/assistant/assistant-v2#message"><em>stateful variant of the /message API</em></a> available in V2.</p><p>Once again, we will first look at the <em>non-context</em> information of the response:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*_6yqLNqc8sOziR36K0T-aQ.png" /><figcaption>POST v2/assistants/{environment_id}/message Subsequent Response</figcaption></figure><p>The explanation of the above attributes is identical to the analysis of initial V2 /message API invocation. As with V1, the actions<strong> </strong>attribute present in the output<strong> </strong>attribute of the response is due to a <em>Dialog Callout</em> I have configured on the <strong>dialog_node</strong> of the dialog skill<em> </em>that handled this request.</p><p>And, lastly<em>, </em>the<em> context</em><strong> </strong>information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*9JSchcDHGQPkOrhwCrGQmw.png" /><figcaption>POST v2/assistants/{environment_id}/message Subsequent Response</figcaption></figure><p>No real surprises here. The explanation of the above is identical to the analysis of initial V2 /message API invocation.</p><p>Pat yourself on the back. That was an <em>intensive API overview</em>.</p><p>Let’s summarize everything we have discussed and highlight some additional differences not covered in the trivial example above.</p><h3>Key Differences</h3><p>Following the <a href="https://en.wikipedia.org/wiki/Pareto_principle">Pareto Principle</a>, it is not unreasonable to assume this review of the differences between V1 and V2 API behavior covers 80% of the use cases a client would be interested in. That said, failure to appreciate differences on (API) <em>paths less travelled</em> can still result in a very frustrating debugging experience for a Watson Assistant customer, and potentially an unhappy user of that customer’s assistant.</p><p>In the interest of complete disclosure, the following tables outline all the differences you can expect on request and response payloads:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e1e113ee412367722ce0763b8112c71a/href">https://medium.com/media/e1e113ee412367722ce0763b8112c71a/href</a></iframe><h3>API Versions</h3><p>Until now, we have focused on the <strong>major </strong>API version differences. However, there is an additional piece to this puzzle: the <strong>minor</strong> API version. While minor versions are “tweaks” (whereas major versions are typically complete overhauls), failure to account for minor API version differences can still break your application!</p><p>It’s not far-fetched to think, for an established customer that has been happy with Watson Assistant, that a given client application is not using the latest supported minor API version. While minor API version releases are always documented in the <a href="https://cloud.ibm.com/docs/assistant?topic=assistant-release-notes">IBM Watson Assistant Release Notes</a>, there is a lot of <em>other information unrelated to the API</em><strong><em> </em></strong>that is documented. This makes it sometimes tricky to identify what you should be aware of when upgrading from an old minor<strong> </strong>version.</p><p>Lucky for you, I have done all the necessary scrolling and squinting required to summarize the relevant API changes below! Changes come in a couple different flavors:</p><ul><li>Schema changes<br>- <em>request/response attributes outright removed, or with changes to data type</em></li><li>Data type changes<br>- <em>specific type of schema change that only involves the data type of the attribute changing</em></li><li>Behavioral changes<br>- <em>request/response schemas unchanged, but response content could be different</em></li></ul><p>I have tried to explicitly call out what type of changes occur in each API version in the table below.<br>- <em>The </em><em>Release Notes column is a link to the </em><a href="https://cloud.ibm.com/docs/assistant?topic=assistant-release-notes"><em>official Watson Assistant Release Notes</em></a><em> for the given API version.</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/20fa0ce2990a2628f53bc9d5d18d6610/href">https://medium.com/media/20fa0ce2990a2628f53bc9d5d18d6610/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61edb0bce164" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ibm-watson/watson-assistant-api-from-v1-to-v2-61edb0bce164">Watson Assistant API: From V1 to V2</a> was originally published in <a href="https://medium.com/ibm-watson">IBM watsonx Assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>