[{"data":1,"prerenderedAt":2514},["ShallowReactive",2],{"navigation_docs":3,"-api-rules":183,"-api-rules-surround":2509},[4,25,60,81,153,168],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting started",false,"\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F2.quickstart","i-lucide-zap",{"title":21,"path":22,"stem":23,"icon":24},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F3.installation","i-lucide-server",{"title":26,"icon":6,"path":27,"stem":28,"children":29,"page":6},"Concepts","\u002Fconcepts","2.concepts",[30,35,40,45,50,55],{"title":31,"path":32,"stem":33,"icon":34},"How AML works","\u002Fconcepts\u002Fhow-aml-works","2.concepts\u002F1.how-aml-works","i-lucide-book-open",{"title":36,"path":37,"stem":38,"icon":39},"Events and decisions","\u002Fconcepts\u002Fevents-and-decisions","2.concepts\u002F2.events-and-decisions","i-lucide-activity",{"title":41,"path":42,"stem":43,"icon":44},"Rules","\u002Fconcepts\u002Frules","2.concepts\u002F3.rules","i-lucide-scale",{"title":46,"path":47,"stem":48,"icon":49},"Alerts, cases and reporting","\u002Fconcepts\u002Falerts-cases-reporting","2.concepts\u002F4.alerts-cases-reporting","i-lucide-folder-search",{"title":51,"path":52,"stem":53,"icon":54},"Entities and the graph","\u002Fconcepts\u002Fentities-and-graph","2.concepts\u002F5.entities-and-graph","i-lucide-network",{"title":56,"path":57,"stem":58,"icon":59},"Audit log","\u002Fconcepts\u002Faudit-log","2.concepts\u002F6.audit-log","i-lucide-scroll-text",{"title":61,"icon":6,"path":62,"stem":63,"children":64,"page":6},"Guides","\u002Fguides","3.guides",[65,70,75],{"title":66,"path":67,"stem":68,"icon":69},"Guides by role","\u002Fguides\u002Fby-role","3.guides\u002F1.by-role","i-lucide-users",{"title":71,"path":72,"stem":73,"icon":74},"Integration plan","\u002Fguides\u002Fintegration-plan","3.guides\u002F2.integration-plan","i-lucide-list-checks",{"title":76,"path":77,"stem":78,"icon":79,"badge":80},"Connecting a rail","\u002Fguides\u002Fconnecting-a-rail","3.guides\u002F3.connecting-a-rail","i-lucide-plug","Coming soon",{"title":82,"icon":6,"path":83,"stem":84,"children":85,"page":6},"API reference","\u002Fapi","4.api",[86,91,96,101,106,111,116,121,126,129,134,139,144,149],{"title":87,"path":88,"stem":89,"icon":90},"Authentication","\u002Fapi\u002Fauthentication","4.api\u002F01.authentication","i-lucide-key-round",{"title":92,"path":93,"stem":94,"icon":95},"Errors","\u002Fapi\u002Ferrors","4.api\u002F02.errors","i-lucide-circle-alert",{"title":97,"path":98,"stem":99,"icon":100},"Idempotency","\u002Fapi\u002Fidempotency","4.api\u002F03.idempotency","i-lucide-repeat",{"title":102,"path":103,"stem":104,"icon":105},"Health","\u002Fapi\u002Fhealth","4.api\u002F04.health","i-lucide-heart-pulse",{"title":107,"path":108,"stem":109,"icon":110},"Entities","\u002Fapi\u002Fentities","4.api\u002F05.entities","i-lucide-user-round",{"title":112,"path":113,"stem":114,"icon":115},"Events","\u002Fapi\u002Fevents","4.api\u002F06.events","i-lucide-send",{"title":117,"path":118,"stem":119,"icon":120},"Decisions","\u002Fapi\u002Fdecisions","4.api\u002F07.decisions","i-lucide-gavel",{"title":122,"path":123,"stem":124,"icon":125},"Alerts","\u002Fapi\u002Falerts","4.api\u002F08.alerts","i-lucide-bell",{"title":41,"path":127,"stem":128,"icon":44},"\u002Fapi\u002Frules","4.api\u002F09.rules",{"title":130,"path":131,"stem":132,"icon":133},"Screening","\u002Fapi\u002Fscreening","4.api\u002F10.screening","i-lucide-user-search",{"title":135,"path":136,"stem":137,"icon":138},"API keys","\u002Fapi\u002Fapi-keys","4.api\u002F11.api-keys","i-lucide-key",{"title":140,"path":141,"stem":142,"icon":143},"Overview","\u002Fapi\u002Foverview","4.api\u002F12.overview","i-lucide-layout-dashboard",{"title":145,"path":146,"stem":147,"icon":148,"badge":80},"Webhooks","\u002Fapi\u002Fwebhooks","4.api\u002F13.webhooks","i-lucide-webhook",{"title":80,"path":150,"stem":151,"icon":152,"badge":80},"\u002Fapi\u002Fcoming-soon","4.api\u002F14.coming-soon","i-lucide-clock",{"title":154,"icon":6,"path":155,"stem":156,"children":157,"page":6},"Security and licensing","\u002Fsecurity","5.security",[158,163],{"title":159,"path":160,"stem":161,"icon":162},"Data flows","\u002Fsecurity\u002Fdata-flows","5.security\u002F1.data-flows","i-lucide-shield-check",{"title":164,"path":165,"stem":166,"icon":167,"badge":80},"Licensing and metering","\u002Fsecurity\u002Flicensing","5.security\u002F2.licensing","i-lucide-file-badge",{"title":169,"icon":6,"path":170,"stem":171,"children":172,"page":6},"Reference","\u002Freference","6.reference",[173,178],{"title":174,"path":175,"stem":176,"icon":177},"Glossary","\u002Freference\u002Fglossary","6.reference\u002F1.glossary","i-lucide-book-a",{"title":179,"path":180,"stem":181,"icon":182},"FAQ","\u002Freference\u002Ffaq","6.reference\u002F2.faq","i-lucide-circle-help",{"id":184,"title":41,"body":185,"description":2502,"extension":2503,"links":2504,"meta":2505,"navigation":2506,"path":127,"seo":2507,"stem":128,"__hash__":2508},"docs\u002F4.api\u002F09.rules.md",{"type":186,"value":187,"toc":2483},"minimark",[188,209,257,265,270,274,277,282,304,308,362,831,835,838,851,855,901,904,995,1195,1199,1331,1338,1455,1479,1482,1592,1596,1599,1608,1611,1648,1661,1665,1668,1671,1674,1677,1680,1700,1703,1777,2017,2021,2120,2124,2283,2286,2479],[189,190,191,192,196,197,200,201,204,205,208],"p",{},"Rules are versioned. Each version is its own record with its own ",[193,194,195],"code",{},"id",". A new version starts as a ",[193,198,199],{},"draft",", a different key activates it, and the version it replaces becomes ",[193,202,203],{},"retired",". See ",[206,207,41],"a",{"href":42}," for how rules score events.",[210,211,212,225],"table",{},[213,214,215],"thead",{},[216,217,218,222],"tr",{},[219,220,221],"th",{},"Status",[219,223,224],{},"Meaning",[226,227,228,238,248],"tbody",{},[216,229,230,235],{},[231,232,233],"td",{},[193,234,199],{},[231,236,237],{},"Created, not yet affecting decisions",[216,239,240,245],{},[231,241,242],{},[193,243,244],{},"active",[231,246,247],{},"Scoring every sync event. At most one version per rule key is active.",[216,249,250,254],{},[231,251,252],{},[193,253,203],{},[231,255,256],{},"Replaced by a newer active version. Kept for history.",[258,259,260,261,264],"note",{},"An organisation with no active rules is scored by the built-in pack. Once you activate any rule of your own, only your active rules run. To keep the built-in rules and edit them, run ",[193,262,263],{},"sentinel-admin rules seed -org \u003Corg>"," before creating your own. It installs them as active rules, and only works on an organisation with no rule versions yet.",[266,267,269],"h2",{"id":268},"list-rules","List rules",[271,272,273],"badge",{},"GET \u002Fv1\u002Frules",[189,275,276],{},"Returns every version of every rule, sorted by key, newest version first.",[278,279,281],"h3",{"id":280},"query-parameters","Query parameters",[283,284,285,300],"field-group",{},[286,287,290,291,293,294,296,297,299],"field",{"name":288,"type":289},"status","string","Only return versions with this status: ",[193,292,199],{},", ",[193,295,244],{}," or ",[193,298,203],{},".",[286,301,303],{"name":302,"type":289},"key","Only return versions of this rule.",[278,305,307],{"id":306},"example","Example",[309,310,316],"pre",{"className":311,"code":312,"filename":313,"language":314,"meta":315,"style":315},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl \"$SENTINEL_URL\u002Fv1\u002Frules?key=structuring_below_threshold\" \\\n  -H \"Authorization: Bearer $SENTINEL_KEY\"\n","Terminal","bash","",[193,317,318,345],{"__ignoreMap":315},[319,320,323,327,331,335,339,342],"span",{"class":321,"line":322},"line",1,[319,324,326],{"class":325},"sBMFI","curl",[319,328,330],{"class":329},"sMK4o"," \"",[319,332,334],{"class":333},"sTEyZ","$SENTINEL_URL",[319,336,338],{"class":337},"sfazB","\u002Fv1\u002Frules?key=structuring_below_threshold",[319,340,341],{"class":329},"\"",[319,343,344],{"class":333}," \\\n",[319,346,348,351,353,356,359],{"class":321,"line":347},2,[319,349,350],{"class":337},"  -H",[319,352,330],{"class":329},[319,354,355],{"class":337},"Authorization: Bearer ",[319,357,358],{"class":333},"$SENTINEL_KEY",[319,360,361],{"class":329},"\"\n",[309,363,368],{"className":364,"code":365,"filename":366,"language":367,"meta":315,"style":315},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"rules\": [\n    {\n      \"id\": \"6a1f0c3e-2b4d-4e5f-8a9b-0c1d2e3f4a5b\",\n      \"key\": \"structuring_below_threshold\",\n      \"version\": 2,\n      \"expr\": \"amount >= 4500.0 && amount \u003C 5000.0 && features[\\\"near_threshold_count_24h\\\"] >= 4\",\n      \"weight\": 60,\n      \"detail\": \"repeated transfers just below the reporting threshold within 24h\",\n      \"status\": \"draft\",\n      \"created_by\": \"3f2e1d0c-9b8a-4765-8432-10fedcba9876\",\n      \"created_at\": \"2026-10-15T14:02:11.480Z\"\n    },\n    {\n      \"id\": \"1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e\",\n      \"key\": \"structuring_below_threshold\",\n      \"version\": 1,\n      \"expr\": \"amount >= 4500.0 && amount \u003C 5000.0 && features[\\\"near_threshold_count_24h\\\"] >= 3\",\n      \"weight\": 60,\n      \"detail\": \"repeated transfers just below the reporting threshold within 24h\",\n      \"status\": \"active\",\n      \"created_by\": \"sentinel-admin\",\n      \"approved_by\": \"sentinel-admin (seed)\",\n      \"created_at\": \"2026-10-01T08:00:00.000Z\",\n      \"activated_at\": \"2026-10-01T08:00:00.000Z\"\n    }\n  ]\n}\n","Response · 200","json",[193,369,370,375,392,398,420,440,458,490,507,528,547,568,587,593,598,618,637,653,681,696,715,734,754,775,795,813,819,825],{"__ignoreMap":315},[319,371,372],{"class":321,"line":322},[319,373,374],{"class":329},"{\n",[319,376,377,380,384,386,389],{"class":321,"line":347},[319,378,379],{"class":329},"  \"",[319,381,383],{"class":382},"spNyl","rules",[319,385,341],{"class":329},[319,387,388],{"class":329},":",[319,390,391],{"class":329}," [\n",[319,393,395],{"class":321,"line":394},3,[319,396,397],{"class":329},"    {\n",[319,399,401,404,406,408,410,412,415,417],{"class":321,"line":400},4,[319,402,403],{"class":329},"      \"",[319,405,195],{"class":325},[319,407,341],{"class":329},[319,409,388],{"class":329},[319,411,330],{"class":329},[319,413,414],{"class":337},"6a1f0c3e-2b4d-4e5f-8a9b-0c1d2e3f4a5b",[319,416,341],{"class":329},[319,418,419],{"class":329},",\n",[319,421,423,425,427,429,431,433,436,438],{"class":321,"line":422},5,[319,424,403],{"class":329},[319,426,302],{"class":325},[319,428,341],{"class":329},[319,430,388],{"class":329},[319,432,330],{"class":329},[319,434,435],{"class":337},"structuring_below_threshold",[319,437,341],{"class":329},[319,439,419],{"class":329},[319,441,443,445,448,450,452,456],{"class":321,"line":442},6,[319,444,403],{"class":329},[319,446,447],{"class":325},"version",[319,449,341],{"class":329},[319,451,388],{"class":329},[319,453,455],{"class":454},"sbssI"," 2",[319,457,419],{"class":329},[319,459,461,463,466,468,470,472,475,478,481,483,486,488],{"class":321,"line":460},7,[319,462,403],{"class":329},[319,464,465],{"class":325},"expr",[319,467,341],{"class":329},[319,469,388],{"class":329},[319,471,330],{"class":329},[319,473,474],{"class":337},"amount >= 4500.0 && amount \u003C 5000.0 && features[",[319,476,477],{"class":333},"\\\"",[319,479,480],{"class":337},"near_threshold_count_24h",[319,482,477],{"class":333},[319,484,485],{"class":337},"] >= 4",[319,487,341],{"class":329},[319,489,419],{"class":329},[319,491,493,495,498,500,502,505],{"class":321,"line":492},8,[319,494,403],{"class":329},[319,496,497],{"class":325},"weight",[319,499,341],{"class":329},[319,501,388],{"class":329},[319,503,504],{"class":454}," 60",[319,506,419],{"class":329},[319,508,510,512,515,517,519,521,524,526],{"class":321,"line":509},9,[319,511,403],{"class":329},[319,513,514],{"class":325},"detail",[319,516,341],{"class":329},[319,518,388],{"class":329},[319,520,330],{"class":329},[319,522,523],{"class":337},"repeated transfers just below the reporting threshold within 24h",[319,525,341],{"class":329},[319,527,419],{"class":329},[319,529,531,533,535,537,539,541,543,545],{"class":321,"line":530},10,[319,532,403],{"class":329},[319,534,288],{"class":325},[319,536,341],{"class":329},[319,538,388],{"class":329},[319,540,330],{"class":329},[319,542,199],{"class":337},[319,544,341],{"class":329},[319,546,419],{"class":329},[319,548,550,552,555,557,559,561,564,566],{"class":321,"line":549},11,[319,551,403],{"class":329},[319,553,554],{"class":325},"created_by",[319,556,341],{"class":329},[319,558,388],{"class":329},[319,560,330],{"class":329},[319,562,563],{"class":337},"3f2e1d0c-9b8a-4765-8432-10fedcba9876",[319,565,341],{"class":329},[319,567,419],{"class":329},[319,569,571,573,576,578,580,582,585],{"class":321,"line":570},12,[319,572,403],{"class":329},[319,574,575],{"class":325},"created_at",[319,577,341],{"class":329},[319,579,388],{"class":329},[319,581,330],{"class":329},[319,583,584],{"class":337},"2026-10-15T14:02:11.480Z",[319,586,361],{"class":329},[319,588,590],{"class":321,"line":589},13,[319,591,592],{"class":329},"    },\n",[319,594,596],{"class":321,"line":595},14,[319,597,397],{"class":329},[319,599,601,603,605,607,609,611,614,616],{"class":321,"line":600},15,[319,602,403],{"class":329},[319,604,195],{"class":325},[319,606,341],{"class":329},[319,608,388],{"class":329},[319,610,330],{"class":329},[319,612,613],{"class":337},"1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",[319,615,341],{"class":329},[319,617,419],{"class":329},[319,619,621,623,625,627,629,631,633,635],{"class":321,"line":620},16,[319,622,403],{"class":329},[319,624,302],{"class":325},[319,626,341],{"class":329},[319,628,388],{"class":329},[319,630,330],{"class":329},[319,632,435],{"class":337},[319,634,341],{"class":329},[319,636,419],{"class":329},[319,638,640,642,644,646,648,651],{"class":321,"line":639},17,[319,641,403],{"class":329},[319,643,447],{"class":325},[319,645,341],{"class":329},[319,647,388],{"class":329},[319,649,650],{"class":454}," 1",[319,652,419],{"class":329},[319,654,656,658,660,662,664,666,668,670,672,674,677,679],{"class":321,"line":655},18,[319,657,403],{"class":329},[319,659,465],{"class":325},[319,661,341],{"class":329},[319,663,388],{"class":329},[319,665,330],{"class":329},[319,667,474],{"class":337},[319,669,477],{"class":333},[319,671,480],{"class":337},[319,673,477],{"class":333},[319,675,676],{"class":337},"] >= 3",[319,678,341],{"class":329},[319,680,419],{"class":329},[319,682,684,686,688,690,692,694],{"class":321,"line":683},19,[319,685,403],{"class":329},[319,687,497],{"class":325},[319,689,341],{"class":329},[319,691,388],{"class":329},[319,693,504],{"class":454},[319,695,419],{"class":329},[319,697,699,701,703,705,707,709,711,713],{"class":321,"line":698},20,[319,700,403],{"class":329},[319,702,514],{"class":325},[319,704,341],{"class":329},[319,706,388],{"class":329},[319,708,330],{"class":329},[319,710,523],{"class":337},[319,712,341],{"class":329},[319,714,419],{"class":329},[319,716,718,720,722,724,726,728,730,732],{"class":321,"line":717},21,[319,719,403],{"class":329},[319,721,288],{"class":325},[319,723,341],{"class":329},[319,725,388],{"class":329},[319,727,330],{"class":329},[319,729,244],{"class":337},[319,731,341],{"class":329},[319,733,419],{"class":329},[319,735,737,739,741,743,745,747,750,752],{"class":321,"line":736},22,[319,738,403],{"class":329},[319,740,554],{"class":325},[319,742,341],{"class":329},[319,744,388],{"class":329},[319,746,330],{"class":329},[319,748,749],{"class":337},"sentinel-admin",[319,751,341],{"class":329},[319,753,419],{"class":329},[319,755,757,759,762,764,766,768,771,773],{"class":321,"line":756},23,[319,758,403],{"class":329},[319,760,761],{"class":325},"approved_by",[319,763,341],{"class":329},[319,765,388],{"class":329},[319,767,330],{"class":329},[319,769,770],{"class":337},"sentinel-admin (seed)",[319,772,341],{"class":329},[319,774,419],{"class":329},[319,776,778,780,782,784,786,788,791,793],{"class":321,"line":777},24,[319,779,403],{"class":329},[319,781,575],{"class":325},[319,783,341],{"class":329},[319,785,388],{"class":329},[319,787,330],{"class":329},[319,789,790],{"class":337},"2026-10-01T08:00:00.000Z",[319,792,341],{"class":329},[319,794,419],{"class":329},[319,796,798,800,803,805,807,809,811],{"class":321,"line":797},25,[319,799,403],{"class":329},[319,801,802],{"class":325},"activated_at",[319,804,341],{"class":329},[319,806,388],{"class":329},[319,808,330],{"class":329},[319,810,790],{"class":337},[319,812,361],{"class":329},[319,814,816],{"class":321,"line":815},26,[319,817,818],{"class":329},"    }\n",[319,820,822],{"class":321,"line":821},27,[319,823,824],{"class":329},"  ]\n",[319,826,828],{"class":321,"line":827},28,[319,829,830],{"class":329},"}\n",[266,832,834],{"id":833},"create-a-draft","Create a draft",[271,836,837],{},"POST \u002Fv1\u002Frules",[189,839,840,841,843,844,846,847,850],{},"Creates the next version of a rule as a ",[193,842,199],{},". If no rule with that ",[193,845,302],{}," exists, this is version 1. The expression is compiled straight away, so a broken expression is rejected here and never reaches a live decision. Returns ",[193,848,849],{},"201"," with the new version.",[278,852,854],{"id":853},"request-body","Request body",[283,856,857,861,880,884,887],{},[286,858,860],{"name":302,"type":289,":required":859},"true","The rule's name. Lowercase letters, digits and underscores, starting with a letter, 2 to 64 characters. Reasons on decisions show this.",[286,862,863,864,870,871,296,873,204,876,299],{"name":465,"type":289,":required":859},"A ",[206,865,869],{"href":866,"rel":867},"https:\u002F\u002Fcel.dev",[868],"nofollow","CEL"," expression that returns ",[193,872,859],{},[193,874,875],{},"false",[206,877,879],{"href":878},"#expression-variables","variables",[286,881,883],{"name":497,"type":882,":required":859},"integer","Points added to the risk score when the rule fires. 1 to 100.",[286,885,886],{"name":514,"type":289,":required":859},"The plain explanation stored on each decision the rule fires on.",[286,888,890,893,894,897,898,900],{"name":889,"type":289},"subject",[193,891,892],{},"source"," (the default) or ",[193,895,896],{},"destination",": which party the rule is about. Its alerts go to that party. Use ",[193,899,896],{}," for rules about money arriving, such as fan-in.",[278,902,307],{"id":903},"example-1",[309,905,907],{"className":311,"code":906,"filename":313,"language":314,"meta":315,"style":315},"curl -X POST \"$SENTINEL_URL\u002Fv1\u002Frules\" \\\n  -H \"Authorization: Bearer $SENTINEL_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"key\": \"large_card_payment\",\n    \"expr\": \"rail == \\\"card\\\" && amount >= 10000.0\",\n    \"weight\": 40,\n    \"detail\": \"card payment of 10,000 or more\"\n  }'\n",[193,908,909,930,944,957,967,972,977,982,987],{"__ignoreMap":315},[319,910,911,913,916,919,921,923,926,928],{"class":321,"line":322},[319,912,326],{"class":325},[319,914,915],{"class":337}," -X",[319,917,918],{"class":337}," POST",[319,920,330],{"class":329},[319,922,334],{"class":333},[319,924,925],{"class":337},"\u002Fv1\u002Frules",[319,927,341],{"class":329},[319,929,344],{"class":333},[319,931,932,934,936,938,940,942],{"class":321,"line":347},[319,933,350],{"class":337},[319,935,330],{"class":329},[319,937,355],{"class":337},[319,939,358],{"class":333},[319,941,341],{"class":329},[319,943,344],{"class":333},[319,945,946,948,950,953,955],{"class":321,"line":394},[319,947,350],{"class":337},[319,949,330],{"class":329},[319,951,952],{"class":337},"Content-Type: application\u002Fjson",[319,954,341],{"class":329},[319,956,344],{"class":333},[319,958,959,962,965],{"class":321,"line":400},[319,960,961],{"class":337},"  -d",[319,963,964],{"class":329}," '",[319,966,374],{"class":337},[319,968,969],{"class":321,"line":422},[319,970,971],{"class":337},"    \"key\": \"large_card_payment\",\n",[319,973,974],{"class":321,"line":442},[319,975,976],{"class":337},"    \"expr\": \"rail == \\\"card\\\" && amount >= 10000.0\",\n",[319,978,979],{"class":321,"line":460},[319,980,981],{"class":337},"    \"weight\": 40,\n",[319,983,984],{"class":321,"line":492},[319,985,986],{"class":337},"    \"detail\": \"card payment of 10,000 or more\"\n",[319,988,989,992],{"class":321,"line":509},[319,990,991],{"class":337},"  }",[319,993,994],{"class":329},"'\n",[309,996,999],{"className":364,"code":997,"filename":998,"language":367,"meta":315,"style":315},"{\n  \"id\": \"9e8d7c6b-5a4f-4e3d-2c1b-0a9f8e7d6c5b\",\n  \"key\": \"large_card_payment\",\n  \"version\": 1,\n  \"expr\": \"rail == \\\"card\\\" && amount >= 10000.0\",\n  \"weight\": 40,\n  \"detail\": \"card payment of 10,000 or more\",\n  \"subject\": \"source\",\n  \"status\": \"draft\",\n  \"created_by\": \"3f2e1d0c-9b8a-4765-8432-10fedcba9876\",\n  \"created_at\": \"2026-10-15T14:20:45.913Z\"\n}\n","Response · 201",[193,1000,1001,1005,1024,1043,1057,1086,1101,1120,1138,1156,1174,1191],{"__ignoreMap":315},[319,1002,1003],{"class":321,"line":322},[319,1004,374],{"class":329},[319,1006,1007,1009,1011,1013,1015,1017,1020,1022],{"class":321,"line":347},[319,1008,379],{"class":329},[319,1010,195],{"class":382},[319,1012,341],{"class":329},[319,1014,388],{"class":329},[319,1016,330],{"class":329},[319,1018,1019],{"class":337},"9e8d7c6b-5a4f-4e3d-2c1b-0a9f8e7d6c5b",[319,1021,341],{"class":329},[319,1023,419],{"class":329},[319,1025,1026,1028,1030,1032,1034,1036,1039,1041],{"class":321,"line":394},[319,1027,379],{"class":329},[319,1029,302],{"class":382},[319,1031,341],{"class":329},[319,1033,388],{"class":329},[319,1035,330],{"class":329},[319,1037,1038],{"class":337},"large_card_payment",[319,1040,341],{"class":329},[319,1042,419],{"class":329},[319,1044,1045,1047,1049,1051,1053,1055],{"class":321,"line":400},[319,1046,379],{"class":329},[319,1048,447],{"class":382},[319,1050,341],{"class":329},[319,1052,388],{"class":329},[319,1054,650],{"class":454},[319,1056,419],{"class":329},[319,1058,1059,1061,1063,1065,1067,1069,1072,1074,1077,1079,1082,1084],{"class":321,"line":422},[319,1060,379],{"class":329},[319,1062,465],{"class":382},[319,1064,341],{"class":329},[319,1066,388],{"class":329},[319,1068,330],{"class":329},[319,1070,1071],{"class":337},"rail == ",[319,1073,477],{"class":333},[319,1075,1076],{"class":337},"card",[319,1078,477],{"class":333},[319,1080,1081],{"class":337}," && amount >= 10000.0",[319,1083,341],{"class":329},[319,1085,419],{"class":329},[319,1087,1088,1090,1092,1094,1096,1099],{"class":321,"line":442},[319,1089,379],{"class":329},[319,1091,497],{"class":382},[319,1093,341],{"class":329},[319,1095,388],{"class":329},[319,1097,1098],{"class":454}," 40",[319,1100,419],{"class":329},[319,1102,1103,1105,1107,1109,1111,1113,1116,1118],{"class":321,"line":460},[319,1104,379],{"class":329},[319,1106,514],{"class":382},[319,1108,341],{"class":329},[319,1110,388],{"class":329},[319,1112,330],{"class":329},[319,1114,1115],{"class":337},"card payment of 10,000 or more",[319,1117,341],{"class":329},[319,1119,419],{"class":329},[319,1121,1122,1124,1126,1128,1130,1132,1134,1136],{"class":321,"line":492},[319,1123,379],{"class":329},[319,1125,889],{"class":382},[319,1127,341],{"class":329},[319,1129,388],{"class":329},[319,1131,330],{"class":329},[319,1133,892],{"class":337},[319,1135,341],{"class":329},[319,1137,419],{"class":329},[319,1139,1140,1142,1144,1146,1148,1150,1152,1154],{"class":321,"line":509},[319,1141,379],{"class":329},[319,1143,288],{"class":382},[319,1145,341],{"class":329},[319,1147,388],{"class":329},[319,1149,330],{"class":329},[319,1151,199],{"class":337},[319,1153,341],{"class":329},[319,1155,419],{"class":329},[319,1157,1158,1160,1162,1164,1166,1168,1170,1172],{"class":321,"line":530},[319,1159,379],{"class":329},[319,1161,554],{"class":382},[319,1163,341],{"class":329},[319,1165,388],{"class":329},[319,1167,330],{"class":329},[319,1169,563],{"class":337},[319,1171,341],{"class":329},[319,1173,419],{"class":329},[319,1175,1176,1178,1180,1182,1184,1186,1189],{"class":321,"line":549},[319,1177,379],{"class":329},[319,1179,575],{"class":382},[319,1181,341],{"class":329},[319,1183,388],{"class":329},[319,1185,330],{"class":329},[319,1187,1188],{"class":337},"2026-10-15T14:20:45.913Z",[319,1190,361],{"class":329},[319,1192,1193],{"class":321,"line":570},[319,1194,830],{"class":329},[278,1196,1198],{"id":1197},"expression-variables","Expression variables",[210,1200,1201,1214],{},[213,1202,1203],{},[216,1204,1205,1208,1211],{},[219,1206,1207],{},"Variable",[219,1209,1210],{},"Type",[219,1212,1213],{},"Value",[226,1215,1216,1231,1251,1266,1278,1292,1306,1319],{},[216,1217,1218,1223,1225],{},[231,1219,1220],{},[193,1221,1222],{},"type",[231,1224,289],{},[231,1226,1227,1228],{},"The event type, for example ",[193,1229,1230],{},"transfer.outbound",[216,1232,1233,1238,1241],{},[231,1234,1235],{},[193,1236,1237],{},"amount",[231,1239,1240],{},"double",[231,1242,1243,1246,1247,1250],{},[193,1244,1245],{},"amount.value",", or ",[193,1248,1249],{},"0"," if the event has none",[216,1252,1253,1258,1260],{},[231,1254,1255],{},[193,1256,1257],{},"currency",[231,1259,289],{},[231,1261,1262,1265],{},[193,1263,1264],{},"amount.currency",", or empty",[216,1267,1268,1273,1275],{},[231,1269,1270],{},[193,1271,1272],{},"rail",[231,1274,289],{},[231,1276,1277],{},"As sent, or empty",[216,1279,1280,1285,1287],{},[231,1281,1282],{},[193,1283,1284],{},"source_id",[231,1286,289],{},[231,1288,1289,1265],{},[193,1290,1291],{},"source.entity_id",[216,1293,1294,1299,1301],{},[231,1295,1296],{},[193,1297,1298],{},"destination_id",[231,1300,289],{},[231,1302,1303,1265],{},[193,1304,1305],{},"destination.entity_id",[216,1307,1308,1313,1316],{},[231,1309,1310],{},[193,1311,1312],{},"features",[231,1314,1315],{},"map of string to int",[231,1317,1318],{},"Counters for the source",[216,1320,1321,1326,1328],{},[231,1322,1323],{},[193,1324,1325],{},"dest_features",[231,1327,1315],{},[231,1329,1330],{},"The same counters for the destination",[189,1332,1333,1334,1337],{},"Each counter covers the 24 hours up to and including this event, by ",[193,1335,1336],{},"occurred_at",", and only events that had arrived by the time this one did. Events stored in async mode count too.",[210,1339,1340,1350],{},[213,1341,1342],{},[216,1343,1344,1347],{},[219,1345,1346],{},"Counter",[219,1348,1349],{},"Counts",[226,1351,1352,1362,1378,1391,1404,1417,1427,1440],{},[216,1353,1354,1359],{},[231,1355,1356],{},[193,1357,1358],{},"txn_count_24h",[231,1360,1361],{},"Events the entity sent",[216,1363,1364,1368],{},[231,1365,1366],{},[193,1367,480],{},[231,1369,1370,1371,1374,1375],{},"Of those, amounts from 4,500 up to but not including 5,000. Set the band with ",[193,1372,1373],{},"SENTINEL_NEAR_THRESHOLD_LOW"," and ",[193,1376,1377],{},"SENTINEL_NEAR_THRESHOLD_HIGH",[216,1379,1380,1388],{},[231,1381,1382,293,1385],{},[193,1383,1384],{},"in_count_24h",[193,1386,1387],{},"in_value_24h",[231,1389,1390],{},"Payments the entity received, and their total in whole units",[216,1392,1393,1401],{},[231,1394,1395,293,1398],{},[193,1396,1397],{},"in_senders_24h",[193,1399,1400],{},"in_senders_1h",[231,1402,1403],{},"Different senders that paid it, in 24 hours and in the last hour",[216,1405,1406,1414],{},[231,1407,1408,293,1411],{},[193,1409,1410],{},"out_count_24h",[193,1412,1413],{},"out_value_24h",[231,1415,1416],{},"Payments it made, and their total in whole units",[216,1418,1419,1424],{},[231,1420,1421],{},[193,1422,1423],{},"out_receivers_24h",[231,1425,1426],{},"Different receivers it paid",[216,1428,1429,1434],{},[231,1430,1431],{},[193,1432,1433],{},"dormant_days",[231,1435,1436,1437,1439],{},"Whole days since its previous payment in or out, ",[193,1438,1249],{}," if none",[216,1441,1442,1447],{},[231,1443,1444],{},[193,1445,1446],{},"seen_before",[231,1448,1449,1452,1453],{},[193,1450,1451],{},"1"," if it had any earlier payment, else ",[193,1454,1249],{},[189,1456,1457,1374,1459,1461,1462,1464,1465,1467,1468,1470,1471,1474,1475,1478],{},[193,1458,1358],{},[193,1460,480],{}," are only computed for the source; in ",[193,1463,1325],{}," they read ",[193,1466,1249],{},". Any counter that doesn't apply reads ",[193,1469,1249],{},". Use ",[193,1472,1473],{},"amount >= 4500.0",", not ",[193,1476,1477],{},"amount >= 4500",": CEL won't compare a double with an int.",[189,1480,1481],{},"A fan-in rule written against the destination:",[309,1483,1485],{"className":364,"code":1484,"language":367,"meta":315,"style":315},"{\n  \"key\": \"fan_in_unrelated_senders\",\n  \"expr\": \"dest_features[\\\"in_senders_1h\\\"] >= 10\",\n  \"weight\": 50,\n  \"detail\": \"10 or more different senders paid this account within an hour\",\n  \"subject\": \"destination\"\n}\n",[193,1486,1487,1491,1510,1538,1553,1572,1588],{"__ignoreMap":315},[319,1488,1489],{"class":321,"line":322},[319,1490,374],{"class":329},[319,1492,1493,1495,1497,1499,1501,1503,1506,1508],{"class":321,"line":347},[319,1494,379],{"class":329},[319,1496,302],{"class":382},[319,1498,341],{"class":329},[319,1500,388],{"class":329},[319,1502,330],{"class":329},[319,1504,1505],{"class":337},"fan_in_unrelated_senders",[319,1507,341],{"class":329},[319,1509,419],{"class":329},[319,1511,1512,1514,1516,1518,1520,1522,1525,1527,1529,1531,1534,1536],{"class":321,"line":394},[319,1513,379],{"class":329},[319,1515,465],{"class":382},[319,1517,341],{"class":329},[319,1519,388],{"class":329},[319,1521,330],{"class":329},[319,1523,1524],{"class":337},"dest_features[",[319,1526,477],{"class":333},[319,1528,1400],{"class":337},[319,1530,477],{"class":333},[319,1532,1533],{"class":337},"] >= 10",[319,1535,341],{"class":329},[319,1537,419],{"class":329},[319,1539,1540,1542,1544,1546,1548,1551],{"class":321,"line":400},[319,1541,379],{"class":329},[319,1543,497],{"class":382},[319,1545,341],{"class":329},[319,1547,388],{"class":329},[319,1549,1550],{"class":454}," 50",[319,1552,419],{"class":329},[319,1554,1555,1557,1559,1561,1563,1565,1568,1570],{"class":321,"line":422},[319,1556,379],{"class":329},[319,1558,514],{"class":382},[319,1560,341],{"class":329},[319,1562,388],{"class":329},[319,1564,330],{"class":329},[319,1566,1567],{"class":337},"10 or more different senders paid this account within an hour",[319,1569,341],{"class":329},[319,1571,419],{"class":329},[319,1573,1574,1576,1578,1580,1582,1584,1586],{"class":321,"line":442},[319,1575,379],{"class":329},[319,1577,889],{"class":382},[319,1579,341],{"class":329},[319,1581,388],{"class":329},[319,1583,330],{"class":329},[319,1585,896],{"class":337},[319,1587,361],{"class":329},[319,1589,1590],{"class":321,"line":460},[319,1591,830],{"class":329},[266,1593,1595],{"id":1594},"activate-a-draft","Activate a draft",[271,1597,1598],{},"POST \u002Fv1\u002Frules\u002F{id}\u002Factivate",[189,1600,1601,1602,1604,1605,1607],{},"Approves a draft version. It becomes ",[193,1603,244],{},", and any other active version of the same rule becomes ",[193,1606,203],{},". No body is needed.",[189,1609,1610],{},"This is four-eyes: the key that created the draft can't activate it. It takes effect at once on the instance that handled the request, and within 30 seconds on other instances.",[309,1612,1614],{"className":311,"code":1613,"filename":313,"language":314,"meta":315,"style":315},"curl -X POST \"$SENTINEL_URL\u002Fv1\u002Frules\u002F9e8d7c6b-5a4f-4e3d-2c1b-0a9f8e7d6c5b\u002Factivate\" \\\n  -H \"Authorization: Bearer $SENTINEL_REVIEWER_KEY\"\n",[193,1615,1616,1635],{"__ignoreMap":315},[319,1617,1618,1620,1622,1624,1626,1628,1631,1633],{"class":321,"line":322},[319,1619,326],{"class":325},[319,1621,915],{"class":337},[319,1623,918],{"class":337},[319,1625,330],{"class":329},[319,1627,334],{"class":333},[319,1629,1630],{"class":337},"\u002Fv1\u002Frules\u002F9e8d7c6b-5a4f-4e3d-2c1b-0a9f8e7d6c5b\u002Factivate",[319,1632,341],{"class":329},[319,1634,344],{"class":333},[319,1636,1637,1639,1641,1643,1646],{"class":321,"line":347},[319,1638,350],{"class":337},[319,1640,330],{"class":329},[319,1642,355],{"class":337},[319,1644,1645],{"class":333},"$SENTINEL_REVIEWER_KEY",[319,1647,361],{"class":329},[189,1649,1650,1651,1653,1654,1656,1657,1374,1659,299],{},"The response is the rule with ",[193,1652,288],{}," set to ",[193,1655,244],{},", plus ",[193,1658,761],{},[193,1660,802],{},[266,1662,1664],{"id":1663},"backtest-a-version","Backtest a version",[271,1666,1667],{},"POST \u002Fv1\u002Frules\u002F{id}\u002Fbacktest",[189,1669,1670],{},"Replays stored events through one rule version and reports what it would have flagged. Nothing changes: no decisions, no alerts. Each event sees the same 24-hour counters it saw live. Any version can be backtested, whatever its status.",[189,1672,1673],{},"If the version isn't active and another version of the same rule is, the result also compares the two, so you can see what a change would add and remove.",[278,1675,854],{"id":1676},"request-body-1",[189,1678,1679],{},"All fields are optional. Send no body for the last 7 days.",[283,1681,1682,1693,1696],{},[286,1683,1686,1687,1689,1690,299],{"name":1684,"type":1685},"since","string, date-time","Start of the window, by event ",[193,1688,1336],{},". Defaults to 7 days before ",[193,1691,1692],{},"until",[286,1694,1695],{"name":1692,"type":1685},"End of the window. Defaults to now. The window can be at most 31 days.",[286,1697,1699],{"name":1698,"type":882},"max_events","The most events to replay, oldest first. 1 to 100,000. Defaults to 50,000.",[278,1701,307],{"id":1702},"example-2",[309,1704,1706],{"className":311,"code":1705,"filename":313,"language":314,"meta":315,"style":315},"curl -X POST \"$SENTINEL_URL\u002Fv1\u002Frules\u002F6a1f0c3e-2b4d-4e5f-8a9b-0c1d2e3f4a5b\u002Fbacktest\" \\\n  -H \"Authorization: Bearer $SENTINEL_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"since\": \"2026-10-01T00:00:00Z\",\n    \"until\": \"2026-10-15T00:00:00Z\"\n  }'\n",[193,1707,1708,1727,1741,1753,1761,1766,1771],{"__ignoreMap":315},[319,1709,1710,1712,1714,1716,1718,1720,1723,1725],{"class":321,"line":322},[319,1711,326],{"class":325},[319,1713,915],{"class":337},[319,1715,918],{"class":337},[319,1717,330],{"class":329},[319,1719,334],{"class":333},[319,1721,1722],{"class":337},"\u002Fv1\u002Frules\u002F6a1f0c3e-2b4d-4e5f-8a9b-0c1d2e3f4a5b\u002Fbacktest",[319,1724,341],{"class":329},[319,1726,344],{"class":333},[319,1728,1729,1731,1733,1735,1737,1739],{"class":321,"line":347},[319,1730,350],{"class":337},[319,1732,330],{"class":329},[319,1734,355],{"class":337},[319,1736,358],{"class":333},[319,1738,341],{"class":329},[319,1740,344],{"class":333},[319,1742,1743,1745,1747,1749,1751],{"class":321,"line":394},[319,1744,350],{"class":337},[319,1746,330],{"class":329},[319,1748,952],{"class":337},[319,1750,341],{"class":329},[319,1752,344],{"class":333},[319,1754,1755,1757,1759],{"class":321,"line":400},[319,1756,961],{"class":337},[319,1758,964],{"class":329},[319,1760,374],{"class":337},[319,1762,1763],{"class":321,"line":422},[319,1764,1765],{"class":337},"    \"since\": \"2026-10-01T00:00:00Z\",\n",[319,1767,1768],{"class":321,"line":442},[319,1769,1770],{"class":337},"    \"until\": \"2026-10-15T00:00:00Z\"\n",[319,1772,1773,1775],{"class":321,"line":460},[319,1774,991],{"class":337},[319,1776,994],{"class":329},[309,1778,1780],{"className":364,"code":1779,"filename":366,"language":367,"meta":315,"style":315},"{\n  \"rule_id\": \"6a1f0c3e-2b4d-4e5f-8a9b-0c1d2e3f4a5b\",\n  \"key\": \"structuring_below_threshold\",\n  \"version\": 2,\n  \"since\": \"2026-10-01T00:00:00Z\",\n  \"until\": \"2026-10-15T00:00:00Z\",\n  \"events_evaluated\": 18342,\n  \"truncated\": false,\n  \"would_flag\": 41,\n  \"eval_errors\": 0,\n  \"baseline_version\": 1,\n  \"baseline_would_flag\": 67,\n  \"newly_flagged\": 0,\n  \"no_longer_flagged\": 26,\n  \"sample_event_ids\": []\n}\n",[193,1781,1782,1786,1805,1823,1837,1856,1875,1891,1905,1921,1937,1952,1968,1983,1999,2013],{"__ignoreMap":315},[319,1783,1784],{"class":321,"line":322},[319,1785,374],{"class":329},[319,1787,1788,1790,1793,1795,1797,1799,1801,1803],{"class":321,"line":347},[319,1789,379],{"class":329},[319,1791,1792],{"class":382},"rule_id",[319,1794,341],{"class":329},[319,1796,388],{"class":329},[319,1798,330],{"class":329},[319,1800,414],{"class":337},[319,1802,341],{"class":329},[319,1804,419],{"class":329},[319,1806,1807,1809,1811,1813,1815,1817,1819,1821],{"class":321,"line":394},[319,1808,379],{"class":329},[319,1810,302],{"class":382},[319,1812,341],{"class":329},[319,1814,388],{"class":329},[319,1816,330],{"class":329},[319,1818,435],{"class":337},[319,1820,341],{"class":329},[319,1822,419],{"class":329},[319,1824,1825,1827,1829,1831,1833,1835],{"class":321,"line":400},[319,1826,379],{"class":329},[319,1828,447],{"class":382},[319,1830,341],{"class":329},[319,1832,388],{"class":329},[319,1834,455],{"class":454},[319,1836,419],{"class":329},[319,1838,1839,1841,1843,1845,1847,1849,1852,1854],{"class":321,"line":422},[319,1840,379],{"class":329},[319,1842,1684],{"class":382},[319,1844,341],{"class":329},[319,1846,388],{"class":329},[319,1848,330],{"class":329},[319,1850,1851],{"class":337},"2026-10-01T00:00:00Z",[319,1853,341],{"class":329},[319,1855,419],{"class":329},[319,1857,1858,1860,1862,1864,1866,1868,1871,1873],{"class":321,"line":442},[319,1859,379],{"class":329},[319,1861,1692],{"class":382},[319,1863,341],{"class":329},[319,1865,388],{"class":329},[319,1867,330],{"class":329},[319,1869,1870],{"class":337},"2026-10-15T00:00:00Z",[319,1872,341],{"class":329},[319,1874,419],{"class":329},[319,1876,1877,1879,1882,1884,1886,1889],{"class":321,"line":460},[319,1878,379],{"class":329},[319,1880,1881],{"class":382},"events_evaluated",[319,1883,341],{"class":329},[319,1885,388],{"class":329},[319,1887,1888],{"class":454}," 18342",[319,1890,419],{"class":329},[319,1892,1893,1895,1898,1900,1902],{"class":321,"line":492},[319,1894,379],{"class":329},[319,1896,1897],{"class":382},"truncated",[319,1899,341],{"class":329},[319,1901,388],{"class":329},[319,1903,1904],{"class":329}," false,\n",[319,1906,1907,1909,1912,1914,1916,1919],{"class":321,"line":509},[319,1908,379],{"class":329},[319,1910,1911],{"class":382},"would_flag",[319,1913,341],{"class":329},[319,1915,388],{"class":329},[319,1917,1918],{"class":454}," 41",[319,1920,419],{"class":329},[319,1922,1923,1925,1928,1930,1932,1935],{"class":321,"line":530},[319,1924,379],{"class":329},[319,1926,1927],{"class":382},"eval_errors",[319,1929,341],{"class":329},[319,1931,388],{"class":329},[319,1933,1934],{"class":454}," 0",[319,1936,419],{"class":329},[319,1938,1939,1941,1944,1946,1948,1950],{"class":321,"line":549},[319,1940,379],{"class":329},[319,1942,1943],{"class":382},"baseline_version",[319,1945,341],{"class":329},[319,1947,388],{"class":329},[319,1949,650],{"class":454},[319,1951,419],{"class":329},[319,1953,1954,1956,1959,1961,1963,1966],{"class":321,"line":570},[319,1955,379],{"class":329},[319,1957,1958],{"class":382},"baseline_would_flag",[319,1960,341],{"class":329},[319,1962,388],{"class":329},[319,1964,1965],{"class":454}," 67",[319,1967,419],{"class":329},[319,1969,1970,1972,1975,1977,1979,1981],{"class":321,"line":589},[319,1971,379],{"class":329},[319,1973,1974],{"class":382},"newly_flagged",[319,1976,341],{"class":329},[319,1978,388],{"class":329},[319,1980,1934],{"class":454},[319,1982,419],{"class":329},[319,1984,1985,1987,1990,1992,1994,1997],{"class":321,"line":595},[319,1986,379],{"class":329},[319,1988,1989],{"class":382},"no_longer_flagged",[319,1991,341],{"class":329},[319,1993,388],{"class":329},[319,1995,1996],{"class":454}," 26",[319,1998,419],{"class":329},[319,2000,2001,2003,2006,2008,2010],{"class":321,"line":600},[319,2002,379],{"class":329},[319,2004,2005],{"class":382},"sample_event_ids",[319,2007,341],{"class":329},[319,2009,388],{"class":329},[319,2011,2012],{"class":329}," []\n",[319,2014,2015],{"class":321,"line":620},[319,2016,830],{"class":329},[278,2018,2020],{"id":2019},"result-fields","Result fields",[210,2022,2023,2032],{},[213,2024,2025],{},[216,2026,2027,2030],{},[219,2028,2029],{},"Field",[219,2031,224],{},[226,2033,2034,2043,2057,2066,2075,2084,2093,2102,2111],{},[216,2035,2036,2040],{},[231,2037,2038],{},[193,2039,1881],{},[231,2041,2042],{},"Events replayed",[216,2044,2045,2049],{},[231,2046,2047],{},[193,2048,1897],{},[231,2050,2051,2053,2054,2056],{},[193,2052,859],{}," when ",[193,2055,1698],{}," cut the window short",[216,2058,2059,2063],{},[231,2060,2061],{},[193,2062,1911],{},[231,2064,2065],{},"Events this version would have fired on",[216,2067,2068,2072],{},[231,2069,2070],{},[193,2071,1927],{},[231,2073,2074],{},"Events where the expression failed at run time",[216,2076,2077,2081],{},[231,2078,2079],{},[193,2080,1943],{},[231,2082,2083],{},"The active version compared against. Absent when there isn't one.",[216,2085,2086,2090],{},[231,2087,2088],{},[193,2089,1958],{},[231,2091,2092],{},"Events the active version fires on",[216,2094,2095,2099],{},[231,2096,2097],{},[193,2098,1974],{},[231,2100,2101],{},"Fired by this version but not the active one",[216,2103,2104,2108],{},[231,2105,2106],{},[193,2107,1989],{},[231,2109,2110],{},"Fired by the active version but not this one",[216,2112,2113,2117],{},[231,2114,2115],{},[193,2116,2005],{},[231,2118,2119],{},"Up to 20 event IDs: newly flagged ones when there's a baseline, otherwise flagged ones",[266,2121,2123],{"id":2122},"rule-fields","Rule fields",[210,2125,2126,2136],{},[213,2127,2128],{},[216,2129,2130,2132,2134],{},[219,2131,2029],{},[219,2133,1210],{},[219,2135,224],{},[226,2137,2138,2150,2161,2172,2183,2194,2205,2220,2236,2250,2261,2272],{},[216,2139,2140,2144,2147],{},[231,2141,2142],{},[193,2143,195],{},[231,2145,2146],{},"string, uuid",[231,2148,2149],{},"This version's ID",[216,2151,2152,2156,2158],{},[231,2153,2154],{},[193,2155,302],{},[231,2157,289],{},[231,2159,2160],{},"The rule's name, shared by all its versions",[216,2162,2163,2167,2169],{},[231,2164,2165],{},[193,2166,447],{},[231,2168,882],{},[231,2170,2171],{},"Starts at 1 and goes up by one per draft",[216,2173,2174,2178,2180],{},[231,2175,2176],{},[193,2177,465],{},[231,2179,289],{},[231,2181,2182],{},"The CEL expression",[216,2184,2185,2189,2191],{},[231,2186,2187],{},[193,2188,497],{},[231,2190,882],{},[231,2192,2193],{},"Points added when it fires",[216,2195,2196,2200,2202],{},[231,2197,2198],{},[193,2199,514],{},[231,2201,289],{},[231,2203,2204],{},"The explanation stored on decisions",[216,2206,2207,2211,2213],{},[231,2208,2209],{},[193,2210,889],{},[231,2212,289],{},[231,2214,2215,296,2217,2219],{},[193,2216,892],{},[193,2218,896],{},": whose alert a match goes on",[216,2221,2222,2226,2228],{},[231,2223,2224],{},[193,2225,288],{},[231,2227,289],{},[231,2229,2230,293,2232,296,2234],{},[193,2231,199],{},[193,2233,244],{},[193,2235,203],{},[216,2237,2238,2242,2244],{},[231,2239,2240],{},[193,2241,554],{},[231,2243,289],{},[231,2245,2246,2247,2249],{},"The key ID that created it, or ",[193,2248,749],{}," for seeded rules",[216,2251,2252,2256,2258],{},[231,2253,2254],{},[193,2255,761],{},[231,2257,289],{},[231,2259,2260],{},"The key ID that activated it",[216,2262,2263,2267,2269],{},[231,2264,2265],{},[193,2266,575],{},[231,2268,1685],{},[231,2270,2271],{},"When the draft was created",[216,2273,2274,2278,2280],{},[231,2275,2276],{},[193,2277,802],{},[231,2279,1685],{},[231,2281,2282],{},"When it was activated",[266,2284,92],{"id":2285},"errors",[210,2287,2288,2303],{},[213,2289,2290],{},[216,2291,2292,2295,2298],{},[219,2293,2294],{},"Endpoint",[219,2296,2297],{},"Code",[219,2299,2300],{},[193,2301,2302],{},"error",[226,2304,2305,2320,2336,2351,2366,2382,2399,2415,2431,2446,2461],{},[216,2306,2307,2310,2315],{},[231,2308,2309],{},"All",[231,2311,2312],{},[193,2313,2314],{},"401",[231,2316,2317],{},[193,2318,2319],{},"missing or invalid API key",[216,2321,2322,2326,2331],{},[231,2323,2324],{},[193,2325,837],{},[231,2327,2328],{},[193,2329,2330],{},"400",[231,2332,2333],{},[193,2334,2335],{},"key must be lowercase letters, digits and underscores, starting with a letter",[216,2337,2338,2342,2346],{},[231,2339,2340],{},[193,2341,837],{},[231,2343,2344],{},[193,2345,2330],{},[231,2347,2348],{},[193,2349,2350],{},"weight must be between 1 and 100",[216,2352,2353,2357,2361],{},[231,2354,2355],{},[193,2356,837],{},[231,2358,2359],{},[193,2360,2330],{},[231,2362,2363],{},[193,2364,2365],{},"detail is required",[216,2367,2368,2372,2376],{},[231,2369,2370],{},[193,2371,837],{},[231,2373,2374],{},[193,2375,2330],{},[231,2377,2378,2379],{},"The compile error, for example ",[193,2380,2381],{},"rule large_card_payment: expression must return bool",[216,2383,2384,2389,2394],{},[231,2385,2386],{},[193,2387,2388],{},"...\u002Factivate",[231,2390,2391],{},[193,2392,2393],{},"403",[231,2395,2396],{},[193,2397,2398],{},"the author of a rule cannot approve it",[216,2400,2401,2405,2410],{},[231,2402,2403],{},[193,2404,2388],{},[231,2406,2407],{},[193,2408,2409],{},"409",[231,2411,2412],{},[193,2413,2414],{},"only a draft can be activated",[216,2416,2417,2422,2426],{},[231,2418,2419],{},[193,2420,2421],{},"...\u002Fbacktest",[231,2423,2424],{},[193,2425,2330],{},[231,2427,2428],{},[193,2429,2430],{},"since must be before until",[216,2432,2433,2437,2441],{},[231,2434,2435],{},[193,2436,2421],{},[231,2438,2439],{},[193,2440,2330],{},[231,2442,2443],{},[193,2444,2445],{},"window is capped at 31 days",[216,2447,2448,2452,2456],{},[231,2449,2450],{},[193,2451,2421],{},[231,2453,2454],{},[193,2455,2330],{},[231,2457,2458],{},[193,2459,2460],{},"max_events must be between 1 and 100000",[216,2462,2463,2469,2474],{},[231,2464,2465,293,2467],{},[193,2466,2388],{},[193,2468,2421],{},[231,2470,2471],{},[193,2472,2473],{},"404",[231,2475,2476],{},[193,2477,2478],{},"rule not found",[2480,2481,2482],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":315,"searchDepth":347,"depth":347,"links":2484},[2485,2489,2494,2495,2500,2501],{"id":268,"depth":347,"text":269,"children":2486},[2487,2488],{"id":280,"depth":394,"text":281},{"id":306,"depth":394,"text":307},{"id":833,"depth":347,"text":834,"children":2490},[2491,2492,2493],{"id":853,"depth":394,"text":854},{"id":903,"depth":394,"text":307},{"id":1197,"depth":394,"text":1198},{"id":1594,"depth":347,"text":1595},{"id":1663,"depth":347,"text":1664,"children":2496},[2497,2498,2499],{"id":1676,"depth":394,"text":854},{"id":1702,"depth":394,"text":307},{"id":2019,"depth":394,"text":2020},{"id":2122,"depth":347,"text":2123},{"id":2285,"depth":347,"text":92},"List rule versions, create a draft, backtest it, and activate it with a second key.","md",null,{},{"icon":44},{"title":41,"description":2502},"iLDp4IpIZd6iD8iTKC1Hmud_HTpbdUvFWFhZ9jVnXuc",[2510,2512],{"title":122,"path":123,"stem":124,"description":2511,"icon":125,"children":-1},"List the alert queue, assign and update alerts, add notes, and close them with four-eyes approval.",{"title":130,"path":131,"stem":132,"description":2513,"icon":133,"children":-1},"Check a person or business against the loaded sanctions and PEP lists, review the matches, and see which lists are loaded.",1792169659794]