ackDB
Preview a DRAFT definition (unsaved)
Validates + compiles the draft body and returns the live population's score distribution — the builder histogram. Percentile drafts rank inline (exact), so nothing needs saving first. percentilePopulation: "active" drafts histogram the active rows only; population/excluded report the split (#432).
post/api/v1/ackdb/scores/preview
Request
- Base URLhttp://localhost:3009
- AuthHTTP bearer
Request body
Example request
{
"scoreKey": "pql",
"name": "PQL score",
"groups": [
{
"key": "fit",
"weight": 0.4
}
],
"criteria": [
{
"field": "event:slack.message",
"valueField": "employee_count"
}
],
"labels": [
{
"label": "Excellent"
}
]
}Response
The score distribution.
Changes
No recorded changes to this operation across all 1 revision of this API.