Get rule engine metrics
POST/stats/app/rule-engine-metrics
Get rule engine metrics.
Request
- application/json
Body
required
timeframe stringrequired
Possible values: [day
, week
, month
, year
, allTime
]
cmsProjectId stringrequired
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
subject stringnullable
windowStart date-timerequired
windowEnd date-timerequired
value numberrequired
groupBy objectrequired
result stringrequired
Possible values: [valid
, not-valid
, error
, unknown
]
type stringrequired
Possible values: [SCENARIO_EXECUTION
, SDK_VERIFICATION
]
[
{
"subject": "string",
"windowStart": "2024-07-29T15:51:28.071Z",
"windowEnd": "2024-07-29T15:51:28.071Z",
"value": 0,
"groupBy": {
"result": "valid",
"type": "SCENARIO_EXECUTION"
}
}
]
Error response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message stringrequired
code stringrequired
issues object[]
message stringrequired
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}
Loading...