Group Latency Profile
lexq_profile_overviewPer-rule latency profile of a policy group over a time window: group TOTAL distribution split by cacheState (HIT = calls on a version already prepared for execution, MISS = calls that had to prepare the version first and run slower), a per-rule CONDITION/ACTION percentile table, and slow-rule flags. flagged = p50 ≥ 10× median of per-rule p50s within the group; absolute thresholds are intentionally not supported. Every percentile is accompanied by its sample count n; a percentile is withheld (null) unless n×(1−q) ≥ 3 (p50 needs n ≥ 6, p95 n ≥ 60, p99 n ≥ 300 — display gate, separate from the n ≥ 100 judgment gate). Baselines report INSUFFICIENT_COHORT when fewer than 3 rules qualify. Rule detail comes from a 1% sample of calls; TOTAL is recorded for every call. Defaults: last 24h, live version, cacheState HIT.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"groupId": "<groupId>"
},
"name": "lexq_profile_overview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window end, ISO-8601 instant. Default: now | |
| from | No | Window start, ISO-8601 instant (e.g. 2026-07-01T00:00:00Z). Default: 24h ago | |
| groupId | Yes | Policy group ID | |
| versionId | No | Version to inspect (default: live version) | |
| cacheState | No | Cache dimension for the rule table and judgment (default: HIT) |