A risk detected by the anomaly detection service for one Application group.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | Long | The internal ID of this entity. | |
| created | OffsetDateTime | The time this entity was created. | |
| notificationId | Long | The ID of the risk notification rule that flagged this risk. | |
| featureDate | LocalDate | The date of the activity data in which this risk was detected. The anomaly detection pipeline scores complete 24-hour cycles, so this is always the day before the risk was reported, not the reporting date itself. | |
| groupKey | String | The Application group this risk was detected in. Contains the Application ID, or `GLOBAL` for metrics that are not grouped by Application. | |
| applicationId | Long | The ID of the Application this risk belongs to. Absent for global metrics. | [optional] |
| status | StatusEnum | The triage lifecycle status of this risk. | |
| criticality | CriticalityEnum | The critical classification bucket of this risk. | |
| entity | EntityEnum | The entity type the risk was detected in. | |
| activity | ActivityEnum | The activity metric the risk was detected in. | |
| timeFrame | TimeFrameEnum | The rolling time window of the risk evaluation. | |
| reportedDate | OffsetDateTime | The time the ML service reported this risk. | |
| affectedEntityCount | Long | The total number of entities affected by this risk. | |
| description | String | Human-readable description of the detected anomaly. | [optional] |
| discardReason | DiscardReasonEnum | The reason this risk was discarded. Only present on discarded risks. | [optional] |
| statusComment | String | The free-text details of the latest reclassification action: the description for resolving confirmed risks, or the details for discarding risks. | [optional] |
| statusChangedBy | Long | The ID of the user who performed the latest reclassification action. | [optional] |
| statusChangedAt | OffsetDateTime | The time of the latest reclassification action. | [optional] |
| modified | OffsetDateTime | Timestamp of the most recent update. |
| Name | Value |
|---|---|
| ACTIVE | "active" |
| IN_REVIEW | "in_review" |
| CONFIRMED | "confirmed" |
| DISCARDED | "discarded" |
| Name | Value |
|---|---|
| CRITICAL | "critical" |
| NOT_CRITICAL | "not_critical" |
| Name | Value |
|---|---|
| PROFILE | "customer_profile" |
| SESSION | "customer_session" |
| Name | Value |
|---|---|
| LOYALTY_POINTS_EARNED | "loyalty_points_earned" |
| DISCOUNTED_AMOUNT | "discounted_amount" |
| COMPLETED_ORDERS | "completed_orders" |
| COUPON_ATTEMPTS | "coupon_attempts" |
| Name | Value |
|---|---|
| _1D | "1D" |
| _7D | "7D" |
| _30D | "30D" |
| Name | Value |
|---|---|
| EXPECTED_BEHAVIOR | "expected_behavior" |
| OTHER | "other" |