AckdbScoreDefinition

Properties

all of
Option 2
degradedboolean

True when a source deletion scrubbed criteria out of this definition, or (#443) when its scope segment was deleted (the definition is also disabled) or widened by a scrub. Any successful edit clears it.

scopeSegmentNamestring (nullable)

Scope segment display name, hydrated on reads (#443). Null when the definition is unscoped OR its scope segment has been deleted — a non-null scopeSegmentId with a null name is the dangling-scope state (the definition is disabled + degraded).

scopeSegmentKindstring (nullable)

Scope segment home grain, hydrated on reads (#443). Null when unscoped/dangling.

"company""contact""person"
createdAtstring <date-time>
updatedAtstring <date-time>

Example

AckdbScoreDefinition example
{
  "scoreKey": "pql",
  "name": "PQL score",
  "description": "string",
  "grain": "company",
  "groups": [
    {
      "key": "fit",
      "weight": 0.4
    }
  ],
  "criteria": [
    {
      "group": "string",
      "field": "event:slack.message",
      "label": "string",
      "match": [],
      "bands": [],
      "agg": "count",
      "sumField": "string",
      "valueField": "employee_count",
      "windowDays": 0,
      "halfLifeDays": 0,
      "perUnitPoints": 0,
      "cap": 0,
      "filter": {
        "titleContains": null,
        "activeWithinDays": null
      },
      "sources": [],
      "signals": []
    }
  ],
  "normalization": "absolute",
  "percentilePopulation": "all",
  "labels": [
    {
      "gte": 0,
      "lt": 0,
      "label": "Excellent"
    }
  ],
  "scopeSegmentId": "string",
  "isPrimary": false,
  "enabled": true,
  "degraded": false,
  "scopeSegmentName": "string",
  "scopeSegmentKind": "company",
  "createdAt": "1970-01-01T00:00:00.000Z",
  "updatedAt": "1970-01-01T00:00:00.000Z"
}