[{"data":1,"prerenderedAt":1161},["ShallowReactive",2],{"navigation_docs":3,"-docs-texts":102,"-docs-texts-surround":1156},[4,8,12,16,20,24,28,32,36,40,44,82,86,90,94,98],{"title":5,"path":6,"stem":7},"Overview","\u002Fdocs","docs\u002Findex",{"title":9,"path":10,"stem":11},"Quickstart","\u002Fdocs\u002Fquickstart","docs\u002F01.quickstart",{"title":13,"path":14,"stem":15},"Authentication and keys","\u002Fdocs\u002Fauthentication","docs\u002F02.authentication",{"title":17,"path":18,"stem":19},"Images","\u002Fdocs\u002Fimages","docs\u002F03.images",{"title":21,"path":22,"stem":23},"Texts","\u002Fdocs\u002Ftexts","docs\u002F04.texts",{"title":25,"path":26,"stem":27},"Migrating from SightEngine","\u002Fdocs\u002Fmigrating-from-sightengine","docs\u002F05.migrating-from-sightengine",{"title":29,"path":30,"stem":31},"Workflows","\u002Fdocs\u002Fworkflows","docs\u002F06.workflows",{"title":33,"path":34,"stem":35},"Responses and errors","\u002Fdocs\u002Fresponses-and-errors","docs\u002F07.responses-and-errors",{"title":37,"path":38,"stem":39},"Limits and quotas","\u002Fdocs\u002Flimits-and-quotas","docs\u002F08.limits-and-quotas",{"title":41,"path":42,"stem":43},"The journal and ref","\u002Fdocs\u002Fjournal-and-ref","docs\u002F09.journal-and-ref",{"title":45,"path":46,"stem":47,"children":48,"page":81},"Integration guides","\u002Fdocs\u002Fintegration-guides","docs\u002F10.integration-guides",[49,53,57,61,65,69,73,77],{"title":50,"path":51,"stem":52},"Node.js and TypeScript","\u002Fdocs\u002Fintegration-guides\u002Fnodejs","docs\u002F10.integration-guides\u002F1.nodejs",{"title":54,"path":55,"stem":56},"Python","\u002Fdocs\u002Fintegration-guides\u002Fpython","docs\u002F10.integration-guides\u002F2.python",{"title":58,"path":59,"stem":60},"PHP","\u002Fdocs\u002Fintegration-guides\u002Fphp","docs\u002F10.integration-guides\u002F3.php",{"title":62,"path":63,"stem":64},"Go","\u002Fdocs\u002Fintegration-guides\u002Fgo","docs\u002F10.integration-guides\u002F4.go",{"title":66,"path":67,"stem":68},"Supabase Edge Functions","\u002Fdocs\u002Fintegration-guides\u002Fsupabase-edge-functions","docs\u002F10.integration-guides\u002F5.supabase-edge-functions",{"title":70,"path":71,"stem":72},"Cloudflare Workers","\u002Fdocs\u002Fintegration-guides\u002Fcloudflare-workers","docs\u002F10.integration-guides\u002F6.cloudflare-workers",{"title":74,"path":75,"stem":76},"Nuxt and Next","\u002Fdocs\u002Fintegration-guides\u002Fnuxt-and-next","docs\u002F10.integration-guides\u002F7.nuxt-and-next",{"title":78,"path":79,"stem":80},"Moderate an AI agent","\u002Fdocs\u002Fintegration-guides\u002Fmoderate-ai-agents","docs\u002F10.integration-guides\u002F8.moderate-ai-agents",false,{"title":83,"path":84,"stem":85},"AI coding agents","\u002Fdocs\u002Fai-agents","docs\u002F11.ai-agents",{"title":87,"path":88,"stem":89},"Best practices","\u002Fdocs\u002Fbest-practices","docs\u002F12.best-practices",{"title":91,"path":92,"stem":93},"Privacy and data","\u002Fdocs\u002Fprivacy-and-data","docs\u002F13.privacy-and-data",{"title":95,"path":96,"stem":97},"API reference","\u002Fdocs\u002Fapi-reference","docs\u002F14.api-reference",{"title":99,"path":100,"stem":101},"Changelog","\u002Fdocs\u002Fchangelog","docs\u002F15.changelog",{"id":103,"title":21,"body":104,"description":1147,"extension":1148,"links":1149,"meta":1150,"navigation":1151,"path":22,"seo":1152,"stem":23,"__hash__":1155},"docs\u002Fdocs\u002F04.texts.md",{"type":105,"value":106,"toc":1140},"minimark",[107,115,120,131,224,556,560,566,583,589,593,600,969,973,982,1005,1018,1022,1130,1136],[108,109,110,114],"p",{},[111,112,113],"code",{},"POST \u002Fv1\u002Ftext"," checks one text and answers with the decision. One text is one check, whatever the number of categories it is checked against.",[116,117,119],"h2",{"id":118},"request","Request",[108,121,122,123,126,127,130],{},"Send JSON, with the header ",[111,124,125],{},"Content-Type: application\u002Fjson",". Without it the API answers ",[111,128,129],{},"415 unsupported_media",".",[132,133,134,150],"table",{},[135,136,137],"thead",{},[138,139,140,144,147],"tr",{},[141,142,143],"th",{},"Field",[141,145,146],{},"Required",[141,148,149],{},"Description",[151,152,153,167,188,203],"tbody",{},[138,154,155,161,164],{},[156,157,158],"td",{},[111,159,160],{},"text",[156,162,163],{},"Yes",[156,165,166],{},"The text, at most 20,000 characters (5,000 on the free plan).",[138,168,169,174,177],{},[156,170,171],{},[111,172,173],{},"workflow",[156,175,176],{},"No",[156,178,179,180,183,184,187],{},"The ",[181,182,173],"a",{"href":30}," to check against. ",[111,185,186],{},"default"," when absent.",[138,189,190,195,197],{},[156,191,192],{},[111,193,194],{},"ref",[156,196,176],{},[156,198,199,200,130],{},"Your own id for the text, 1 to 128 characters, no control character. It is echoed in the answer and kept in the ",[181,201,202],{"href":42},"journal",[138,204,205,210,212],{},[156,206,207],{},[111,208,209],{},"context",[156,211,176],{},[156,213,214,215,218,219,223],{},"Where the text comes from, in plain words, at most 2,000 characters: for example ",[111,216,217],{},"\"a buyer writes to a seller on a marketplace that forbids sharing phone numbers\"",". Paid plans read it in their ",[181,220,222],{"href":221},"#advanced-ai-workflows","advanced AI workflows","; the free plan ignores it. It is not kept in the journal.",[225,226,227,312],"code-group",{},[228,229,235],"pre",{"className":230,"code":231,"filename":232,"language":233,"meta":234,"style":234},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -X POST \"https:\u002F\u002Fapi.openshield.dev\u002Fv1\u002Ftext\" \\\n  -H \"Authorization: Bearer $OPENMOD_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"text\": \"Write me at jane@example.com\", \"workflow\": \"default\", \"ref\": \"comment_9034\"}'\n","curl","bash","",[111,236,237,266,284,297],{"__ignoreMap":234},[238,239,242,245,249,252,256,259,262],"span",{"class":240,"line":241},"line",1,[238,243,232],{"class":244},"sBMFI",[238,246,248],{"class":247},"sfazB"," -X",[238,250,251],{"class":247}," POST",[238,253,255],{"class":254},"sMK4o"," \"",[238,257,258],{"class":247},"https:\u002F\u002Fapi.openshield.dev\u002Fv1\u002Ftext",[238,260,261],{"class":254},"\"",[238,263,265],{"class":264},"sTEyZ"," \\\n",[238,267,269,272,274,277,280,282],{"class":240,"line":268},2,[238,270,271],{"class":247},"  -H",[238,273,255],{"class":254},[238,275,276],{"class":247},"Authorization: Bearer ",[238,278,279],{"class":264},"$OPENMOD_API_KEY",[238,281,261],{"class":254},[238,283,265],{"class":264},[238,285,287,289,291,293,295],{"class":240,"line":286},3,[238,288,271],{"class":247},[238,290,255],{"class":254},[238,292,125],{"class":247},[238,294,261],{"class":254},[238,296,265],{"class":264},[238,298,300,303,306,309],{"class":240,"line":299},4,[238,301,302],{"class":247},"  -d",[238,304,305],{"class":254}," '",[238,307,308],{"class":247},"{\"text\": \"Write me at jane@example.com\", \"workflow\": \"default\", \"ref\": \"comment_9034\"}",[238,310,311],{"class":254},"'\n",[228,313,318],{"className":314,"code":315,"filename":316,"language":317,"meta":234,"style":234},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const response = await fetch(\"https:\u002F\u002Fapi.openshield.dev\u002Fv1\u002Ftext\", {\n  method: \"POST\",\n  headers: {\n    Authorization: `Bearer ${process.env.OPENMOD_API_KEY}`,\n    \"Content-Type\": \"application\u002Fjson\",\n  },\n  body: JSON.stringify({ text: \"Write me at jane@example.com\", ref: \"comment_9034\" }),\n})\nconst answer = await response.json()\nconsole.log(answer.summary.action)\n","TypeScript","ts",[111,319,320,355,374,383,417,439,445,500,509,532],{"__ignoreMap":234},[238,321,322,326,329,332,336,340,343,345,347,349,352],{"class":240,"line":241},[238,323,325],{"class":324},"spNyl","const",[238,327,328],{"class":264}," response ",[238,330,331],{"class":254},"=",[238,333,335],{"class":334},"s7zQu"," await",[238,337,339],{"class":338},"s2Zo4"," fetch",[238,341,342],{"class":264},"(",[238,344,261],{"class":254},[238,346,258],{"class":247},[238,348,261],{"class":254},[238,350,351],{"class":254},",",[238,353,354],{"class":254}," {\n",[238,356,357,361,364,366,369,371],{"class":240,"line":268},[238,358,360],{"class":359},"swJcz","  method",[238,362,363],{"class":254},":",[238,365,255],{"class":254},[238,367,368],{"class":247},"POST",[238,370,261],{"class":254},[238,372,373],{"class":254},",\n",[238,375,376,379,381],{"class":240,"line":286},[238,377,378],{"class":359},"  headers",[238,380,363],{"class":254},[238,382,354],{"class":254},[238,384,385,388,390,393,396,399,402,404,407,409,412,415],{"class":240,"line":299},[238,386,387],{"class":359},"    Authorization",[238,389,363],{"class":254},[238,391,392],{"class":254}," `",[238,394,395],{"class":247},"Bearer ",[238,397,398],{"class":254},"${",[238,400,401],{"class":264},"process",[238,403,130],{"class":254},[238,405,406],{"class":264},"env",[238,408,130],{"class":254},[238,410,411],{"class":264},"OPENMOD_API_KEY",[238,413,414],{"class":254},"}`",[238,416,373],{"class":254},[238,418,420,423,426,428,430,432,435,437],{"class":240,"line":419},5,[238,421,422],{"class":254},"    \"",[238,424,425],{"class":359},"Content-Type",[238,427,261],{"class":254},[238,429,363],{"class":254},[238,431,255],{"class":254},[238,433,434],{"class":247},"application\u002Fjson",[238,436,261],{"class":254},[238,438,373],{"class":254},[238,440,442],{"class":240,"line":441},6,[238,443,444],{"class":254},"  },\n",[238,446,448,451,453,456,458,461,463,466,469,471,473,476,478,480,483,485,487,490,492,495,498],{"class":240,"line":447},7,[238,449,450],{"class":359},"  body",[238,452,363],{"class":254},[238,454,455],{"class":264}," JSON",[238,457,130],{"class":254},[238,459,460],{"class":338},"stringify",[238,462,342],{"class":264},[238,464,465],{"class":254},"{",[238,467,468],{"class":359}," text",[238,470,363],{"class":254},[238,472,255],{"class":254},[238,474,475],{"class":247},"Write me at jane@example.com",[238,477,261],{"class":254},[238,479,351],{"class":254},[238,481,482],{"class":359}," ref",[238,484,363],{"class":254},[238,486,255],{"class":254},[238,488,489],{"class":247},"comment_9034",[238,491,261],{"class":254},[238,493,494],{"class":254}," }",[238,496,497],{"class":264},")",[238,499,373],{"class":254},[238,501,503,506],{"class":240,"line":502},8,[238,504,505],{"class":254},"}",[238,507,508],{"class":264},")\n",[238,510,512,514,517,519,521,524,526,529],{"class":240,"line":511},9,[238,513,325],{"class":324},[238,515,516],{"class":264}," answer ",[238,518,331],{"class":254},[238,520,335],{"class":334},[238,522,523],{"class":264}," response",[238,525,130],{"class":254},[238,527,528],{"class":338},"json",[238,530,531],{"class":264},"()\n",[238,533,535,538,540,543,546,548,551,553],{"class":240,"line":534},10,[238,536,537],{"class":264},"console",[238,539,130],{"class":254},[238,541,542],{"class":338},"log",[238,544,545],{"class":264},"(answer",[238,547,130],{"class":254},[238,549,550],{"class":264},"summary",[238,552,130],{"class":254},[238,554,555],{"class":264},"action)\n",[116,557,559],{"id":558},"what-is-checked","What is checked",[108,561,562,563,565],{},"The categories of the workflow. The ",[111,564,186],{}," workflow:",[567,568,569,577],"ul",{},[570,571,572,576],"li",{},[573,574,575],"strong",{},"Rejects"," unsafe text, violence, sexual content, hate, illegal activity and unethical content at a score of 0.8 (and sends them to review from 0.5), and bank account numbers, payment card numbers and unsafe links outright.",[570,578,579,582],{},[573,580,581],{},"Sends to review"," self-harm from 0.5, and email addresses, phone numbers, requests to continue on another messaging app, spam, scams, extremism and links to adult or gambling sites outright.",[108,584,585,586,588],{},"Some rules look at the text itself, such as personal data and links. Their score is 1 when they match, which is why their thresholds are 1. ",[181,587,29],{"href":30}," explains how to change all of this.",[116,590,592],{"id":591},"answer","Answer",[108,594,595,596,599],{},"The answer has the ",[181,597,598],{"href":34},"shape described here",". For a text that holds an email address:",[228,601,604],{"className":602,"code":603,"language":528,"meta":234,"style":234},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"status\": \"success\",\n  \"workflow\": \"default\",\n  \"workflow_version\": 1,\n  \"summary\": {\n    \"action\": \"review\",\n    \"reject_prob\": 0,\n    \"reject_reason\": [],\n    \"review_reason\": [\n      {\n        \"id\": \"pii_email\",\n        \"text\": \"Email address\",\n        \"message\": \"This content contains an email address.\",\n        \"score\": 1,\n        \"threshold\": 1,\n        \"source\": \"rules\"\n      }\n    ]\n  },\n  \"scores\": { \"pii_email\": 1 },\n  \"time_ms\": 4,\n  \"request_id\": \"0192b7c5-1d20-7b3a-8f61-5c9e2a7d4b10\",\n  \"ref\": \"comment_9034\"\n}\n",[111,605,606,611,632,650,667,679,699,715,729,743,748,770,790,811,827,843,863,869,875,880,908,925,946,963],{"__ignoreMap":234},[238,607,608],{"class":240,"line":241},[238,609,610],{"class":254},"{\n",[238,612,613,616,619,621,623,625,628,630],{"class":240,"line":268},[238,614,615],{"class":254},"  \"",[238,617,618],{"class":324},"status",[238,620,261],{"class":254},[238,622,363],{"class":254},[238,624,255],{"class":254},[238,626,627],{"class":247},"success",[238,629,261],{"class":254},[238,631,373],{"class":254},[238,633,634,636,638,640,642,644,646,648],{"class":240,"line":286},[238,635,615],{"class":254},[238,637,173],{"class":324},[238,639,261],{"class":254},[238,641,363],{"class":254},[238,643,255],{"class":254},[238,645,186],{"class":247},[238,647,261],{"class":254},[238,649,373],{"class":254},[238,651,652,654,657,659,661,665],{"class":240,"line":299},[238,653,615],{"class":254},[238,655,656],{"class":324},"workflow_version",[238,658,261],{"class":254},[238,660,363],{"class":254},[238,662,664],{"class":663},"sbssI"," 1",[238,666,373],{"class":254},[238,668,669,671,673,675,677],{"class":240,"line":419},[238,670,615],{"class":254},[238,672,550],{"class":324},[238,674,261],{"class":254},[238,676,363],{"class":254},[238,678,354],{"class":254},[238,680,681,683,686,688,690,692,695,697],{"class":240,"line":441},[238,682,422],{"class":254},[238,684,685],{"class":244},"action",[238,687,261],{"class":254},[238,689,363],{"class":254},[238,691,255],{"class":254},[238,693,694],{"class":247},"review",[238,696,261],{"class":254},[238,698,373],{"class":254},[238,700,701,703,706,708,710,713],{"class":240,"line":447},[238,702,422],{"class":254},[238,704,705],{"class":244},"reject_prob",[238,707,261],{"class":254},[238,709,363],{"class":254},[238,711,712],{"class":663}," 0",[238,714,373],{"class":254},[238,716,717,719,722,724,726],{"class":240,"line":502},[238,718,422],{"class":254},[238,720,721],{"class":244},"reject_reason",[238,723,261],{"class":254},[238,725,363],{"class":254},[238,727,728],{"class":254}," [],\n",[238,730,731,733,736,738,740],{"class":240,"line":511},[238,732,422],{"class":254},[238,734,735],{"class":244},"review_reason",[238,737,261],{"class":254},[238,739,363],{"class":254},[238,741,742],{"class":254}," [\n",[238,744,745],{"class":240,"line":534},[238,746,747],{"class":254},"      {\n",[238,749,751,754,757,759,761,763,766,768],{"class":240,"line":750},11,[238,752,753],{"class":254},"        \"",[238,755,756],{"class":663},"id",[238,758,261],{"class":254},[238,760,363],{"class":254},[238,762,255],{"class":254},[238,764,765],{"class":247},"pii_email",[238,767,261],{"class":254},[238,769,373],{"class":254},[238,771,773,775,777,779,781,783,786,788],{"class":240,"line":772},12,[238,774,753],{"class":254},[238,776,160],{"class":663},[238,778,261],{"class":254},[238,780,363],{"class":254},[238,782,255],{"class":254},[238,784,785],{"class":247},"Email address",[238,787,261],{"class":254},[238,789,373],{"class":254},[238,791,793,795,798,800,802,804,807,809],{"class":240,"line":792},13,[238,794,753],{"class":254},[238,796,797],{"class":663},"message",[238,799,261],{"class":254},[238,801,363],{"class":254},[238,803,255],{"class":254},[238,805,806],{"class":247},"This content contains an email address.",[238,808,261],{"class":254},[238,810,373],{"class":254},[238,812,814,816,819,821,823,825],{"class":240,"line":813},14,[238,815,753],{"class":254},[238,817,818],{"class":663},"score",[238,820,261],{"class":254},[238,822,363],{"class":254},[238,824,664],{"class":663},[238,826,373],{"class":254},[238,828,830,832,835,837,839,841],{"class":240,"line":829},15,[238,831,753],{"class":254},[238,833,834],{"class":663},"threshold",[238,836,261],{"class":254},[238,838,363],{"class":254},[238,840,664],{"class":663},[238,842,373],{"class":254},[238,844,846,848,851,853,855,857,860],{"class":240,"line":845},16,[238,847,753],{"class":254},[238,849,850],{"class":663},"source",[238,852,261],{"class":254},[238,854,363],{"class":254},[238,856,255],{"class":254},[238,858,859],{"class":247},"rules",[238,861,862],{"class":254},"\"\n",[238,864,866],{"class":240,"line":865},17,[238,867,868],{"class":254},"      }\n",[238,870,872],{"class":240,"line":871},18,[238,873,874],{"class":254},"    ]\n",[238,876,878],{"class":240,"line":877},19,[238,879,444],{"class":254},[238,881,883,885,888,890,892,895,897,899,901,903,905],{"class":240,"line":882},20,[238,884,615],{"class":254},[238,886,887],{"class":324},"scores",[238,889,261],{"class":254},[238,891,363],{"class":254},[238,893,894],{"class":254}," {",[238,896,255],{"class":254},[238,898,765],{"class":244},[238,900,261],{"class":254},[238,902,363],{"class":254},[238,904,664],{"class":663},[238,906,907],{"class":254}," },\n",[238,909,911,913,916,918,920,923],{"class":240,"line":910},21,[238,912,615],{"class":254},[238,914,915],{"class":324},"time_ms",[238,917,261],{"class":254},[238,919,363],{"class":254},[238,921,922],{"class":663}," 4",[238,924,373],{"class":254},[238,926,928,930,933,935,937,939,942,944],{"class":240,"line":927},22,[238,929,615],{"class":254},[238,931,932],{"class":324},"request_id",[238,934,261],{"class":254},[238,936,363],{"class":254},[238,938,255],{"class":254},[238,940,941],{"class":247},"0192b7c5-1d20-7b3a-8f61-5c9e2a7d4b10",[238,943,261],{"class":254},[238,945,373],{"class":254},[238,947,949,951,953,955,957,959,961],{"class":240,"line":948},23,[238,950,615],{"class":254},[238,952,194],{"class":324},[238,954,261],{"class":254},[238,956,363],{"class":254},[238,958,255],{"class":254},[238,960,489],{"class":247},[238,962,862],{"class":254},[238,964,966],{"class":240,"line":965},24,[238,967,968],{"class":254},"}\n",[116,970,972],{"id":971},"advanced-ai-workflows","Advanced AI workflows",[108,974,975,976,978,979,981],{},"On Starter, Growth and Scale, a text that the first check sends to ",[111,977,694],{}," gets a second, deeper reading by a more advanced AI model, with your ",[111,980,209],{},". It answers:",[567,983,984,994,1000],{},[570,985,986,989,990,993],{},[111,987,988],{},"reject"," when the text clearly breaks the policy on the points flagged, or on another point (then under ",[111,991,992],{},"text_unsafe",");",[570,995,996,999],{},[111,997,998],{},"accept"," when the flag was a false alarm;",[570,1001,1002,1004],{},[111,1003,694],{}," as before when it is not sure.",[108,1006,1007,1008,1011,1012,130],{},"A reason it gives has ",[111,1009,1010],{},"\"source\": \"advanced\"",". It costs nothing more per check. When it is not available, or slower than 1.5 seconds, the first check's decision stands. Images are not concerned. The model runs at a sub-processor listed on the ",[181,1013,1017],{"href":1014,"rel":1015},"https:\u002F\u002Fopenshield.dev\u002Flegal\u002Fdpa#annex-sub-processors",[1016],"nofollow","list of sub-processors",[116,1019,1021],{"id":1020},"errors","Errors",[132,1023,1024,1039],{},[135,1025,1026],{},[138,1027,1028,1031,1036],{},[141,1029,1030],{},"Status",[141,1032,1033],{},[111,1034,1035],{},"error.type",[141,1037,1038],{},"When",[151,1040,1041,1063,1075,1088,1100,1117],{},[138,1042,1043,1046,1051],{},[156,1044,1045],{},"400",[156,1047,1048],{},[111,1049,1050],{},"bad_request",[156,1052,1053,1054,1056,1057,1059,1060,1062],{},"The body is not JSON, or has no ",[111,1055,160],{},", or ",[111,1058,194],{}," is refused, or ",[111,1061,209],{}," has more than 2,000 characters.",[138,1064,1065,1067,1072],{},[156,1066,1045],{},[156,1068,1069],{},[111,1070,1071],{},"unknown_workflow",[156,1073,1074],{},"There is no workflow of that name.",[138,1076,1077,1080,1085],{},[156,1078,1079],{},"413",[156,1081,1082],{},[111,1083,1084],{},"text_too_long",[156,1086,1087],{},"The text has more than 20,000 characters (5,000 on the free plan).",[138,1089,1090,1092,1097],{},[156,1091,1079],{},[156,1093,1094],{},[111,1095,1096],{},"body_too_large",[156,1098,1099],{},"The body is over the size limit.",[138,1101,1102,1105,1110],{},[156,1103,1104],{},"415",[156,1106,1107],{},[111,1108,1109],{},"unsupported_media",[156,1111,179,1112,1114,1115,130],{},[111,1113,425],{}," is not ",[111,1116,434],{},[138,1118,1119,1122,1127],{},[156,1120,1121],{},"503",[156,1123,1124],{},[111,1125,1126],{},"workflow_unavailable",[156,1128,1129],{},"The workflow has no rule for texts, or none this server can check.",[108,1131,1132,1133,130],{},"Authentication, rate limit and quota errors are in ",[181,1134,1135],{"href":34},"responses and errors",[1137,1138,1139],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .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 .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":234,"searchDepth":268,"depth":268,"links":1141},[1142,1143,1144,1145,1146],{"id":118,"depth":268,"text":119},{"id":558,"depth":268,"text":559},{"id":591,"depth":268,"text":592},{"id":971,"depth":268,"text":972},{"id":1020,"depth":268,"text":1021},"Check a text with POST \u002Fv1\u002Ftext, for comments, messages, names and bios.","md",null,{},true,{"title":1153,"description":1154},"Text moderation API: \u002Fv1\u002Ftext","Check a text with POST \u002Fv1\u002Ftext, for comments, messages, names, bios and text an AI wrote. You get accept, review or reject, with the reasons.","Qs2CVSiLtt4Hw7P8tDcxxqFcQsg4ndASS8zf2OSoVC8",[1157,1159],{"title":17,"path":18,"stem":19,"description":1158,"children":-1},"Check an image with POST \u002Fv1\u002Fimage, sent as bytes or as a public URL.",{"title":25,"path":26,"stem":27,"description":1160,"children":-1},"Three SightEngine workflow routes work here with the same paths, request fields and answer envelope. Change the base URL and key, map the category ids.",1792436179911]