forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
480 lines
42 KiB
HTML
480 lines
42 KiB
HTML
<a name="EN-US_TOPIC_0000002374856397"></a><a name="EN-US_TOPIC_0000002374856397"></a>
|
|
|
|
<h1 class="topictitle1">Querying the AI Application List</h1>
|
|
<div id="body32001227"><div class="section" id="EN-US_TOPIC_0000002374856397__section20319856141018"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002374856397__p531985617107">This API is used to query the AI application list based on different search parameters.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856397__section1332025616108"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002374856397__p532013561105">GET /v1/{project_id}/models</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856397__table1132145619106" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856397__row16320856121017"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000002374856397__p232145619108">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0000002374856397__p6321145651013">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="EN-US_TOPIC_0000002374856397__p17321105610102">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="EN-US_TOPIC_0000002374856397__p16322195641011">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856397__row932135613104"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p153228566104">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p5322175681017">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p53221856201017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p19323756161020">Project ID. For details, see <a href="modelarts_03_0147.html">Obtaining a Project ID and Name</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856397__table632612564109" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856397__row1332415565102"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0000002374856397__p6326155614109">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="EN-US_TOPIC_0000002374856397__p632635691019">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="EN-US_TOPIC_0000002374856397__p932675641013">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="EN-US_TOPIC_0000002374856397__p193271056141015">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856397__row832411567105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p232795611102">model_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p4327105620108">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p532714567101">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p8327195619106">Model name. Fuzzy match is supported. If a model name contains an underscore (_), add the <strong id="EN-US_TOPIC_0000002374856397__b153270568104">exact_match</strong> parameter to the request and set the parameter value to <strong id="EN-US_TOPIC_0000002374856397__b13328195615108">true</strong> because the underscore needs to be escaped. This ensures that the query operation can be performed properly.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row13324165631019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p10328115619107">exact_match</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p143281056161016">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p123280568105">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p932815567108">Whether to escape underscores (<em id="EN-US_TOPIC_0000002374856397__i4328165614104">). If a model name contains underscores (</em>), set this parameter to <strong id="EN-US_TOPIC_0000002374856397__b132815661020">true</strong> to ensure that the query operation can be performed properly. By default, this parameter is left blank.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row153244566100"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p12328165611020">model_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p18329105691017">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p43297568108">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p5329656151016">Model version The format is Digit:Digit:Digit, where Digit is a one-digit or two-digit positive integer. Note that the version number cannot start with 0, for example, 01.01.01.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row133241656181013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p432915610100">model_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p132911568102">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p20330356131015">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p1733055615105">Model status. You can obtain models based on model statuses. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002374856397__ul1033012569109"><li id="EN-US_TOPIC_0000002374856397__li5330175621019"><p id="EN-US_TOPIC_0000002374856397__p833015619109"><a name="EN-US_TOPIC_0000002374856397__li5330175621019"></a><a name="li5330175621019"></a><strong id="EN-US_TOPIC_0000002374856397__b1233005618107">publishing</strong>: The model is being published.</p>
|
|
</li><li id="EN-US_TOPIC_0000002374856397__li633065691019"><p id="EN-US_TOPIC_0000002374856397__p14331956141020"><a name="EN-US_TOPIC_0000002374856397__li633065691019"></a><a name="li633065691019"></a><strong id="EN-US_TOPIC_0000002374856397__b10331175621012">published</strong>: The model has been published.</p>
|
|
</li><li id="EN-US_TOPIC_0000002374856397__li1633185671011"><p id="EN-US_TOPIC_0000002374856397__p14331165618107"><a name="EN-US_TOPIC_0000002374856397__li1633185671011"></a><a name="li1633185671011"></a><strong id="EN-US_TOPIC_0000002374856397__b73311656141016">failed</strong>: Publishing the model failed.</p>
|
|
</li><li id="EN-US_TOPIC_0000002374856397__li1433115631011"><p id="EN-US_TOPIC_0000002374856397__p233113569104"><a name="EN-US_TOPIC_0000002374856397__li1433115631011"></a><a name="li1433115631011"></a><strong id="EN-US_TOPIC_0000002374856397__b6331115621016">building</strong>: The image is being created.</p>
|
|
</li><li id="EN-US_TOPIC_0000002374856397__li1333112562103"><p id="EN-US_TOPIC_0000002374856397__p1133115613104"><a name="EN-US_TOPIC_0000002374856397__li1333112562103"></a><a name="li1333112562103"></a><strong id="EN-US_TOPIC_0000002374856397__b1331256191014">building_failed</strong>: Creating an image failed.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row83241856191013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p15331195618103">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p11332165615108">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p833265614109">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p12332205651012">Description. Fuzzy match is supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row16325135691014"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p18332165621011">offset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p2332195614106">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p1333255691012">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p933205617108">Index of the query page, which defaults to <strong id="EN-US_TOPIC_0000002374856397__b933245691011">0</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row732575611019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p733214568105">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p53335569106">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p13334165614100">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p1133575619102">Maximum number of records returned on each page. Default value: <strong id="EN-US_TOPIC_0000002374856397__b733519565104">1000</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row11325256101013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p11335185691017">sort_by</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p633520564105">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p7335256181011">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p533535621015">Sorting field. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002374856397__ul13335125618109"><li id="EN-US_TOPIC_0000002374856397__li9335956171015"><p id="EN-US_TOPIC_0000002374856397__p20336175615101"><a name="EN-US_TOPIC_0000002374856397__li9335956171015"></a><a name="li9335956171015"></a><strong id="EN-US_TOPIC_0000002374856397__b10336205621016">create_at</strong>: time when an AI application is created (default value)</p>
|
|
</li><li id="EN-US_TOPIC_0000002374856397__li93365561105"><p id="EN-US_TOPIC_0000002374856397__p733615617104"><a name="EN-US_TOPIC_0000002374856397__li93365561105"></a><a name="li93365561105"></a><strong id="EN-US_TOPIC_0000002374856397__b4336105641010">model_version</strong>: AI application version</p>
|
|
</li><li id="EN-US_TOPIC_0000002374856397__li13336756111018"><p id="EN-US_TOPIC_0000002374856397__p19336135610109"><a name="EN-US_TOPIC_0000002374856397__li13336756111018"></a><a name="li13336756111018"></a><strong id="EN-US_TOPIC_0000002374856397__b19336756191020">model_size</strong>: AI application size</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row63256567107"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p1233619562103">order</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p16336556151020">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p1633719568102">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p20337145612106">Sorting order. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002374856397__ul1337656171018"><li id="EN-US_TOPIC_0000002374856397__li6337556141013"><p id="EN-US_TOPIC_0000002374856397__p16337205615104"><a name="EN-US_TOPIC_0000002374856397__li6337556141013"></a><a name="li6337556141013"></a><strong id="EN-US_TOPIC_0000002374856397__b1133755616102">asc</strong>: ascending order</p>
|
|
</li><li id="EN-US_TOPIC_0000002374856397__li733745631016"><p id="EN-US_TOPIC_0000002374856397__p12337256151020"><a name="EN-US_TOPIC_0000002374856397__li733745631016"></a><a name="li733745631016"></a><strong id="EN-US_TOPIC_0000002374856397__b333775661019">desc</strong>: descending order (default value)</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row173251656181019"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p4337135681014">workspace_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p1133812562104">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p10338165620109">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p433895619106">Workspace ID If no workspace is created, the default value is 0. If a workspace is created and used, the actual value prevails.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row1432595621011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p333855681013">model_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p183381256111019">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p18338856161013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p12338256151011">Model type. The models of this type are queried. model_type and not_model_type are mutually exclusive and cannot co-exist. The value can be TensorFlow, PyTorch, MindSpore, Image, Custom or Template.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row832565619104"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p333905618109">not_model_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p1033955641014">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p1633975610103">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p14339125621014">Model type, which is used for obtaining models of types except for this type The value can be TensorFlow, PyTorch, MindSpore, Image, Custom or Template.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856397__section33391356141020"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856397__en-us_topic_0000002091282837_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856397__row133402569103"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000002374856397__p15340456191011">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000002374856397__p1434019563104">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000002374856397__p13401756191019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000002374856397__p1834020564104">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856397__row17340185641011"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856397__p834115568101">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856397__p18341175611102">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856397__p634165614102">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856397__p103411856191013">User token. It can be obtained by calling the IAM API that is used to obtain a user token. The value of <strong id="EN-US_TOPIC_0000002374856397__b16341456181016">X-Subject-Token</strong> in the response header is the user token.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856397__section1134195615105"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000002374856397__p2034116562101"><strong id="EN-US_TOPIC_0000002374856397__b1934195661015">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856397__en-us_topic_0000002091282837_response_ListModelsResponse" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856397__row4342145651019"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0000002374856397__p153421056111017">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="EN-US_TOPIC_0000002374856397__p434215641018">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="EN-US_TOPIC_0000002374856397__p14342185610105">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856397__row163421256171014"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p16342956181013">models</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p163431556101017">Array of <a href="#EN-US_TOPIC_0000002374856397__en-us_topic_0000002091282837_response_ModelListItem">ModelListItem</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p3343956151015">Model metadata</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row6342556171015"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p7343205651014">total_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p18343156171013">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p11343956111013">Total number of models that meet the search criteria when no paging is performed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row43420563101"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p634345610105">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p13433569107">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p18343195619107">Total number of models that meet the search criteria</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374856397__en-us_topic_0000002091282837_response_ModelListItem"></a><a name="en-us_topic_0000002091282837_response_ModelListItem"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856397__en-us_topic_0000002091282837_response_ModelListItem" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ModelListItem</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856397__row13344115620101"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="EN-US_TOPIC_0000002374856397__p9346156111010">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.2"><p id="EN-US_TOPIC_0000002374856397__p1834645641010">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.4.2.4.1.3"><p id="EN-US_TOPIC_0000002374856397__p8346195610103">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856397__row234417569108"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p834665611014">owner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p13346256131015">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p11346155631018">User ID of the tenant to which a model belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row1434435681019"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p1934616565104">model_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p9346956131020">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p334775614108">Model version</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row4344195611108"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p33471156121015">model_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p12347175618104">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p16347105613104">Model type</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row19344155614107"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p143471556161010">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p13347256131020">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p1034825681015">Model description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row103447560109"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p63481356161013">project</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p6348115661014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p6348056141016">Project ID of the tenant to which a model belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row133443569102"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p15348185619107">source_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p133482560102">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p63481056141015">Model source type. This parameter is valid and its value is <strong id="EN-US_TOPIC_0000002374856397__b1934845611011">auto</strong> only if the model is deployed using ExeML.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row3344105611109"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p13484564102">model_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p13349155618100">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p0349256201013">Model ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row13345165616102"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p1634985631018">model_source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p153491456121014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p13496563105">Model source. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002374856397__ul10350656101017"><li id="EN-US_TOPIC_0000002374856397__li1350656181016"><p id="EN-US_TOPIC_0000002374856397__p1535055616107"><a name="EN-US_TOPIC_0000002374856397__li1350656181016"></a><a name="li1350656181016"></a><strong id="EN-US_TOPIC_0000002374856397__b1135085619101">auto</strong>: ExeML</p>
|
|
</li><li id="EN-US_TOPIC_0000002374856397__li635015651014"><p id="EN-US_TOPIC_0000002374856397__p9350556161011"><a name="EN-US_TOPIC_0000002374856397__li635015651014"></a><a name="li635015651014"></a><strong id="EN-US_TOPIC_0000002374856397__b8350256191017">algos</strong>: built-in algorithm</p>
|
|
</li><li id="EN-US_TOPIC_0000002374856397__li153502562101"><p id="EN-US_TOPIC_0000002374856397__p2035055615101"><a name="EN-US_TOPIC_0000002374856397__li153502562101"></a><a name="li153502562101"></a><strong id="EN-US_TOPIC_0000002374856397__b11350856161010">custom</strong>: custom model</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row1734545612107"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p135012565101">install_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p2035116562104">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p23512056201011">Deployment types supported by a model</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row1234545621018"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p435115611014">model_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p3351956111017">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p1935114568109">Model size, in bytes</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row8345556191016"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p20351155614106">workspace_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p19352456191019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p20352195614106">Workspace ID If no workspace is created, the default value is 0. If a workspace is created and used, the actual value prevails.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row133451656101016"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p335275661020">model_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p2352656201016">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p1335211568109">Model status</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row2345205616106"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p16352125621013">market_flag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p16353115614103">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p1335315615106">Whether a model is subscribed from AI Gallery</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row1734545631010"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p183535564109">tunable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p1135315651011">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p1035315671013">Whether a model can be tuned. <strong id="EN-US_TOPIC_0000002374856397__b1335313564109">true</strong> indicates that the model can be tuned, and <strong id="EN-US_TOPIC_0000002374856397__b43531756191014">false</strong> indicates not.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row5345195616106"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p93536564107">model_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p193541156131018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p163541156121011">Model name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row534510564106"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p235445617107">create_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p9354155616109">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p11354175613108">Time when a model is created, in milliseconds calculated from 1970.1.1 0:0:0 UTC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row13451056121019"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p93541556171018">publishable_flag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p2354145611011">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p1135417567107">Whether a model can be published to AI Gallery</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row8345195601010"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p9354056121019">source_copy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p1135415611020">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p235517565107">Whether to enable image replication. This parameter is valid only when <strong id="EN-US_TOPIC_0000002374856397__b18355356191012">model_type</strong> is set to <strong id="EN-US_TOPIC_0000002374856397__b1335545612102">Image</strong>.</p>
|
|
<ul id="EN-US_TOPIC_0000002374856397__ul73553562107"><li id="EN-US_TOPIC_0000002374856397__li103551356171019"><p id="EN-US_TOPIC_0000002374856397__p1635525611015"><a name="EN-US_TOPIC_0000002374856397__li103551356171019"></a><a name="li103551356171019"></a><strong id="EN-US_TOPIC_0000002374856397__b123558569105">true</strong>: Image replication is enabled. After this function is enabled, AI applications cannot be rapidly created, and modifying or deleting an image in the SWR source directory will not affect service deployment.</p>
|
|
</li><li id="EN-US_TOPIC_0000002374856397__li1355356111012"><p id="EN-US_TOPIC_0000002374856397__p43551356161018"><a name="EN-US_TOPIC_0000002374856397__li1355356111012"></a><a name="li1355356111012"></a><strong id="EN-US_TOPIC_0000002374856397__b535585641013">false</strong>: Image replication is not enabled. After this function is disabled, AI applications can be rapidly created, but modifying or deleting an image in the SWR source directory will affect service deployment.</p>
|
|
<p id="EN-US_TOPIC_0000002374856397__p13355135671019">If this parameter is not configured, image replication is enabled by default.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row834585681010"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p335555613101">tenant</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p11355205611018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p035512562105">Account ID of the tenant to which a model belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row11345756131015"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p1935555619103">subscription_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p7356135641013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p735655612105">Model subscription ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row43451756121017"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p035635661019">extra</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p113561356181015">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p10356155619101">Extended parameter</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row234585617107"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p1235619566102">specification</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p4356105614108"><a href="#EN-US_TOPIC_0000002374856397__en-us_topic_0000002091282837_response_ModelSpecification">ModelSpecification</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p11356145691017">Minimum specifications for model deployment</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374856397__en-us_topic_0000002091282837_response_ModelSpecification"></a><a name="en-us_topic_0000002091282837_response_ModelSpecification"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856397__en-us_topic_0000002091282837_response_ModelSpecification" frame="border" border="1" rules="all"><caption><b>Table 6 </b>ModelSpecification</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856397__row11357135619107"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="EN-US_TOPIC_0000002374856397__p113571656201014">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="EN-US_TOPIC_0000002374856397__p5358195651010">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="EN-US_TOPIC_0000002374856397__p19358256101015">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856397__row1035713566101"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p13581256121012">min_cpu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p11358125620102">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p835825631012">Minimal CPU specifications</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row1735765641017"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p635816561108">min_gpu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p1435819565109">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p18358195661011">Minimal GPU specifications</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856397__row203579567102"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856397__p935816562106">min_memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856397__p1335925614102">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856397__p1135935610107">Minimum memory</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856397__section3496656161016"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="EN-US_TOPIC_0000002374856397__screen849665613101">GET https://{endpoint}/v1/{project_id}/models</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856397__section10496125617107"><h4 class="sectiontitle">Example Responses</h4><p id="EN-US_TOPIC_0000002374856397__p149615568100"><strong id="EN-US_TOPIC_0000002374856397__b14961756161011">Status code: 200</strong></p>
|
|
<p id="EN-US_TOPIC_0000002374856397__p649675610109">Models</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002374856397__screen134961656121011">{
|
|
"total_count" : 1,
|
|
"count" : 1,
|
|
"models" : [ {
|
|
"model_name" : "mnist",
|
|
"model_version" : "1.0.0",
|
|
"model_id" : "10eb0091-887f-4839-9929-cbc884f1e20e",
|
|
"model_type" : "tensorflow",
|
|
"model_size" : 5012312,
|
|
"tenant" : "6d28e85aa78b4e1a9b4bd83501bcd4a1",
|
|
"project" : "d04c10db1f264cfeb1966deff1a3527c",
|
|
"owner" : "6d28e85aa78b4e1a9b4bd83501bcd4a1",
|
|
"create_at" : 1533041553000,
|
|
"description" : "mnist model",
|
|
"workspace_id" : "0",
|
|
"specification" : { }
|
|
} ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856397__section649725620109"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856397__en-us_topic_0000002091282837_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002374856397__row1936111565106"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="EN-US_TOPIC_0000002374856397__p14497956111011">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="EN-US_TOPIC_0000002374856397__p10497356181013">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856397__row11361185617106"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002374856397__p949710566106">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002374856397__p20497756171016">Models</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856397__section2497156121012"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002374856397__p849795691017">See <a href="modelarts_03_0095.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ai_management.html">AI Application Management</a></div>
|
|
</div>
|
|
</div>
|
|
|