Check Query Type

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,
Authentication
This operation uses the following authentication methods.
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"
    }
}
status
Required

status

response
Optional

response