Policy
Evaluate Policies
This endpoint consults all policies and checks the ones that satisfy the request body’s conditions.
post/api/policy-engine/evaluate
Headers
Content-Typestring required
Example:application/json
Type of the content being sent.
Acceptstring required
Example:application/json
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Request body
Response
Example response
[
{
"id": "SendSlackMessage",
"metadata": {
"channel": "C01NJFF35R6",
"relatedUsers": [
"URUNDC2NB"
],
"alertDescription": "Avoid selling products from Berenice with a discount greater than 70%."
}
}
]