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
{
"status": {
"result": "string",
"message": "string",
"code": 0
},
"response": {
"inputQuery": "string",
"translatedInput": "string",
"queryType": "string"
}
}
Alert Operations
POST
Add Alert Access
PUT
Add Alert Tag
POST
Check Query Type
POST
Clone Alert
POST
Create Alert
DELETE
Delete Alert
GET
Get Alert
GET
Get Alert Access Control List
GET
Get Alert History
GET
Get Alerts Summary
GET
Get Alert Tags
GET
Get Alert Version
GET
Get All Alert
POST
Hide Alert
POST
Preview Alert Notification
POST
Remove Alert Access
DELETE
Remove Alert Tag
PUT
Set Alert Acl
POST
Set Alert Tags
POST
Snooze Alert
POST
Undelete Alert
POST
Unhide Alert
POST
Unsnooze Alert
PUT
Update Alert