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>
380 lines
27 KiB
HTML
380 lines
27 KiB
HTML
<a name="EN-US_TOPIC_0000002374896653"></a><a name="EN-US_TOPIC_0000002374896653"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining the Events of a Training Job</h1>
|
|
<div id="body32001227"><div class="section" id="EN-US_TOPIC_0000002374896653__section976165512101"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002374896653__p14761355191017">This API is used to obtain the events of a training job.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374896653__section7761195518105"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002374896653__p3761135518109">GET /v2/{project_id}/training-jobs/{training_job_id}/events</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374896653__table12762125513102" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374896653__row1276219553101"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000002374896653__p16763145516101">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_0000002374896653__p167631552102">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_0000002374896653__p147631855181017">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_0000002374896653__p1576365518108">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374896653__row676215512105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p1576417557103">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_0000002374896653__p27642552105">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p187642553109">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p4764195591014">Project ID. For details, see <a href="modelarts_03_0147.html">Obtaining a Project ID and Name</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row1776275561013"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p77641555151019">training_job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002374896653__p1076485513103">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p1176414553105">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p1976415555106">Training job ID For details about how to obtain the value, see <a href="ListTrainingJobs.html">Querying the Training Job List</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374896653__table1776685581019" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374896653__row197656555102"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0000002374896653__p18767195516101">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_0000002374896653__p2767155571018">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_0000002374896653__p1576765510109">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_0000002374896653__p176718555108">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374896653__row0765155531014"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p1876745521012">offset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374896653__p18767155551016">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p1676845519104">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p11768185571012">Offset of a data entry.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row27661550105"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p276855518104">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374896653__p16768145514109">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p1776835541015">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p97681559106">Maximum number of records returned on each page. The value ranges from 1 to 100. The default value is <strong id="EN-US_TOPIC_0000002374896653__b177688555103">50</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row14766155511103"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p87691755111019">order</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374896653__p1576915591016">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p1676965591017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p9769255181013">instance order</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row1976655541014"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p13769135591013">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374896653__p97691355121019">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p12769955141018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p137691255151018">Start time, which must be passed together with the end time</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row177663551106"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p107709550102">end_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374896653__p377020556104">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p677065519101">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p9770195591015">End time, which must be passed together with the start time</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row7766125521018"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p9770555191017">level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374896653__p777065551011">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p12770135510107">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p1770165517107">Level of the event to be returned. The value range is [Info Error Warning].</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row9766165561010"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p577118552105">pattern</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374896653__p7771185541018">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p8772155121017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p5772135515103">Content contained in the event. The value contains a maximum of 256 characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row476605514104"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p27721455141012">source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374896653__p11772185511104">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p1677213550101">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p177721555191019">Source of the returned event. The value range is [<strong id="EN-US_TOPIC_0000002374896653__b12772115581015">K8S Job Task</strong>].</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374896653__section97720559101"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374896653__en-us_topic_0000002055164106_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374896653__row977375514105"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000002374896653__p16773115561013">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_0000002374896653__p177310559104">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_0000002374896653__p11774115514108">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_0000002374896653__p127741755181014">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374896653__row2773155121015"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002374896653__p1077495581016">X-Language</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002374896653__p177413553100">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002374896653__p12774135520101">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002374896653__p1377411558104">Language</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374896653__section2774125520100"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000002374896653__p5774135512104"><strong id="EN-US_TOPIC_0000002374896653__b777455541018">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374896653__en-us_topic_0000002055164106_response_ListEvents" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374896653__row57751155111017"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0000002374896653__p1377611559101">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_0000002374896653__p5776145541016">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_0000002374896653__p877615581018">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374896653__row15775115531019"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p17761655131015">total</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p127761855151017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p1377613551108">Total number of records.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row9775195571019"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p11776165517106">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p1277616556109">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p1077635511101">Maximum number of records that can be displayed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row1977510554102"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p47762055131011">offset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p277755510101">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p377715512104">Start number of records.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row57751355111020"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p1177715517104">order</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p477775571019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p1577712554102">Sorting order.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row18775125513105"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p7777155141012">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p18777165516109">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p11777135541011">Start time of an event.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row1977517557109"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p157771055161012">end_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p6778115521011">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p5778175516103">End time of an event.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row177545516109"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p7778175512108">events</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p15778115519105">Array of <a href="#EN-US_TOPIC_0000002374896653__en-us_topic_0000002055164106_response_Event">Event</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_0000002374896653__p6778255111012">Event list.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374896653__en-us_topic_0000002055164106_response_Event"></a><a name="en-us_topic_0000002055164106_response_Event"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374896653__en-us_topic_0000002055164106_response_Event" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Event</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374896653__row9779195518109"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="EN-US_TOPIC_0000002374896653__p1878010551107">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_0000002374896653__p1378014559104">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_0000002374896653__p137801355111015">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374896653__row18779955121011"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p1978016551102">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p5781145510103">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p14781135531010">Event information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row1779355171015"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p16781185541016">level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p778113554109">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p378145541016">Event severity.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row4779155161015"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p14781455161020">time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p1078110559100">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p1778165541010">Time when an event occurs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row11779145510106"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p778218550105">source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p117821855101018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p578265581018">Event source</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000002374896653__p67821155181019"><strong id="EN-US_TOPIC_0000002374896653__b578275531011">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374896653__en-us_topic_0000002055164106_response_ErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374896653__row578212555109"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.1"><p id="EN-US_TOPIC_0000002374896653__p3783125510107">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.2"><p id="EN-US_TOPIC_0000002374896653__p6783195512106">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.6.2.4.1.3"><p id="EN-US_TOPIC_0000002374896653__p1378314551107">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374896653__row77826552105"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p97831155121013">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p1978319557106">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p97831155151019">Error codes of ModelArts.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row378215519109"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002374896653__p1378395510109">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002374896653__p37841955161017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002374896653__p1478405591011">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374896653__section178425515101"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="EN-US_TOPIC_0000002374896653__screen187848555107">GET https://endpoint/v2/{project_id}/training-jobs/{training_job_id}/events?order=desc&offset=0&limit=10&start_time=1669449696964&end_time=1669711991259</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374896653__section2784105501011"><h4 class="sectiontitle">Example Responses</h4><p id="EN-US_TOPIC_0000002374896653__p3784105501019"><strong id="EN-US_TOPIC_0000002374896653__b18784145510103">Status code: 200</strong></p>
|
|
<p id="EN-US_TOPIC_0000002374896653__p177841557106">ok</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002374896653__screen27853553102">{
|
|
"total" : 27,
|
|
"limit" : 10,
|
|
"offset" : 0,
|
|
"order" : "desc",
|
|
"start_time" : "2022-11-26T16:01:36+08:00",
|
|
"end_time" : "2022-11-29T16:53:11+08:00",
|
|
"events" : [ {
|
|
"time" : "2022-11-26T16:03:41+08:00",
|
|
"level" : "Error",
|
|
"message" : "Training job failed.",
|
|
"source" : "Job"
|
|
}, {
|
|
"time" : "2022-11-26T16:03:16+08:00",
|
|
"level" : "Info",
|
|
"message" : "[Job: modelarts-job-5bd61eea-9de2-4864-a0f7-5fae966171b5] ExecuteAction: Start to execute action TerminateJob",
|
|
"source" : "K8S"
|
|
}, {
|
|
"time" : "2022-11-26T16:03:12+08:00",
|
|
"level" : "Info",
|
|
"message" : "[worker-0][time used: 0.296s] Upload training output(parameter name: train_url) finished.",
|
|
"source" : "Task"
|
|
}, {
|
|
"time" : "2022-11-26T16:03:12+08:00",
|
|
"level" : "Info",
|
|
"message" : "[worker-0] Training output(parameter name: train_url) Uploading.",
|
|
"source" : "Task"
|
|
}, {
|
|
"time" : "2022-11-26T16:03:11+08:00",
|
|
"level" : "Info",
|
|
"message" : "[worker-0] Training finished. Exit code 1.",
|
|
"source" : "Task"
|
|
}, {
|
|
"time" : "2022-11-26T16:02:10+08:00",
|
|
"level" : "Info",
|
|
"message" : "[worker-0] training started.",
|
|
"source" : "Task"
|
|
}, {
|
|
"time" : "2022-11-26T16:02:09+08:00",
|
|
"level" : "Info",
|
|
"message" : "Training job is running.",
|
|
"source" : "Job"
|
|
}, {
|
|
"time" : "2022-11-26T16:02:06+08:00",
|
|
"level" : "Info",
|
|
"message" : "[Pod: modelarts-job-5bd61eea-9de2-4864-a0f7-5fae966171b5-worker-0] Started: Started container",
|
|
"source" : "K8S"
|
|
}, {
|
|
"time" : "2022-11-26T16:02:06+08:00",
|
|
"level" : "Info",
|
|
"message" : "[Pod: modelarts-job-5bd61eea-9de2-4864-a0f7-5fae966171b5-worker-0] SuccessfulCreate: Created container",
|
|
"source" : "K8S"
|
|
}, {
|
|
"time" : "2022-11-26T16:02:05+08:00",
|
|
"level" : "Info",
|
|
"message" : "[Pod: modelarts-job-5bd61eea-9de2-4864-a0f7-5fae966171b5-worker-0] Pulled: Successfully pulled image \"<strong id="EN-US_TOPIC_0000002374896653__b17967245124612">resource-path</strong>/modelarts-job-dev-image/modelarts-tool-container:1.0.0-5.3.1-b002.2\"",
|
|
"source" : "K8s"
|
|
} ]
|
|
}</pre>
|
|
<p id="EN-US_TOPIC_0000002374896653__p1779015510101"><strong id="EN-US_TOPIC_0000002374896653__b157908556107">Status code: 400</strong></p>
|
|
<p id="EN-US_TOPIC_0000002374896653__p9790555191020">Bad request.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002374896653__screen2790125514105">{
|
|
"error_code" : "ModelArts.50004000",
|
|
"error_msg" : "Bad request."
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374896653__section177903550102"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374896653__en-us_topic_0000002055164106_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002374896653__row14790135571010"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="EN-US_TOPIC_0000002374896653__p490845511017">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_0000002374896653__p4908655131016">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374896653__row187916555100"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002374896653__p10908105510103">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002374896653__p13908185511010">ok</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374896653__row77918553108"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002374896653__p1190885531020">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002374896653__p17908195551012">Bad request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374896653__section29081455191020"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002374896653__p59084558108">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="algorithms.html">Training Management</a></div>
|
|
</div>
|
|
</div>
|
|
|