doc-exports/docs/cts/api-ref/cts_api_0903.html
Liu, Siying 61db61b4e5 CTS API 20230612 version.
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com>
Co-authored-by: Liu, Siying <liusiying@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Liu, Siying <liusiying@noreply.gitea.eco.tsi-dev.otc-service.com>
2024-04-18 10:17:02 +00:00

553 lines
46 KiB
HTML

<a name="cts_api_0903"></a><a name="cts_api_0903"></a>
<h1 class="topictitle1">Querying Traces (v2.0)</h1>
<div id="body8662426"><div class="section" id="cts_api_0903__en-us_topic_0257057101_section053017564715"><h4 class="sectiontitle">Function</h4><p id="cts_api_0903__en-us_topic_0257057101_p65311950474">This API is used to query records of operations on resources in the last seven days.</p>
</div>
<div class="section" id="cts_api_0903__en-us_topic_0257057101_section18532359473"><h4 class="sectiontitle">URI</h4><p id="cts_api_0903__en-us_topic_0257057101_p853418514717">GET /v2.0/{project_id}/{tracker_name}/trace</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0903__en-us_topic_0257057101_table353645194711" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="cts_api_0903__en-us_topic_0257057101_row1453518512472"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="cts_api_0903__en-us_topic_0257057101_p3537135124712">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="cts_api_0903__en-us_topic_0257057101_p953812513473">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="cts_api_0903__en-us_topic_0257057101_p1853915594712">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="cts_api_0903__en-us_topic_0257057101_p1654011510474">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cts_api_0903__en-us_topic_0257057101_row6535135164710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p954155104711">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p454375134716">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p1854485164720">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p45451254476">Project ID. For details about how to obtain a project ID, see <a href="cts_api_0005.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row35352514710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1054610564714">tracker_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p175481354474">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p754925194718">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p3550351472">Tracker name. Currently, only one tracker is allowed for each tenant. The tracker name is <strong id="cts_api_0903__en-us_topic_0257057101_b698211691140">system</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0903__en-us_topic_0257057101_table555419574712" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query parameters</caption><thead align="left"><tr id="cts_api_0903__en-us_topic_0257057101_row455117584719"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="cts_api_0903__en-us_topic_0257057101_p555419519471">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="cts_api_0903__en-us_topic_0257057101_p05571958475">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="cts_api_0903__en-us_topic_0257057101_p95581053474">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="cts_api_0903__en-us_topic_0257057101_p35593574711">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cts_api_0903__en-us_topic_0257057101_row1955155174713"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p45603574711">service_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p75611451472">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p656312516470">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p75640512473">Type of a cloud service whose traces are to be queried. The value must be the acronym of a cloud service that has been connected with CTS. It is a word composed of uppercase letters. For cloud services that can be connected with CTS, see section "Supported Services and Operations" in <em id="cts_api_0903__en-us_topic_0257057101_i165665268384">Cloud Trace Service User Guide</em>. You can click the document link of each cloud service to view its name abbreviation.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row1055119504715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p25657515476">user</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p11566115134719">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p105671952474">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p19568259478">Name of the user whose traces are to be queried.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row1655219574710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1456910564719">from</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p12571155470">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p165728510472">Long</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p35731958475">UTC millisecond timestamp of the query start time. The value contains 13 digits and the default value is the timestamp of the last hour. Traces generated after the specified timestamp will be queried. The parameters <strong id="cts_api_0903__en-us_topic_0257057101_b24696661511556">from</strong> and <strong id="cts_api_0903__en-us_topic_0257057101_b168553815111556">to</strong> should be used together.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row6552115164711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p135764511479">limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p1257718512475">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p155789514720">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p155791153476">Number of traces to query. The default value is <strong id="cts_api_0903__en-us_topic_0257057101_b156261853611632">10</strong> and the maximum value is <strong id="cts_api_0903__en-us_topic_0257057101_b88006742111632">200</strong>.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row2552952475"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p35808524719">next</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p15811550479">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p3583858475">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p1458418518474">This parameter is used to query traces generated earlier than its specified value. The value can be that of <strong id="cts_api_0903__en-us_topic_0257057101_b14854413211177">marker</strong> in the response. <strong id="cts_api_0903__en-us_topic_0257057101_b23187465811714">next</strong> can be used with <strong id="cts_api_0903__en-us_topic_0257057101_b120965248911714">from</strong> and <strong id="cts_api_0903__en-us_topic_0257057101_b198796314711714">to</strong>. Traces generated in the overlap of the two time ranges specified respectively by <strong id="cts_api_0903__en-us_topic_0257057101_b191951582211726">next</strong> and by <strong id="cts_api_0903__en-us_topic_0257057101_b214131399911726">from</strong> and <strong id="cts_api_0903__en-us_topic_0257057101_b52149710311726">to</strong> will be returned.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row55522050478"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1658695134716">resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p1458785144713">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p105884519479">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p65901958472">ID of a cloud resource whose traces are to be queried.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row1955218524715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p7591651473">resource_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p1159255174715">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p359316554716">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p259415594715">Name of a resource whose traces are to be queried. The value can contain uppercase letters.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row25524519478"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p2059513594719">resource_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p8596175144720">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p1859720594714">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p17598151474">Type of a resource whose traces are to be queried.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row855215514470"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1560010594717">to</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p260118544716">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p116022519477">Long</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p960315134713">UTC millisecond timestamp of the query end time. The value contains 13 digits and the default value is the timestamp of the current time. Traces generated before the specified timestamp will be queried. The parameters <strong id="cts_api_0903__en-us_topic_0257057101_b115040080911923">to</strong> and <strong id="cts_api_0903__en-us_topic_0257057101_b111315213311923">from</strong> should be used together.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row655219511476"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p86047510479">trace_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p176055594714">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p11607115194715">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p146081650479">Trace ID. If this parameter is specified, other query criteria will not take effect.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row185526518475"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1660915524718">trace_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p146108519476">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p206124510471">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p561316519479">Trace name. The value can contain uppercase letters.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row155521552473"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p19614115124711">trace_rating</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p8615455476">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p761675104714">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="cts_api_0903__en-us_topic_0257057101_p66176564713">Trace status. The value can be <strong id="cts_api_0903__en-us_topic_0257057101_b1738164786111013">normal</strong>, <strong id="cts_api_0903__en-us_topic_0257057101_b1305526751111013">warning</strong>, or <strong id="cts_api_0903__en-us_topic_0257057101_b1018738054111013">incident</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="cts_api_0903__en-us_topic_0257057101_section11618105184715"><h4 class="sectiontitle">Request Parameters</h4><p id="cts_api_0903__en-us_topic_0257057101_p116194518477">None</p>
</div>
<div class="section" id="cts_api_0903__en-us_topic_0257057101_section9621125134711"><h4 class="sectiontitle">Response Parameters</h4><p id="cts_api_0903__en-us_topic_0257057101_p186223516473"><strong id="cts_api_0903__en-us_topic_0257057101_b74107758444944">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0903__en-us_topic_0257057101_response_ListTracesRsponse" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="cts_api_0903__en-us_topic_0257057101_row18623205164712"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="cts_api_0903__en-us_topic_0257057101_p562617519475">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="cts_api_0903__en-us_topic_0257057101_p136271651474">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="cts_api_0903__en-us_topic_0257057101_p17628125134713">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cts_api_0903__en-us_topic_0257057101_row1362320514474"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1662917516471">traces</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p146301050478">Array of <a href="#cts_api_0903__en-us_topic_0257057101_response_Traces">Traces</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p563215114716">List of returned traces.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row36231554710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1863385104719">meta_data</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p6635557474"><a href="#cts_api_0903__en-us_topic_0257057101_response_MetaData">MetaData</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p1063612512479">Number of returned traces and the marker.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="cts_api_0903__en-us_topic_0257057101_response_Traces"></a><a name="en-us_topic_0257057101_response_Traces"></a><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0903__en-us_topic_0257057101_response_Traces" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Traces</caption><thead align="left"><tr id="cts_api_0903__en-us_topic_0257057101_row263835124717"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="cts_api_0903__en-us_topic_0257057101_p564119524716">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="cts_api_0903__en-us_topic_0257057101_p186421254478">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="cts_api_0903__en-us_topic_0257057101_p3643205124711">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cts_api_0903__en-us_topic_0257057101_row26384517475"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p106441553479">resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p1964612504714">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p1564719513473">ID of a cloud resource on which the recorded operation was performed.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row1463895174714"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p11648155154713">trace_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p86502518474">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p2651759470">Trace name. The value can contain 1 to 64 characters, including letters, digits, hyphens (-), underscores (_), and periods (.). It must start with a letter.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row163815554710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p465217594712">trace_rating</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p196537534715">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p1165475194718">Trace status. The value can be <strong id="cts_api_0903__en-us_topic_0257057101_b46833604911194">normal</strong>, <strong id="cts_api_0903__en-us_topic_0257057101_b16528988411194">warning</strong>, or <strong id="cts_api_0903__en-us_topic_0257057101_b7185058111194">incident</strong>.</p>
<p id="cts_api_0903__en-us_topic_0257057101_p265517514718">Value:</p>
<ul id="cts_api_0903__en-us_topic_0257057101_ul7656115204719"><li id="cts_api_0903__en-us_topic_0257057101_li1865675154710"><strong id="cts_api_0903__en-us_topic_0257057101_b36577514476">normal</strong></li><li id="cts_api_0903__en-us_topic_0257057101_li1165813584714"><strong id="cts_api_0903__en-us_topic_0257057101_b19659957479">warning</strong></li><li id="cts_api_0903__en-us_topic_0257057101_li1565985134712"><strong id="cts_api_0903__en-us_topic_0257057101_b146606515476">incident</strong></li></ul>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row166381553479"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1466015154710">trace_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p166615517476">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p46631518479">Trace source. The value can be <strong id="cts_api_0903__en-us_topic_0257057101_b1109528889111932">ApiCall</strong>, <strong id="cts_api_0903__en-us_topic_0257057101_b942794104111932">ConsoleAction</strong>, or <strong id="cts_api_0903__en-us_topic_0257057101_b608389925111932">SystemAction</strong>.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row1563818574710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1166411514715">request</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p86655517473">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p466616584713">Request of an operation on resources.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row16382564713"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p8668175194710">response</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p196697574718">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p166701518470">Response to a user request, that is, the returned information for an operation on resources.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row166381058471"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p126711058474">code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p1967218574718">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p56731515476">HTTP status code returned by the associated API.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row10638253471"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p667411524717">api_version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p1367616517478">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p156774514711">Version of the API called in a trace.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row36388544713"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p16781152477">message</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p136793514711">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p1681858478">Remarks added by other cloud services to a trace.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row76381156471"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p76823514479">record_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p106841758478">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p0685175144714">Timestamp when a trace was recorded by CTS.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row196393514712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p46867584715">trace_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p668715511476">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p36881554479">Trace ID. The value is the UUID generated by the system.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row46391856472"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p169095174714">time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p669119554710">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p116921574716">Timestamp when a trace was generated.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row196392516472"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p2693185184710">user</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p1669416514477"><a href="#cts_api_0903__en-us_topic_0257057101_response_UserInfo">UserInfo</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p769613524712">Information of the user who performed the operation that triggered the trace.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row363975124719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p569717513474">service_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p1698165144714">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p46996564715">Type of a cloud service whose traces are to be queried. The value must be the acronym of a cloud service that has been connected with CTS. It is a word composed of uppercase letters. For cloud services that can be connected with CTS, see section "Supported Services and Operations" in <em id="cts_api_0903__en-us_topic_0257057101_i100902235521139">Cloud Trace Service User Guide</em>. You can click the document link of each cloud service to view its name abbreviation.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row163935194719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p107002554714">resource_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p10702145134719">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p117031157471">Type of the resource on which the operation was performed.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row136395517477"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p97041519472">source_ip</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p167061514478">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p9707115154711">IP address of the tenant who performed the operation that triggered the trace.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row5639105134714"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p870815511479">resource_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p57095515473">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p1971019574719">Name of a resource on which the recorded operation was performed.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row46391951476"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p77113514712">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p157121654479">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p137135584712">Request ID.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row11639205174712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1771512584718">location_info</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p57161520478">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p13717175184716">Additional information required for fault locating after a request error.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row0639145104716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p37188524712">endpoint</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p11719175114714">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p672118584713">Endpoint in the details page URL of the cloud resource on which the recorded operation was performed.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row106391756471"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p47223514713">resource_url</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p19723175194713">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p107243519471">Details page URL (excluding the endpoint) of the cloud resource on which the recorded operation was performed.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="cts_api_0903__en-us_topic_0257057101_response_UserInfo"></a><a name="en-us_topic_0257057101_response_UserInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0903__en-us_topic_0257057101_response_UserInfo" frame="border" border="1" rules="all"><caption><b>Table 5 </b>UserInfo</caption><thead align="left"><tr id="cts_api_0903__en-us_topic_0257057101_row972613515473"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="cts_api_0903__en-us_topic_0257057101_p1572815518471">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="cts_api_0903__en-us_topic_0257057101_p127307564711">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="cts_api_0903__en-us_topic_0257057101_p187312518474">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cts_api_0903__en-us_topic_0257057101_row572685184715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p147320513477">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p57331458470">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p3734205124716">Account ID. For details about how to obtain an account ID, see <a href="cts_api_0005.html">Obtaining an Account ID</a>.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row17265514475"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p17735195134712">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p18736115194715">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p5738658476">Account name.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row27266515478"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1373975134711">domain</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p07404544714"><a href="#cts_api_0903__en-us_topic_0257057101_response_BaseUser">BaseUser</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p19741195144710">Domain information of the user who performed the operation generating the trace.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="cts_api_0903__en-us_topic_0257057101_response_BaseUser"></a><a name="en-us_topic_0257057101_response_BaseUser"></a><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0903__en-us_topic_0257057101_response_BaseUser" frame="border" border="1" rules="all"><caption><b>Table 6 </b>BaseUser</caption><thead align="left"><tr id="cts_api_0903__en-us_topic_0257057101_row47431520475"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="cts_api_0903__en-us_topic_0257057101_p174519544719">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="cts_api_0903__en-us_topic_0257057101_p47466511477">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="cts_api_0903__en-us_topic_0257057101_p13747145114710">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cts_api_0903__en-us_topic_0257057101_row17432513476"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p2749254472">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p117507554712">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p1975114516478">Account ID. For details about how to obtain an account ID, see <a href="cts_api_0005.html">Obtaining an Account ID</a>.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row147431257470"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p675214534719">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p6753159479">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p2754175124715">Account name.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="cts_api_0903__en-us_topic_0257057101_response_MetaData"></a><a name="en-us_topic_0257057101_response_MetaData"></a><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0903__en-us_topic_0257057101_response_MetaData" frame="border" border="1" rules="all"><caption><b>Table 7 </b>MetaData</caption><thead align="left"><tr id="cts_api_0903__en-us_topic_0257057101_row77557519471"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="cts_api_0903__en-us_topic_0257057101_p675725174715">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="cts_api_0903__en-us_topic_0257057101_p1775895174712">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="cts_api_0903__en-us_topic_0257057101_p117617517471">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cts_api_0903__en-us_topic_0257057101_row375505134716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p1676216504717">count</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p2076315154714">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p167641355479">Number of returned traces.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row197551653470"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p17765655471">marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p376675114710">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="cts_api_0903__en-us_topic_0257057101_p376815510472">ID of the last trace in the returned trace list. The value of this parameter can be used as the value of <strong id="cts_api_0903__en-us_topic_0257057101_b105470859113319">next</strong>. If the value of <strong id="cts_api_0903__en-us_topic_0257057101_b43189430113319">marker</strong> is <strong id="cts_api_0903__en-us_topic_0257057101_b1477035008113319">null</strong>, all traces have been returned under the specified query criteria.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="cts_api_0903__en-us_topic_0257057101_section1376975144717"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="cts_api_0903__en-us_topic_0257057101_screen97701150474">GET https://{endpoint}/v2.0/{project_id}/{tracker_name}/trace?limit=11&amp;to=1479095278000&amp;from=1478490478000&amp;trace_name=createTracker&amp;resource_type=tracker&amp;service_type=CTS</pre>
</div>
<div class="section" id="cts_api_0903__en-us_topic_0257057101_section187719510472"><h4 class="sectiontitle">Example Response</h4><p id="cts_api_0903__en-us_topic_0257057101_p1077317519471"><strong id="cts_api_0903__en-us_topic_0257057101_b70731403344944">Status code: 200</strong></p>
<p id="cts_api_0903__en-us_topic_0257057101_p43316144710">The request is successful.</p>
<pre class="screen" id="cts_api_0903__en-us_topic_0257057101_screen13347617472">{
"meta_data" : {
"count" : 2,
"marker" : "e001ccb8-bc09-11e6-b2cc-2640a43cc6e8"
},
"traces" : [ {
"time" : 1472148708232,
"user" : {
"name" : "xxx",
"domain" : {
"name" : "xxx",
"id" : "ded649d814464428ba89d04d7955c93e"
}
},
"response" : {
"code" : "VPC.0514",
"message" : "Update port fail."
},
"code" : 200,
"service_type" : "VPC",
"resource_type" : "eip",
"resource_name" : "192.144.163.1",
"resource_id" : "d502809d-0d1d-41ce-9690-784282142ccc",
"trace_name" : "deleteEip",
"trace_rating" : "warning",
"trace_type" : "ConsoleAction",
"api_version" : "2.0",
"record_time" : 1481066128032,
"trace_id" : "e001ccb9-bc09-11e6-b00b-4b2a61338db6"
}, {
"time" : 1472148708232,
"user" : {
"name" : "xxx",
"domain" : {
"name" : "xxx",
"id" : "ded649d814464428ba89d04d7955c93e"
}
},
"response" : {
"code" : "VPC.0514",
"message" : "Update port fail."
},
"code" : 200,
"service_type" : "VPC",
"resource_type" : "eip",
"resource_name" : "192.144.163.1",
"resource_id" : "d502809d-0d1d-41ce-9690-784282142ccc",
"trace_name" : "deleteEip",
"trace_rating" : "warning",
"trace_type" : "ConsoleAction",
"api_version" : "2.0",
"record_time" : 1481066128032,
"trace_id" : "e001ccb8-bc09-11e6-b2cc-2640a43cc6e8"
} ]
}</pre>
</div>
<div class="section" id="cts_api_0903__en-us_topic_0257057101_section666266470"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0903__en-us_topic_0257057101_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="cts_api_0903__en-us_topic_0257057101_row1681495134712"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="cts_api_0903__en-us_topic_0257057101_p36712654714">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="cts_api_0903__en-us_topic_0257057101_p19679614476">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="cts_api_0903__en-us_topic_0257057101_row19814175184718"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p768186104715">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p1468364476">The request is successful.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row1881414510474"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p156986124710">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p156986144717">The request is not completed due to abnormal query parameters.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row9814258471"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p774161474">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p175146194716">The request is rejected due to authentication failure.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row148141652471"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p187618644715">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p576368478">The server understood the request but refused to authorize it.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row188141652470"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p177717618474">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p197796124711">The requested traces do not exist.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row48141651472"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p137717674710">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p478261479">Failed to complete the request because of an internal service error.</p>
</td>
</tr>
<tr id="cts_api_0903__en-us_topic_0257057101_row1881413584713"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0903__en-us_topic_0257057101_p147856164716">503</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0903__en-us_topic_0257057101_p15791617478">The requested service is invalid. The client should not repeat the request without modifications.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="cts_api_0903__en-us_topic_0257057101_section5805612479"><h4 class="sectiontitle">Error Codes</h4><p id="cts_api_0903__en-us_topic_0257057101_p380106184715">For details, see <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="cts_api_0018.html">Trace Management</a></div>
</div>
</div>