[{"data":1,"prerenderedAt":1028},["ShallowReactive",2],{"docs-\u002Fapi\u002Frules-detail\u002F":3},{"id":4,"title":5,"body":6,"breadcrumb":980,"coderail":987,"dateModified":1013,"datePublished":1013,"description":1014,"extension":1015,"meta":1016,"navigation":1017,"next":1018,"path":1021,"prev":1022,"schemaType":1023,"seo":1024,"stem":1025,"wide":1026,"__hash__":1027},"docs\u002Fapi\u002Frules-detail.md","GET \u002Frules-detail",{"type":7,"value":8,"toc":967},"minimark",[9,16,55,58,69,74,79,84,137,141,178,187,191,198,215,443,447,731,735,777,784,788,905,909,912,915,923,926,934,938,963],[10,11,12],"p",{},[13,14,15],"strong",{},"Summary",[17,18,19,29,35,43,49],"ul",{},[20,21,22,25,26],"li",{},[13,23,24],{},"endpoint"," — ",[27,28,5],"code",{},[20,30,31,34],{},[13,32,33],{},"purpose"," — return the catalog entry for a single rule",[20,36,37,25,40],{},[13,38,39],{},"mcp equivalent",[27,41,42],{},"get_rule",[20,44,45,48],{},[13,46,47],{},"rate limit"," — 1000\u002Fday per user",[20,50,51,54],{},[13,52,53],{},"synchronous"," — yes (instant — single database read)",[10,56,57],{},"Returns the 14 public fields of one rule. Use it to show the full description, recommendation, regulatory cites, severity, and effort estimate for a rule your scan flagged.",[10,59,60,61,64,65,68],{},"The rule is always passed as a query parameter: ",[27,62,63],{},"GET \u002Fv1\u002Frules-detail?rule_id=consent-no-cmp",". There is no ",[27,66,67],{},"\u002Fv1\u002Frules\u002F{rule_id}"," path.",[70,71],"endpoint-bar",{"method":72,"path":73},"GET","\u002Fv1\u002Frules-detail?rule_id=consent-no-cmp",[75,76,78],"h2",{"id":77},"request","Request",[80,81,83],"h3",{"id":82},"headers","Headers",[85,86,87,103],"table",{},[88,89,90],"thead",{},[91,92,93,97,100],"tr",{},[94,95,96],"th",{},"Header",[94,98,99],{},"Required",[94,101,102],{},"Value",[104,105,106],"tbody",{},[91,107,108,114,117],{},[109,110,111],"td",{},[27,112,113],{},"Authorization",[109,115,116],{},"yes",[109,118,119,122,123,126,127,130,131,136],{},[27,120,121],{},"Bearer \u003Ctoken>",". An API key, or an MCP access token with the ",[27,124,125],{},"mcp:read"," or ",[27,128,129],{},"mcp:tools"," scope. See ",[132,133,135],"a",{"href":134},"\u002Fauth\u002F","Authentication",".",[80,138,140],{"id":139},"query-parameters","Query parameters",[85,142,143,158],{},[88,144,145],{},[91,146,147,150,153,155],{},[94,148,149],{},"Param",[94,151,152],{},"Type",[94,154,99],{},[94,156,157],{},"Description",[104,159,160],{},[91,161,162,167,170,172],{},[109,163,164],{},[27,165,166],{},"rule_id",[109,168,169],{},"string",[109,171,116],{},[109,173,174,175,177],{},"The rule identifier to look up. Matches the ",[27,176,166],{}," returned in scan findings.",[179,180,181],"callout",{},[10,182,183,186],{},[13,184,185],{},"No scan."," A single registry read. It fetches no container and runs no rules.",[75,188,190],{"id":189},"response","Response",[10,192,193,194,197],{},"Returns the public fields of the matching rule. Every field below is present in every response; ",[27,195,196],{},"null"," means the field is not set for that rule.",[10,199,200,201,204,205,208,209,126,212,214],{},"The values are the rule's catalog entry. A finding from a scan carries the title and severity that apply to that container, which can differ. ",[27,202,203],{},"consent-no-cmp"," is listed here as ",[27,206,207],{},"high","; its findings report ",[27,210,211],{},"medium",[27,213,207],{}," depending on what the rule found.",[216,217,219],"details",{"summary":218},"Full response shape",[220,221,226],"pre",{"className":222,"code":223,"language":224,"meta":225,"style":225},"language-json shiki shiki-themes github-light github-dark","{\n  \"rule_id\": \"consent-no-cmp\",\n  \"title\": \"No CMP detected\",\n  \"description\": \"Tags require consent but no Consent Management Platform is detected in the container.\",\n  \"recommendation\": \"Install a CMP (CookieBot, OneTrust, etc.) and configure it to fire on Consent Initialization.\",\n  \"category\": \"consent\",\n  \"tier\": \"warning\",\n  \"severity\": \"high\",\n  \"layer_requirements\": \"container\",\n  \"status\": \"shipped\",\n  \"version\": 1,\n  \"effort_estimate\": \"strategic\",\n  \"reversibility\": \"non-destructive\",\n  \"regulatory_cites\": [\n    \"GDPR Art. 6 (lawful basis)\",\n    \"GDPR Art. 7 (consent)\"\n  ],\n  \"learn_more_url\": null\n}\n","json","",[27,227,228,237,254,267,280,293,306,319,332,345,358,371,384,397,406,414,420,426,437],{"__ignoreMap":225},[229,230,233],"span",{"class":231,"line":232},"line",1,[229,234,236],{"class":235},"sVt8B","{\n",[229,238,240,244,247,251],{"class":231,"line":239},2,[229,241,243],{"class":242},"sj4cs","  \"rule_id\"",[229,245,246],{"class":235},": ",[229,248,250],{"class":249},"sZZnC","\"consent-no-cmp\"",[229,252,253],{"class":235},",\n",[229,255,257,260,262,265],{"class":231,"line":256},3,[229,258,259],{"class":242},"  \"title\"",[229,261,246],{"class":235},[229,263,264],{"class":249},"\"No CMP detected\"",[229,266,253],{"class":235},[229,268,270,273,275,278],{"class":231,"line":269},4,[229,271,272],{"class":242},"  \"description\"",[229,274,246],{"class":235},[229,276,277],{"class":249},"\"Tags require consent but no Consent Management Platform is detected in the container.\"",[229,279,253],{"class":235},[229,281,283,286,288,291],{"class":231,"line":282},5,[229,284,285],{"class":242},"  \"recommendation\"",[229,287,246],{"class":235},[229,289,290],{"class":249},"\"Install a CMP (CookieBot, OneTrust, etc.) and configure it to fire on Consent Initialization.\"",[229,292,253],{"class":235},[229,294,296,299,301,304],{"class":231,"line":295},6,[229,297,298],{"class":242},"  \"category\"",[229,300,246],{"class":235},[229,302,303],{"class":249},"\"consent\"",[229,305,253],{"class":235},[229,307,309,312,314,317],{"class":231,"line":308},7,[229,310,311],{"class":242},"  \"tier\"",[229,313,246],{"class":235},[229,315,316],{"class":249},"\"warning\"",[229,318,253],{"class":235},[229,320,322,325,327,330],{"class":231,"line":321},8,[229,323,324],{"class":242},"  \"severity\"",[229,326,246],{"class":235},[229,328,329],{"class":249},"\"high\"",[229,331,253],{"class":235},[229,333,335,338,340,343],{"class":231,"line":334},9,[229,336,337],{"class":242},"  \"layer_requirements\"",[229,339,246],{"class":235},[229,341,342],{"class":249},"\"container\"",[229,344,253],{"class":235},[229,346,348,351,353,356],{"class":231,"line":347},10,[229,349,350],{"class":242},"  \"status\"",[229,352,246],{"class":235},[229,354,355],{"class":249},"\"shipped\"",[229,357,253],{"class":235},[229,359,361,364,366,369],{"class":231,"line":360},11,[229,362,363],{"class":242},"  \"version\"",[229,365,246],{"class":235},[229,367,368],{"class":242},"1",[229,370,253],{"class":235},[229,372,374,377,379,382],{"class":231,"line":373},12,[229,375,376],{"class":242},"  \"effort_estimate\"",[229,378,246],{"class":235},[229,380,381],{"class":249},"\"strategic\"",[229,383,253],{"class":235},[229,385,387,390,392,395],{"class":231,"line":386},13,[229,388,389],{"class":242},"  \"reversibility\"",[229,391,246],{"class":235},[229,393,394],{"class":249},"\"non-destructive\"",[229,396,253],{"class":235},[229,398,400,403],{"class":231,"line":399},14,[229,401,402],{"class":242},"  \"regulatory_cites\"",[229,404,405],{"class":235},": [\n",[229,407,409,412],{"class":231,"line":408},15,[229,410,411],{"class":249},"    \"GDPR Art. 6 (lawful basis)\"",[229,413,253],{"class":235},[229,415,417],{"class":231,"line":416},16,[229,418,419],{"class":249},"    \"GDPR Art. 7 (consent)\"\n",[229,421,423],{"class":231,"line":422},17,[229,424,425],{"class":235},"  ],\n",[229,427,429,432,434],{"class":231,"line":428},18,[229,430,431],{"class":242},"  \"learn_more_url\"",[229,433,246],{"class":235},[229,435,436],{"class":242},"null\n",[229,438,440],{"class":231,"line":439},19,[229,441,442],{"class":235},"}\n",[80,444,446],{"id":445},"response-fields","Response fields",[85,448,449,460],{},[88,450,451],{},[91,452,453,456,458],{},[94,454,455],{},"Field",[94,457,152],{},[94,459,157],{},[104,461,462,473,486,498,510,522,544,568,605,633,654,678,698,716],{},[91,463,464,468,470],{},[109,465,466],{},[27,467,166],{},[109,469,169],{},[109,471,472],{},"Primary key. Stable identifier used across findings and rule runs.",[91,474,475,480,483],{},[109,476,477],{},[27,478,479],{},"version",[109,481,482],{},"integer",[109,484,485],{},"Rule definition version. Increments when logic changes.",[91,487,488,493,495],{},[109,489,490],{},[27,491,492],{},"title",[109,494,169],{},[109,496,497],{},"Short display name.",[91,499,500,505,507],{},[109,501,502],{},[27,503,504],{},"description",[109,506,169],{},[109,508,509],{},"What the rule detects and why it matters.",[91,511,512,517,519],{},[109,513,514],{},[27,515,516],{},"recommendation",[109,518,169],{},[109,520,521],{},"Concrete remediation step.",[91,523,524,529,531],{},[109,525,526],{},[27,527,528],{},"category",[109,530,169],{},[109,532,533,534,537,538,537,541,136],{},"Functional grouping, e.g. ",[27,535,536],{},"consent",", ",[27,539,540],{},"quality",[27,542,543],{},"performance",[91,545,546,551,553],{},[109,547,548],{},[27,549,550],{},"tier",[109,552,169],{},[109,554,555,537,558,537,561,564,565,136],{},[27,556,557],{},"error",[27,559,560],{},"warning",[27,562,563],{},"optimization",", or ",[27,566,567],{},"info",[91,569,570,575,577],{},[109,571,572],{},[27,573,574],{},"status",[109,576,169],{},[109,578,579,580,537,583,537,586,537,589,537,592,595,596,599,600,595,602,604],{},"The field allows ",[27,581,582],{},"not_started",[27,584,585],{},"in_progress",[27,587,588],{},"validated",[27,590,591],{},"shipped",[27,593,594],{},"retired"," and ",[27,597,598],{},"deferred",". The catalog today holds only ",[27,601,591],{},[27,603,598],{}," rules.",[91,606,607,612,615],{},[109,608,609],{},[27,610,611],{},"layer_requirements",[109,613,614],{},"string | null",[109,616,617,618,537,621,537,624,595,627,630,631,136],{},"What the rule needs to run. The field allows ",[27,619,620],{},"container",[27,622,623],{},"container+page",[27,625,626],{},"container+page+runtime",[27,628,629],{},"container+api",". Every shipped rule has ",[27,632,620],{},[91,634,635,640,642],{},[109,636,637],{},[27,638,639],{},"severity",[109,641,614],{},[109,643,644,537,647,537,649,564,651,136],{},[27,645,646],{},"critical",[27,648,207],{},[27,650,211],{},[27,652,653],{},"low",[91,655,656,661,663],{},[109,657,658],{},[27,659,660],{},"effort_estimate",[109,662,614],{},[109,664,665,666,537,669,537,672,564,675,136],{},"Remediation effort band: ",[27,667,668],{},"15min",[27,670,671],{},"2hr",[27,673,674],{},"2wk",[27,676,677],{},"strategic",[91,679,680,685,687],{},[109,681,682],{},[27,683,684],{},"reversibility",[109,686,614],{},[109,688,689,126,692,695,696,136],{},[27,690,691],{},"destructive",[27,693,694],{},"non-destructive",". Every rule in the catalog today is ",[27,697,694],{},[91,699,700,705,709],{},[109,701,702],{},[27,703,704],{},"regulatory_cites",[109,706,169,707],{},[229,708],{},[109,710,711,712,715],{},"Regulatory references, e.g. ",[27,713,714],{},"[\"GDPR Art. 7\"]",". Empty array when none.",[91,717,718,723,725],{},[109,719,720],{},[27,721,722],{},"learn_more_url",[109,724,614],{},[109,726,727,728,730],{},"External reference URL. ",[27,729,196],{}," for every rule in the catalog today.",[80,732,734],{"id":733},"response-headers","Response headers",[85,736,737,745],{},[88,738,739],{},[91,740,741,743],{},[94,742,96],{},[94,744,157],{},[104,746,747,757,767],{},[91,748,749,754],{},[109,750,751],{},[27,752,753],{},"X-RateLimit-Limit",[109,755,756],{},"Daily call ceiling for this endpoint",[91,758,759,764],{},[109,760,761],{},[27,762,763],{},"X-RateLimit-Remaining",[109,765,766],{},"Calls remaining in the current bucket",[91,768,769,774],{},[109,770,771],{},[27,772,773],{},"X-RateLimit-Reset",[109,775,776],{},"ISO timestamp when the bucket resets",[10,778,779,780,136],{},"These headers are on every response to a request that was counted, including the 400 and 404 below. They are absent on 401, 403 and 405. During a rate-limiter outage this endpoint still answers and the headers hold placeholder values, not your real count. See ",[132,781,783],{"href":782},"\u002Frate-limits\u002F#handling-429","Rate limits",[75,785,787],{"id":786},"errors","Errors",[85,789,790,803],{},[88,791,792],{},[91,793,794,797,800],{},[94,795,796],{},"Status",[94,798,799],{},"Body",[94,801,802],{},"Cause",[104,804,805,822,840,855,873,890],{},[91,806,807,812,817],{},[109,808,809],{},[27,810,811],{},"400",[109,813,814],{},[27,815,816],{},"{ \"error\": \"Missing required query param: rule_id\" }",[109,818,819,821],{},[27,820,166],{}," query param absent",[91,823,824,829,834],{},[109,825,826],{},[27,827,828],{},"401",[109,830,831],{},[27,832,833],{},"{ \"error\": \"Invalid or expired token\" }",[109,835,836,837,136],{},"Missing, malformed, expired or revoked bearer token. An API key failure reads ",[27,838,839],{},"Invalid or revoked API key",[91,841,842,847,852],{},[109,843,844],{},[27,845,846],{},"403",[109,848,849],{},[27,850,851],{},"{ \"error\": \"insufficient_scope\", \"message\": \"This token was not granted 'mcp:read', which this endpoint requires.\" }",[109,853,854],{},"An MCP access token with no usable scope",[91,856,857,862,867],{},[109,858,859],{},[27,860,861],{},"404",[109,863,864],{},[27,865,866],{},"{ \"error\": \"Rule not found: \u003Crule_id>\" }",[109,868,869,870,872],{},"No rule with that ",[27,871,166],{}," exists in the registry",[91,874,875,880,885],{},[109,876,877],{},[27,878,879],{},"429",[109,881,882],{},[27,883,884],{},"{ \"error\": \"rate_limit_exceeded\", \"message\": \"Daily limit reached for get_rule (1001\u002F1000)\", \"tool\": \"get_rule\", \"limit\": 1000, \"count\": 1001, \"reset_at\": \"...\" }",[109,886,887,888],{},"Daily bucket exhausted; check ",[27,889,773],{},[91,891,892,897,902],{},[109,893,894],{},[27,895,896],{},"500",[109,898,899],{},[27,900,901],{},"{ \"error\": \"...\" }",[109,903,904],{},"Internal failure; retry once before reporting",[75,906,908],{"id":907},"try-saying","Try saying",[10,910,911],{},"Useful when wiring this endpoint to an agent that will call it programmatically.",[10,913,914],{},"Tell the agent something like:",[220,916,921],{"className":917,"code":919,"language":920},[918],"language-text","You have access to TagManifest's REST API at https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1.\nUse GET \u002Frules-detail to retrieve full metadata for a single rule.\nPass the rule_id as a query parameter: ?rule_id=\u003Cid>.\nAuthentication: include header \"Authorization: Bearer \u003Capi-key>\".\n","text",[27,922,919],{"__ignoreMap":225},[10,924,925],{},"Or, when the agent has direct HTTP capability:",[17,927,928,931],{},[20,929,930],{},"\"Fetch the full details for rule consent-no-cmp from TagManifest\"",[20,932,933],{},"\"Look up the recommendation and regulatory cites for this rule ID using the TagManifest rules-detail endpoint\"",[75,935,937],{"id":936},"see-also","See also",[17,939,940,949,956],{},[20,941,942,948],{},[132,943,945,946],{"href":944},"\u002Fmcp\u002Ftools\u002Fget-rule\u002F","MCP equivalent: ",[27,947,42],{}," — same data, MCP path",[20,950,951,955],{},[132,952,954],{"href":953},"\u002Fapi\u002Frules\u002F","GET \u002Frules"," — browse or filter the full rule catalog",[20,957,958,962],{},[132,959,961],{"href":960},"\u002Frules\u002F","Rules catalog"," — human-readable index of all rules",[964,965,966],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}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);}",{"title":225,"searchDepth":239,"depth":239,"links":968},[969,973,977,978,979],{"id":77,"depth":239,"text":78,"children":970},[971,972],{"id":82,"depth":256,"text":83},{"id":139,"depth":256,"text":140},{"id":189,"depth":239,"text":190,"children":974},[975,976],{"id":445,"depth":256,"text":446},{"id":733,"depth":256,"text":734},{"id":786,"depth":239,"text":787},{"id":907,"depth":239,"text":908},{"id":936,"depth":239,"text":937},[981,984,986],{"label":982,"href":983},"API Reference","\u002F",{"label":985},"REST endpoints",{"label":5},{"cards":988,"onpage":1008},[989,1003],{"title":78,"tabs":990},[991,995,999],{"label":992,"language":993,"code":994},"cURL","bash","curl \"https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Frules-detail?rule_id=consent-no-cmp\" \\\n  -H \"Authorization: Bearer $TM_API_KEY\"\n",{"label":996,"language":997,"code":998},"Node","javascript","const r = await fetch(\n  \"https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Frules-detail?rule_id=consent-no-cmp\",\n  { headers: { Authorization: `Bearer ${process.env.TM_API_KEY}` } }\n);\nconst rule = await r.json();\n",{"label":1000,"language":1001,"code":1002},"Python","python","import os, httpx\nr = httpx.get(\n    \"https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Frules-detail\",\n    params={\"rule_id\": \"consent-no-cmp\"},\n    headers={\"Authorization\": f\"Bearer {os.environ['TM_API_KEY']}\"},\n)\nrule = r.json()\n",{"title":1004,"variant":189,"tabs":1005},"200 — rule",[1006],{"label":1007,"language":224,"code":223},"JSON",[1009,1010,1011,1012],{"id":77,"label":78},{"id":189,"label":190},{"id":786,"label":787},{"id":907,"label":908},null,"Returns the catalog entry for a single rule by rule_id — description, recommendation, severity, regulatory cites, and the other public fields.","md",{},true,{"href":1019,"title":1020},"\u002Fapi\u002Fevaluate-rule\u002F","POST \u002Fevaluate-rule","\u002Fapi\u002Frules-detail",{"href":953,"title":954},"APIReference",{"title":5,"description":1014},"api\u002Frules-detail",false,"CGrSdgpmVrNEgF1Vn-zovyb8v-WLO4a6Wssil0u-xBo",1796069482933]