Viewpoint QueryLog REST APIs | Data Objects | Teradata Viewpoint - Data Objects - Teradata Viewpoint - Teradata Data Lab

Teradata® Viewpoint and Teradata® Data Lab API Reference Guide - 25.05

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Data Lab
Teradata Viewpoint
Release Number
25.05
Published
May 2025
ft:locale
en-US
ft:lastEdition
2025-06-05
dita:mapPath
mxj1746771298572.ditamap
dita:ditavalPath
oqt1542232706976.ditaval
dita:id
prd1525780132746
Product Category
Analytical Ecosystem
FlaggedQuery
{
    "links": [ // HATEOAS LINKS
            {
                "rel": "self",
                "href": "http://vp-dev12/api/public/queryLog/flaggedQueries/32"
            },
            {
                "rel": "system",
                "href": "http://vp-dev12/api/public/monitoredSystems/401"
            }
    ],
    "flag_id": "38”,       //ID of the FlaggedQuery
    "system_id": 0,         // ID of the system FlaggedQuery was run on     
    "user_name": " admin “,  //Username
    "log_date": "2024-03-21T11:38:47.180Z”,  //date
    "query_id": "307181055192338051”, //ID of the FlaggedQuery in the TD system
    "sql_text": " BEGIN QUERY LOGGING WITH SQL LIMIT SQLTEXT=0 ON 
SystemFE ;", // FlaggedQuery SQL Stmt     
    "flag_time": "2024-03-21T11:38:47.180Z" // timeStamp 
 }
ReturnStatus
{
    "message": "Access Denied. Error ID: 15524dfd-6806-4f95-a0b5-e59a64cbb833"
}