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
41 KiB
HTML
480 lines
41 KiB
HTML
<a name="EN-US_TOPIC_0000002268726185"></a><a name="EN-US_TOPIC_0000002268726185"></a>
|
|
|
|
<h1 class="topictitle1">Querying the Model List</h1>
|
|
<div id="body32001227"><div class="section" id="EN-US_TOPIC_0000002268726185__section49133474210"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002268726185__p89113415424">This API is used to query the model list based on different search parameters.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002268726185__section610103410427"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002268726185__p3101934194219">GET /v1/{project_id}/models</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002268726185__table61193424218" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002268726185__row141093474213"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000002268726185__p311103494216">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_0000002268726185__p511034164210">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_0000002268726185__p1212153420424">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_0000002268726185__p171213444219">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002268726185__row811534114214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p812193434214">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_0000002268726185__p912934204211">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p5131634134217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p61373415429">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_0000002268726185__table1916143434219" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002268726185__row111413419425"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0000002268726185__p15172348425">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_0000002268726185__p1117193434212">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_0000002268726185__p141818346424">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_0000002268726185__p8182347427">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002268726185__row1914034194214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p1518334134215">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_0000002268726185__p1918113418424">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p8192341424">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p1197347420">Model name. Fuzzy match is supported. If a model name contains an underscore (_), add the <strong id="EN-US_TOPIC_0000002268726185__b1719143454210">exact_match</strong> parameter to the request and set the parameter value to <strong id="EN-US_TOPIC_0000002268726185__b1819534134215">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_0000002268726185__row161417342426"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p919203474211">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_0000002268726185__p1819934124211">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p62019342428">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p8201734104214">Whether to escape underscores (<em id="EN-US_TOPIC_0000002268726185__i1220143444213">). If a model name contains underscores (</em>), set this parameter to <strong id="EN-US_TOPIC_0000002268726185__b82043474212">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_0000002268726185__row814103412424"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p1320203434215">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_0000002268726185__p1820123424218">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p021173494217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p142163454218">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_0000002268726185__row14144344427"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p11211534154211">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_0000002268726185__p1521143418429">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p2211834104214">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p622163411422">Model status. You can obtain models based on model statuses. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002268726185__ul1822034194215"><li id="EN-US_TOPIC_0000002268726185__li132233454214"><p id="EN-US_TOPIC_0000002268726185__p9221834174220"><a name="EN-US_TOPIC_0000002268726185__li132233454214"></a><a name="li132233454214"></a><strong id="EN-US_TOPIC_0000002268726185__b1222173474214">publishing</strong>: The model is being published.</p>
|
|
</li><li id="EN-US_TOPIC_0000002268726185__li192213444218"><p id="EN-US_TOPIC_0000002268726185__p192215340425"><a name="EN-US_TOPIC_0000002268726185__li192213444218"></a><a name="li192213444218"></a><strong id="EN-US_TOPIC_0000002268726185__b82253416423">published</strong>: The model has been published.</p>
|
|
</li><li id="EN-US_TOPIC_0000002268726185__li4222034104210"><p id="EN-US_TOPIC_0000002268726185__p18233347422"><a name="EN-US_TOPIC_0000002268726185__li4222034104210"></a><a name="li4222034104210"></a><strong id="EN-US_TOPIC_0000002268726185__b1923163418429">failed</strong>: Publishing the model failed.</p>
|
|
</li><li id="EN-US_TOPIC_0000002268726185__li72319347421"><p id="EN-US_TOPIC_0000002268726185__p132313494213"><a name="EN-US_TOPIC_0000002268726185__li72319347421"></a><a name="li72319347421"></a><strong id="EN-US_TOPIC_0000002268726185__b3231434124218">building</strong>: The image is being created.</p>
|
|
</li><li id="EN-US_TOPIC_0000002268726185__li112323494214"><p id="EN-US_TOPIC_0000002268726185__p152317346425"><a name="EN-US_TOPIC_0000002268726185__li112323494214"></a><a name="li112323494214"></a><strong id="EN-US_TOPIC_0000002268726185__b823183464214">building_failed</strong>: Creating an image failed.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row131403414217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p14239345426">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002268726185__p1424103412428">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p524123420425">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p132413424216">Description. Fuzzy match is supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1614234134210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p1424434114215">offset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002268726185__p172415342422">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p425153410428">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p52573420420">Index of the query page, which defaults to <strong id="EN-US_TOPIC_0000002268726185__b1925193417423">0</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row21543454215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p172510349429">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002268726185__p1625183494217">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p426193434211">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p326113404211">Maximum number of records returned on each page. Default value: <strong id="EN-US_TOPIC_0000002268726185__b102618345428">1000</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1115034194219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p162623415426">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_0000002268726185__p152613474211">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p126183444212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p1027173404211">Sorting field. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002268726185__ul72733484212"><li id="EN-US_TOPIC_0000002268726185__li9277344421"><p id="EN-US_TOPIC_0000002268726185__p10273342426"><a name="EN-US_TOPIC_0000002268726185__li9277344421"></a><a name="li9277344421"></a><strong id="EN-US_TOPIC_0000002268726185__b16275348429">create_at</strong>: time when a model is created (default value)</p>
|
|
</li><li id="EN-US_TOPIC_0000002268726185__li1127203474219"><p id="EN-US_TOPIC_0000002268726185__p1227123416423"><a name="EN-US_TOPIC_0000002268726185__li1127203474219"></a><a name="li1127203474219"></a><strong id="EN-US_TOPIC_0000002268726185__b14272034194214">model_version</strong>: model version</p>
|
|
</li><li id="EN-US_TOPIC_0000002268726185__li15271634144214"><p id="EN-US_TOPIC_0000002268726185__p9271034194210"><a name="EN-US_TOPIC_0000002268726185__li15271634144214"></a><a name="li15271634144214"></a><strong id="EN-US_TOPIC_0000002268726185__b1028934184216">model_size</strong>: model size</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1015193413426"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p142873416427">order</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002268726185__p182818345425">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p1628153404219">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p1828163411429">Sorting order. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002268726185__ul1328634124218"><li id="EN-US_TOPIC_0000002268726185__li1428173484215"><p id="EN-US_TOPIC_0000002268726185__p11293340422"><a name="EN-US_TOPIC_0000002268726185__li1428173484215"></a><a name="li1428173484215"></a><strong id="EN-US_TOPIC_0000002268726185__b15291134134214">asc</strong>: ascending order</p>
|
|
</li><li id="EN-US_TOPIC_0000002268726185__li42913347421"><p id="EN-US_TOPIC_0000002268726185__p1129183474212"><a name="EN-US_TOPIC_0000002268726185__li42913347421"></a><a name="li42913347421"></a><strong id="EN-US_TOPIC_0000002268726185__b62953414424">desc</strong>: descending order (default value)</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1815834124216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p52993417427">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_0000002268726185__p4293345423">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p1929163420423">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p193011343423">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_0000002268726185__row9151034114217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p1430193418424">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_0000002268726185__p1730113464210">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p193033417421">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p630234184220">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_0000002268726185__row1815234154220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p931153434210">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_0000002268726185__p1531734184211">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p8311834104218">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p23293474211">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_0000002268726185__section193213474219"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002268726185__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_0000002268726185__row43320341429"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000002268726185__p1034133414215">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_0000002268726185__p17341734124214">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_0000002268726185__p734183424215">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_0000002268726185__p1735203410425">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002268726185__row733153415429"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002268726185__p193523454217">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_0000002268726185__p113563494213">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002268726185__p10351134124218">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002268726185__p1636534144217">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_0000002268726185__b1736173414214">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_0000002268726185__section193603414212"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000002268726185__p1936193419420"><strong id="EN-US_TOPIC_0000002268726185__b1336193418424">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002268726185__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_0000002268726185__row163723494214"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0000002268726185__p3381634114213">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_0000002268726185__p13381534204214">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_0000002268726185__p143893424213">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002268726185__row537173410421"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p12381134174216">models</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002268726185__p13933416425">Array of <a href="#EN-US_TOPIC_0000002268726185__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_0000002268726185__p173923416429">Model metadata</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row20378349428"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p19391345429">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_0000002268726185__p8391134114214">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p439183412427">Total number of models that meet the search criteria when no paging is performed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1837153464210"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p440133411420">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002268726185__p740193424215">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p1140103424219">Total number of models that meet the search criteria</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002268726185__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_0000002268726185__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_0000002268726185__row341834154212"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="EN-US_TOPIC_0000002268726185__p14451334164211">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_0000002268726185__p1045634174220">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_0000002268726185__p1145193415421">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002268726185__row1242163412428"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p9451234144214">owner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002268726185__p54516346425">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p12461534114214">User ID of the tenant to which a model belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row54243414216"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p1546103412428">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_0000002268726185__p134617347427">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p154693424214">Model version</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row114293410420"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p946034154212">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_0000002268726185__p16475346424">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p54713410422">Model type</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row34263414218"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p04733494214">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002268726185__p847123454216">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p13481934204215">Model description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1442103414421"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p44843414429">project</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002268726185__p18489343429">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p1949134184211">Project ID of the tenant to which a model belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row24293416421"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p2497348428">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_0000002268726185__p0501334104214">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p115083484220">Model source type. This parameter is valid and its value is <strong id="EN-US_TOPIC_0000002268726185__b135143484218">auto</strong> only if the model is deployed using ExeML.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row242143424210"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p751103417427">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_0000002268726185__p1451153444217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p1851143454218">Model ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row204203474218"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p4511334114214">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_0000002268726185__p35223410426">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p205223494220">Model source. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002268726185__ul135203420422"><li id="EN-US_TOPIC_0000002268726185__li25253418426"><p id="EN-US_TOPIC_0000002268726185__p35273414219"><a name="EN-US_TOPIC_0000002268726185__li25253418426"></a><a name="li25253418426"></a><strong id="EN-US_TOPIC_0000002268726185__b175343414217">auto</strong>: ExeML</p>
|
|
</li><li id="EN-US_TOPIC_0000002268726185__li1653734174211"><p id="EN-US_TOPIC_0000002268726185__p11531734114212"><a name="EN-US_TOPIC_0000002268726185__li1653734174211"></a><a name="li1653734174211"></a><strong id="EN-US_TOPIC_0000002268726185__b7536342428">algos</strong>: built-in algorithm</p>
|
|
</li><li id="EN-US_TOPIC_0000002268726185__li45343414426"><p id="EN-US_TOPIC_0000002268726185__p95343444212"><a name="EN-US_TOPIC_0000002268726185__li45343414426"></a><a name="li45343414426"></a><strong id="EN-US_TOPIC_0000002268726185__b95363410427">custom</strong>: custom model</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row642183410427"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p153234194215">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_0000002268726185__p155453413429">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_0000002268726185__p45433414423">Deployment types supported by a model</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row042173404217"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p9541347423">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_0000002268726185__p115419348426">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p454113444219">Model size, in bytes</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row142173416424"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p1155034144211">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_0000002268726185__p155934114210">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p155518344429">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_0000002268726185__row204373418429"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p125516349420">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_0000002268726185__p125514341425">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p15567342428">Model status</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row74318341426"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p1256153413426">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_0000002268726185__p155617343425">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p55743416420">Whether a model is subscribed from AI Gallery</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1343153415428"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p145714347421">tunable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002268726185__p155783454216">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p16576346429">Whether a model can be tuned. <strong id="EN-US_TOPIC_0000002268726185__b5581734154214">true</strong> indicates that the model can be tuned, and <strong id="EN-US_TOPIC_0000002268726185__b1258153418424">false</strong> indicates not.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1439348425"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p95893415423">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_0000002268726185__p1758153454220">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p458163418423">Model name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row843834124217"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p10591934124218">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_0000002268726185__p185953418427">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p15915345428">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_0000002268726185__row1143123418423"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p175913494210">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_0000002268726185__p1860183484218">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p06053416424">Whether a model can be published to AI Gallery</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row144373416422"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p1860534104213">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_0000002268726185__p176033474212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p660113404217">Whether to enable image replication. This parameter is valid only when <strong id="EN-US_TOPIC_0000002268726185__b261134184215">model_type</strong> is set to <strong id="EN-US_TOPIC_0000002268726185__b186163454220">Image</strong>.</p>
|
|
<ul id="EN-US_TOPIC_0000002268726185__ul186113416425"><li id="EN-US_TOPIC_0000002268726185__li761834154220"><p id="EN-US_TOPIC_0000002268726185__p961153474211"><a name="EN-US_TOPIC_0000002268726185__li761834154220"></a><a name="li761834154220"></a><strong id="EN-US_TOPIC_0000002268726185__b961153444210">true</strong>: Image replication is enabled. After this function is enabled, models 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_0000002268726185__li26123424217"><p id="EN-US_TOPIC_0000002268726185__p15613343427"><a name="EN-US_TOPIC_0000002268726185__li26123424217"></a><a name="li26123424217"></a><strong id="EN-US_TOPIC_0000002268726185__b126103474219">false</strong>: Image replication is not enabled. After this function is disabled, models can be rapidly created, but modifying or deleting an image in the SWR source directory will affect service deployment.</p>
|
|
</li></ul>
|
|
<p id="EN-US_TOPIC_0000002268726185__p661934174219">If this parameter is not configured, image replication is enabled by default.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row5430343428"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p12621934184214">tenant</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002268726185__p962193419422">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p66233417428">Account ID of the tenant to which a model belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row134353412422"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p20625341421">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_0000002268726185__p662133410420">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p136316349422">Model subscription ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1443143474218"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p14630343428">extra</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002268726185__p116333424212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p363934194216">Extended parameter</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1944434174216"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p964123415422">specification</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002268726185__p2064834154218"><a href="#EN-US_TOPIC_0000002268726185__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_0000002268726185__p664103416420">Minimum specifications for model deployment</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002268726185__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_0000002268726185__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_0000002268726185__row36533454212"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="EN-US_TOPIC_0000002268726185__p1066103420428">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_0000002268726185__p267134144212">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_0000002268726185__p10671834134210">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002268726185__row9651134154216"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p167143434217">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_0000002268726185__p13689347423">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p16823414218">Minimal CPU specifications</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row1565123412428"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p13684348425">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_0000002268726185__p36873484210">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p66814345420">Minimal GPU specifications</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002268726185__row66523404217"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002268726185__p18695349421">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_0000002268726185__p116918348423">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002268726185__p2069113454212">Minimum memory</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002268726185__section16321735134215"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="EN-US_TOPIC_0000002268726185__screen63233512426">GET https://{endpoint}/v1/{project_id}/models</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002268726185__section132435164219"><h4 class="sectiontitle">Example Responses</h4><p id="EN-US_TOPIC_0000002268726185__p10322352421"><strong id="EN-US_TOPIC_0000002268726185__b5321935124213">Status code: 200</strong></p>
|
|
<p id="EN-US_TOPIC_0000002268726185__p332173515428">Models</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002268726185__screen632183544216">{
|
|
"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_0000002268726185__section23373544214"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002268726185__en-us_topic_0000002091282837_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002268726185__row157603412424"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="EN-US_TOPIC_0000002268726185__p23323517424">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_0000002268726185__p4331035114219">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002268726185__row876134114213"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002268726185__p033163519422">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002268726185__p17331235164219">Models</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002268726185__section833335144214"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002268726185__p1933143516429">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">Model Management</a></div>
|
|
</div>
|
|
</div>
|
|
|