<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can' get list of all models through VIYA API in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/681576#M912</link>
    <description>&lt;P&gt;What about returning all (in particular user defined) pipeline templates? Would that be possible to find through the api?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Sep 2020 09:57:21 GMT</pubDate>
    <dc:creator>Ullsokk</dc:creator>
    <dc:date>2020-09-04T09:57:21Z</dc:date>
    <item>
      <title>Can' get list of all models through VIYA API</title>
      <link>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/680948#M910</link>
      <description>&lt;P&gt;I am trying to get a list of all models in the viya model studio through the API. I have connected, and created a couple of models through the API. These models are show in SAS model studio just like the models created in the model studio GUI. But I can't find the correct html to retrieve a list of all models.&lt;/P&gt;&lt;P&gt;I can get a list projects in&amp;nbsp;/Model Repositories/DMRepository using the following request:&lt;/P&gt;&lt;P&gt;//sas-server/modelRepository/models/&lt;/P&gt;&lt;P&gt;These are a handfull of models registered to model studio, not a complete list of all models.&lt;/P&gt;&lt;P&gt;Note that this is not the path in the documentation (mlPipelineAutomation/projects), which returns a 403 Forbidden response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I cant get a list of all individual models, e.g. those created through the API, but not yet registered to model manager\model repository, by navigating in browser to&amp;nbsp; //sas-server/analyticsGateway/projects&lt;/P&gt;&lt;P&gt;I have tried a get request to:&lt;/P&gt;&lt;P&gt;analyticsGateway/projects&lt;/P&gt;&lt;P&gt;but get a 403 access denied though python. However, the models I created in from the API seem to be stored in my user folder. But the URI for the procjects point to&amp;nbsp;analyticsGateway/projects/&amp;amp;id, an &amp;amp;id that I cannot find when navigating to&amp;nbsp;analyticsGateway/projects in browser.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find anything in the documentation with regards to obtaining anything other than "&lt;SPAN&gt;get all available automation projects.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to get a list of all created models, the same list shat is shown in model studio? Or do I have to register a model to model repository to get an id and e.g. delete the model?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 12:40:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/680948#M910</guid>
      <dc:creator>Ullsokk</dc:creator>
      <dc:date>2020-09-02T12:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can' get list of all models through VIYA API</title>
      <link>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/681541#M911</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/68234"&gt;@Ullsokk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I tried this out on my own and spoke to a developer about the API. Currently, there is no API endpoint that returns all Model Studio models. I verified that the /modelRepository/models/ API only returns registered models. There are ideas about creating such an API, but there is not ETA on the functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 02:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/681541#M911</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2020-09-04T02:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can' get list of all models through VIYA API</title>
      <link>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/681576#M912</link>
      <description>&lt;P&gt;What about returning all (in particular user defined) pipeline templates? Would that be possible to find through the api?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 09:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/681576#M912</guid>
      <dc:creator>Ullsokk</dc:creator>
      <dc:date>2020-09-04T09:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can' get list of all models through VIYA API</title>
      <link>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/681601#M913</link>
      <description>Figured it out, /analyticsGateway/pipelineTemplates/ gave a list that can be filtered by removing piplines created by sas</description>
      <pubDate>Fri, 04 Sep 2020 12:15:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/681601#M913</guid>
      <dc:creator>Ullsokk</dc:creator>
      <dc:date>2020-09-04T12:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can' get list of all models through VIYA API</title>
      <link>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/681652#M914</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/68234"&gt;@Ullsokk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'm glad you were able to come up with a solution. A word of caution. While there is nothing preventing you from using the API, it is not publicly documented on developer.sas.com.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did confirm that this enhancement has been identified and will be part of a future release.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 14:56:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Can-get-list-of-all-models-through-VIYA-API/m-p/681652#M914</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2020-09-04T14:56:06Z</dc:date>
    </item>
  </channel>
</rss>

