Rule - List

Rules List

GET /rules endpoint returns a lot of all rule templates supported by flagright. You can use GET /rules/{ruleId} endpoint to fetch the details of any particular rule.

Each rule is identified by the unique id which is of the form R-{X} where X is an integer.

Rules have a parametersSchema which is a JSON Schema that contains the schema of the parameters supported by the rule. When you create a ruleInstance, you need to provide the values in accordance with the parametersSchema.

All the rules come with default values for all required attributes.

Rules come with default name, description. Each rule may take multiple rule parameters, by default they have a defaultParameters attribute that contains all the required fields. For use cases where the rule parameters are forked based on customer dynamic risk score, defaultRiskLevelParameters are set.

Rules also come with a defaultAction and defaultRiskLevelActions for rule actions for the rule.

All of the above should be configured at the rule instance level when creating a rule instance. Rules are read only and provided by flagright. You can only manipulate rules instances, not rule templates themselves.

If you need an update to a rule or a new rule, you can always contact the Flagright team.

get/rules

Request

  • Base URL: https://sandbox.api.flagright.com/management
  • URL: https://sandbox.api.flagright.com/management/rules
  • Auth: API key in header x-api-key

Response

OK

idstring required
type'TRANSACTION' | 'USER' | 'USER_ONGOING_SCREENING' | 'TRANSACTION_SCREENING' | 'CONSUMER_USER_SCREENING' | 'BUSINESS_USER_SCREENING' | 'CRM_USER' | 'CRM_TICKET' required
namestring required
typesstring[] required
descriptionstring required
parametersSchemaRuleParametersSchema
defaultParametersRuleDefaultParameters required
defaultAction'ALLOW' | 'FLAG' | 'BLOCK' | 'SUSPEND' required

Model for rule action if a rule is hit. This is returned in the API response and can be configured on Console by operational accounts like a Compliance Analyst

labelsRuleLabels[] required
defaultCasePriority'P1' | 'P2' | 'P3' | 'P4' required
defaultNature'AML' | 'FRAUD' | 'CTF' | 'SCREENING' required
checksForstring[] required
typologiesstring[] required
sampleUseCasesstring required

Changes

No recorded changes to this operation across all 1 revision of this API.