Check Query Type
Return the type of provided query.
Request
URI
POST
https://{api_host}/api/v2/alert/checkQuery
COPY
Request Body
QueryTypeDTO
of type(s)
application/json
Optional
{
"inputQuery": "string",
"translatedInput": "string",
"queryType": "string"
}
string
inputQuery
Optional
inputQuery
string
translatedInput
Optional
translatedInput
string
queryType
Optional
queryType
Possible values are :
WQL,
PROMQL,
HYBRID,
Responses
200
successful operation
Returns
ResponseContainerQueryTypeDTO
of type(s)
application/json
"ResponseContainerQueryTypeDTO Object"
object
status
Required
status
object
response
Optional
response
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/v2/alert/checkQuery
Alert Operations
GET
Get All Alert
POST
Create Alert
GET
Get Alert Access Control List
POST
Add Alert Access
POST
Remove Alert Access
PUT
Set Alert Acl
POST
Check Query Type
POST
Preview Alert Notification
GET
Get Alerts Summary
GET
Get Alert
PUT
Update Alert
DELETE
Delete Alert
POST
Clone Alert
GET
Get Alert History
GET
Get Alert Version
POST
Unhide Alert
POST
Snooze Alert
GET
Get Alert Tags
POST
Set Alert Tags
PUT
Add Alert Tag
DELETE
Remove Alert Tag
POST
Undelete Alert
POST
Hide Alert
POST
Unsnooze Alert