Skip to main content
Test Routing Condition Valid

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Request to check that provided routing condition is valid

entityType
enum<string>

Entity type.

Available options:
ENTITY_TYPE_UNSPECIFIED,
ALERTS,
TEST_NOTIFICATIONS,
CASES
template
string

Routing condition expression to validate.

Required string length: 1 - 20000
Pattern: ^[\s\S]+$
Example:

"alertDef.priority == 'P1'"

Response

200 - application/json

Response which specifies condition evaluation result or error

success
object
required

Indicates the routing condition is valid, with the evaluated result.

failure
object

Indicates the routing condition is invalid, with a human-readable error message.