doc-exports/docs/dli/api-ref/dli_02_0022.html
Su, Xiaomeng 2374069890 DLI API 20230215 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2023-03-22 08:50:34 +00:00

336 lines
26 KiB
HTML

<a name="dli_02_0022"></a><a name="dli_02_0022"></a>
<h1 class="topictitle1">Querying Job Details</h1>
<div id="body8662426"><div class="section" id="dli_02_0022__s57d4891250e34f22aa9616f94ef7b78a"><h4 class="sectiontitle">Function</h4><p id="dli_02_0022__en-us_topic_0069077811_p41369564">This API is used to query details about jobs, including <strong id="dli_02_0022__b842352706145534">databasename</strong>, <strong id="dli_02_0022__b842352706145537">tablename</strong>, <strong id="dli_02_0022__b842352706145540">file size</strong>, and <strong id="dli_02_0022__b842352706145543">export mode</strong>.</p>
</div>
<div class="section" id="dli_02_0022__s141b177440b246ccbb53aa8a508de40b"><h4 class="sectiontitle">URI</h4><ul id="dli_02_0022__ul076127115919"><li id="dli_02_0022__li07607165915">URI format<p id="dli_02_0022__en-us_topic_0069077811_p37464323"><a name="dli_02_0022__li07607165915"></a><a name="li07607165915"></a>GET/v1.0/{project_id}/jobs/{job_id}/detail</p>
</li></ul>
<ul id="dli_02_0022__ul14864111725917"><li id="dli_02_0022__li17864317205919">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0022__en-us_topic_0069077811_table1634591" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="dli_02_0022__en-us_topic_0069077811_row15882424"><th align="left" class="cellrowborder" valign="top" width="13.700000000000001%" id="mcps1.3.2.3.1.1.2.5.1.1"><p id="dli_02_0022__afd569b971f294f4ea167f906ce2c9546">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.04%" id="mcps1.3.2.3.1.1.2.5.1.2"><p id="dli_02_0022__a0e3927b7e8d54934a876d7fb9b6bd8f6">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.78%" id="mcps1.3.2.3.1.1.2.5.1.3"><p id="dli_02_0022__p1066518216540">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62.480000000000004%" id="mcps1.3.2.3.1.1.2.5.1.4"><p id="dli_02_0022__aaffefc2f145544579496f107366bb9ed">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0022__row2986154474018"><td class="cellrowborder" valign="top" width="13.700000000000001%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077803_p43412436">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="11.04%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077803_p26746391">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.78%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="dli_02_0022__p66669212541">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.480000000000004%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="dli_02_0022__p1310472724012">Project ID, which is used for resource isolation. For details about how to obtain its value, see <a href="dli_02_0183.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row35001250"><td class="cellrowborder" valign="top" width="13.700000000000001%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p16529027">job_id</p>
</td>
<td class="cellrowborder" valign="top" width="11.04%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p63782849">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.78%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="dli_02_0022__p1666321175415">String</p>
</td>
<td class="cellrowborder" valign="top" width="62.480000000000004%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="dli_02_0022__p19161245195817">Job ID. You can get the value by calling <a href="dli_02_0102.html">Submitting a SQL Job (Recommended)</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="dli_02_0022__s147d6cfebbbb456ca5c657f04893ecfe"><h4 class="sectiontitle">Request</h4><p id="dli_02_0022__p1135135144628">None</p>
</div>
<div class="section" id="dli_02_0022__s8e5a2d735d1e400d8304c9122d48da24"><h4 class="sectiontitle">Response</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0022__en-us_topic_0069077811_table35320473" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameters</caption><thead align="left"><tr id="dli_02_0022__en-us_topic_0069077811_row62011319"><th align="left" class="cellrowborder" valign="top" width="22.470000000000002%" id="mcps1.3.4.2.2.5.1.1"><p id="dli_02_0022__en-us_topic_0069077811_p1679190824">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10.59%" id="mcps1.3.4.2.2.5.1.2"><p id="dli_02_0022__en-us_topic_0069077811_p1079706216">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.93%" id="mcps1.3.4.2.2.5.1.3"><p id="dli_02_0022__p739302516351">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="54.010000000000005%" id="mcps1.3.4.2.2.5.1.4"><p id="dli_02_0022__en-us_topic_0069077811_p34645404">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0022__en-us_topic_0069077811_row54814353"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p10777594">is_success</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p569920">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p46163530">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p1752120316011">Whether the request is successfully executed. Value <span class="parmvalue" id="dli_02_0022__parmvalue6456784716553"><b>true</b></span> indicates that the request is successfully executed.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row31672712"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p15352876">message</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p35623473">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p66929087">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__a4fa277540d3e42e48cec2027a36ca6bc">System prompt. If execution succeeds, the parameter setting may be left blank.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row3160421"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p54667567">job_id</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p65996797">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p44140344">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p11521831203">Job ID.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row33165058"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p2015147">owner</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p29009180">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p933374">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p1222118505">User who submits a job.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row9341246"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__p50886575105159">start_time</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p17526287">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p10343138">Long</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p142317181202">Time when a job is started. The timestamp is in milliseconds.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row23955268"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p61328537">duration</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p1555615">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p58895997">Long</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p15237186017">Duration for executing the job (unit: millisecond).</p>
</td>
</tr>
<tr id="dli_02_0022__row1328719185414"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__p532819192544">export_mode</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__p432861955418">No</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__p19328161955413">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p832818194545">Specified export mode during data export and query result saving.</p>
<p id="dli_02_0022__p632314349236">Available values are <span class="parmvalue" id="dli_02_0022__parmvalue10323113418233"><b>ErrorIfExists</b></span> and <span class="parmvalue" id="dli_02_0022__parmvalue19323534152310"><b>Overwrite</b></span>.</p>
<ul id="dli_02_0022__ul1546719413358"><li id="dli_02_0022__li98365453232"><span class="parmvalue" id="dli_02_0022__parmvalue625215743518"><b>ErrorIfExists</b></span>: Ensure that the specified export directory does not exist. If the specified export directory exists, an error is reported and the export operation cannot be performed.</li><li id="dli_02_0022__li04671843354"><span class="parmvalue" id="dli_02_0022__parmvalue7219152383518"><b>Overwrite</b></span>: If you add new files to a specific directory, existing files will be deleted.</li></ul>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row52618436"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p34234886">data_path</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p21562397">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p1723761">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__en-us_topic_0069077811_p5406953">Path to imported or exported files.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row51557149"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p15379577">data_type</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p37786192">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p40782732">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p131914571919">Type of data to be imported or exported. Currently, only CSV and JSON are supported.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row22551540"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p14735440">database_name</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p52719952">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p42457692">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p7654941939">Name of the database where the table, where data is imported or exported, resides.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row14471757"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p31361688">table_name</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p57268812">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p8262159">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p96545412320">Name of the table where data is imported or exported.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row50425711"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p57950771">with_column_header</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p63500868">No</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p43296649">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p19654241734">Whether the imported data contains the column name during the execution of an import job.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row22091201"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p44556889">delimiter</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p52338241">No</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p11539105">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p46543411635">User-defined data delimiter set when the import job is executed.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row23399990"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p16351051">quote_char</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p49366740">No</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p39283002">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p1465419419315">User-defined quotation character set when the import job is executed.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row48932486"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p4108434">escape_char</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p64347734">No</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p44783995">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p86551941930">User-defined escape character set when the import job is executed.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row32625010"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p25380159">date_format</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p42527017">No</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__p15335610131119">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p2655741832">Table date format specified when the import job is executed.</p>
</td>
</tr>
<tr id="dli_02_0022__row1487101212129"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__p64881912201214">timestamp_format</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__p14488112151219">No</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__p8489191211218">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p1648991261219">Table time format specified when the import job is executed.</p>
</td>
</tr>
<tr id="dli_02_0022__en-us_topic_0069077811_row63173322"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__en-us_topic_0069077811_p16765496">compress</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__en-us_topic_0069077811_p15827946">No</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__en-us_topic_0069077811_p6995273">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__en-us_topic_0069077811_p29746236">Compression mode specified when the export job is executed.</p>
</td>
</tr>
<tr id="dli_02_0022__row46505591476"><td class="cellrowborder" valign="top" width="22.470000000000002%" headers="mcps1.3.4.2.2.5.1.1 "><p id="dli_02_0022__p49794914011">tags</p>
</td>
<td class="cellrowborder" valign="top" width="10.59%" headers="mcps1.3.4.2.2.5.1.2 "><p id="dli_02_0022__p597149114018">No</p>
</td>
<td class="cellrowborder" valign="top" width="12.93%" headers="mcps1.3.4.2.2.5.1.3 "><p id="dli_02_0022__p451066135816">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="54.010000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="dli_02_0022__p55101469587">Job tags. For details, see <a href="#dli_02_0022__table9391124139">Table 3</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="dli_02_0022__table9391124139"></a><a name="table9391124139"></a><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0022__table9391124139" frame="border" border="1" rules="all"><caption><b>Table 3 </b>tags parameter</caption><thead align="left"><tr id="dli_02_0022__row1440020130"><th align="left" class="cellrowborder" valign="top" width="14.899999999999999%" id="mcps1.3.4.3.2.5.1.1"><p id="dli_02_0022__p194012219139">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10.83%" id="mcps1.3.4.3.2.5.1.2"><p id="dli_02_0022__p540724136">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.470000000000002%" id="mcps1.3.4.3.2.5.1.3"><p id="dli_02_0022__p840162161315">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="57.8%" id="mcps1.3.4.3.2.5.1.4"><p id="dli_02_0022__p16401271318">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0022__row194013231317"><td class="cellrowborder" valign="top" width="14.899999999999999%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0022__p13401329138">key</p>
</td>
<td class="cellrowborder" valign="top" width="10.83%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0022__p940102141313">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.470000000000002%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0022__p64019231317">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.8%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0022__p5401021139">Tag key</p>
</td>
</tr>
<tr id="dli_02_0022__row1141142181320"><td class="cellrowborder" valign="top" width="14.899999999999999%" headers="mcps1.3.4.3.2.5.1.1 "><p id="dli_02_0022__p164118215134">value</p>
</td>
<td class="cellrowborder" valign="top" width="10.83%" headers="mcps1.3.4.3.2.5.1.2 "><p id="dli_02_0022__p1141112181317">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.470000000000002%" headers="mcps1.3.4.3.2.5.1.3 "><p id="dli_02_0022__p174114281318">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.8%" headers="mcps1.3.4.3.2.5.1.4 "><p id="dli_02_0022__p16411125137">Tag value</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="dli_02_0022__section1267554313159"><h4 class="sectiontitle">Example Request</h4><p id="dli_02_0022__p16826101012164">None</p>
</div>
<div class="section" id="dli_02_0022__section54730943144536"><h4 class="sectiontitle">Example Response</h4><ul id="dli_02_0022__ul20182942115613"><li id="dli_02_0022__li66080018115613">Querying jobs of the <strong id="dli_02_0022__b842352706153742">Import</strong> type<pre class="screen" id="dli_02_0022__screen4466570516327">{
"is_success": true,
"message": "",
"data_path": "obs://DLI/computeCharging/test.csv",
"data_type": "json",
"database_name": "iam_exist",
"date_format": "yyyy-MM-dd",
"delimiter": ",",
"duration": 1623,
"escape_char": "\\",
"job_id": "a85d7298-ecef-47f9-bb31-499d2099d112",
"owner": "iam_exist",
"quote_char": "\"",
"start_time": 1517385246111,
"table_name": "DLI_table20",
"timestamp_format": "yyyy-MM-dd HH:mm:ss",
"with_column_header": false
}</pre>
</li><li id="dli_02_0022__li51034075115626">Query jobs of the <strong id="dli_02_0022__b1652831498153755">Export</strong> type<pre class="screen" id="dli_02_0022__screen534596811185">{
"is_success": true,
"message": "",
"compress": "none",
"data_path": "obs://xxx/dli/path6",
"data_type": "json",
"database_name": "submitjob",
"duration": 4142,
"export_mode": "Overwrite",
"job_id": "b89fccb2-de6a-4c6c-b9b2-21f08a2eb85e",
"owner": "test",
"start_time": 1524107798024,
"table_name": "autotest"
}</pre>
</li></ul>
</div>
<div class="section" id="dli_02_0022__sf39cfd445ad24e9e82754fcb0027179d"><h4 class="sectiontitle">Status Codes</h4><p id="dli_02_0022__a04144ca3a08e4576b386c6a98f43a2ae"><a href="#dli_02_0022__tb12870f1c5f24b27abd55ca24264af36">Table 4</a> describes the status code.</p>
<div class="tablenoborder"><a name="dli_02_0022__tb12870f1c5f24b27abd55ca24264af36"></a><a name="tb12870f1c5f24b27abd55ca24264af36"></a><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0022__tb12870f1c5f24b27abd55ca24264af36" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Status codes</caption><thead align="left"><tr id="dli_02_0022__r8d54231f95b14c01a5e55e95f3b2e838"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.7.3.2.3.1.1"><p id="dli_02_0022__ab49d21f312644072a331f43e92baf853">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.7.3.2.3.1.2"><p id="dli_02_0022__aea1d3bd107bb4c499da79a88832d256c">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0022__r211ad4eb571d4d938e5579998723174e"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.3.2.3.1.1 "><p id="dli_02_0022__a3153e07b3a9749adba92599fe6628fbf">200</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.3.2.3.1.2 "><p id="dli_02_0022__p104431642124811">The query is successful.</p>
</td>
</tr>
<tr id="dli_02_0022__row44937531727"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.3.2.3.1.1 "><p id="dli_02_0022__p184941532219">400</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.3.2.3.1.2 "><p id="dli_02_0022__p2049413539219">Request error.</p>
</td>
</tr>
<tr id="dli_02_0022__row65331212142411"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.3.2.3.1.1 "><p id="dli_02_0022__p5537171216249">500</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.3.2.3.1.2 "><p id="dli_02_0022__p953813124249">Internal service error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="dli_02_0022__section13596141025715"><h4 class="sectiontitle">Error Codes</h4><p id="dli_02_0022__p420584425712">If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see <a href="dli_02_0056.html">Error Code</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dli_02_0017.html">Job-related APIs</a></div>
</div>
</div>