Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
input
stringstring[]
wajib
model
string
default:text-moderation-latest
Respons
200
Successful moderation
⌘I
{"docsConfig":{"theme":"willow","$schema":"https://mintlify.com/docs.json","name":"Neosantara Docs","description":"Neosantara Documentations, Resources Learning for building AI Agents in Indonesia","colors":{"primary":"#D97706","light":"#F59E0B","dark":"#A34700"},"logo":{"light":"https://mintcdn.com/neosantara/PAEao3CkpvIGYq2r/logo/light.svg?fit=max\u0026auto=format\u0026n=PAEao3CkpvIGYq2r\u0026q=85\u0026s=47a20c2433ff6a81237389fc6caaeb3b","dark":"https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/logo/dark.svg?fit=max\u0026auto=format\u0026n=uq2XlSQ_dSPDIOXL\u0026q=85\u0026s=1c25d8b02dd1c0a2701dca1ab1305aaf"},"favicon":{"light":"https://mintcdn.com/neosantara/Y3FAgu2bTIuku_mR/images/favicon.ico?fit=max\u0026auto=format\u0026n=Y3FAgu2bTIuku_mR\u0026q=85\u0026s=9be88f378c8a63e3b6073281170c32d8","dark":"https://mintcdn.com/neosantara/Y3FAgu2bTIuku_mR/images/favicon.ico?fit=max\u0026auto=format\u0026n=Y3FAgu2bTIuku_mR\u0026q=85\u0026s=9be88f378c8a63e3b6073281170c32d8"},"api":{"playground":{"display":"interactive"},"examples":{"languages":[""],"prefill":true}},"background":{"decoration":"grid","color":{"light":"#FFFFFF","dark":"#111113"}},"navbar":{"links":[{"icon":"gauge","href":"https://app.neosantara.xyz","label":"Dashboard"},{"icon":"signal","href":"https://status.neosantara.xyz","label":"API Status"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.neosantara.xyz/api-keys"}},"footer":{"socials":{"github":"https://github.com/neosantara-xyz"},"links":[{"header":"Resources","items":[{"label":"llms.txt","href":"https://docs.neosantara.xyz/llms.txt"},{"label":"TOS","href":"https://www.neosantara.xyz/terms"},{"label":"Privacy","href":"https://www.neosantara.xyz/privacy"}]}]},"icons":{"library":"lucide"},"styling":{"codeblocks":{"theme":{"light":"catppuccin-latte","dark":"ayu-dark"}},"latex":true},"integrations":{"ga4":{"measurementId":"G-LTC6L7QF4V"},"gtm":{"tagId":"GTM-MFMNKF36"},"telemetry":{"enabled":true}},"banner":{"content":"Get a Virtual Private Server for just Rp 20,000 - the perfect fit for your server needs. [Get here](https://bihost.my.id/?utm_source=neosantara_docs\u0026utm_campaign=banner-sale\u0026utm_content=banner-docs)","dismissible":false,"color":{"light":"#000000","dark":"#F1520C"}},"errors":{"404":{"redirect":false,"title":"Page Not Found","description":"Oops! We couldn't find the page you're looking for. You can try searching our documentation or return to the [Dashboard](https://app.neosantara.xyz/dashboard)."}},"contextual":{"options":["copy","mcp","cursor","chatgpt","claude","download-pdf","aistudio","vscode","assistant"],"display":"header"},"interaction":{"drilldown":false},"navigation":{"languages":[{"language":"id","default":true,"href":"id"},{"language":"en","href":"en"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"neosantara","hasAudioNarration":false,"actualSubdomain":"neosantara","customDomains":["docs.neosantara.xyz"],"gitSource":{"type":"github","owner":"neosantara-xyz","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aba13c667b43f7ae95f78dd","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"API Reference","count":29},{"language":"en","tag":"Gateway \u0026 Capabilities","count":28},{"language":"id","tag":"Gateway \u0026 Kapabilitas","count":28},{"language":"en","tag":"Integrations","count":18},{"language":"id","tag":"Integrasi","count":18},{"language":"en","tag":"Compatibility Protocols","count":17},{"language":"en","tag":"Frameworks","count":17},{"language":"id","tag":"Protokol Kompatibilitas","count":17},{"language":"id","tag":"Framework","count":17},{"language":"en","tag":"Agents \u0026 MCP","count":12},{"language":"en","tag":"Guides","count":12},{"language":"id","tag":"Agen \u0026 MCP","count":12},{"language":"id","tag":"Panduan","count":12},{"language":"default","tag":"Files \u0026 Batches","count":9},{"language":"en","tag":"Coding Plan","count":8},{"language":"id","tag":"Coding Plan","count":8},{"language":"default","tag":"Multimodal \u0026 Audio","count":7},{"language":"en","tag":"Coding Assistants \u0026 IDEs","count":6},{"language":"en","tag":"Coding Plan Subscription","count":6},{"language":"en","tag":"OpenAI Chat Completions","count":6},{"language":"id","tag":"Asisten Koding \u0026 IDE","count":6},{"language":"id","tag":"Paket Coding Plan","count":6},{"language":"id","tag":"OpenAI Chat Completions","count":6},{"language":"default","tag":"Anthropic Messages","count":4},{"language":"default","tag":"Chat \u0026 Responses","count":2},{"language":"default","tag":"Evaluation \u0026 Decisions (Jev)","count":2},{"language":"default","tag":"Model Context Protocol (MCP)","count":2},{"language":"default","tag":"Model Catalog","count":2},{"language":"default","tag":"Content Moderation","count":1}],"searchSettings":{"showContentSnippets":true,"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@neosantara.xyz"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":"#content{margin-top:0.75rem!important}#content>span:first-of-type,#content>p:first-of-type{margin-top:1.5rem!important}#content>span+h2,#content>p+h2{margin-top:1.5rem!important}button.lg\\:hidden>div:first-child>svg.size-4,button>div>span.sr-only+svg{display:none!important}button.lg\\:hidden>div:first-child:has(>span.sr-only)::after,button>div:has(>span.sr-only)::after{content:\"\";display:inline-block;vertical-align:middle;width:1.15rem;height:1.15rem;background-color:currentColor;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='M9 3v18'/%3E%3C/svg%3E\") no-repeat center;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='M9 3v18'/%3E%3C/svg%3E\") no-repeat center;-webkit-mask-size:contain;mask-size:contain}"},{"filePath":"style.css","content":"#content{margin-top:0.75rem!important}#content>span:first-of-type,#content>p:first-of-type{margin-top:1.5rem!important}#content>span+h2,#content>p+h2{margin-top:1.5rem!important}button.lg\\:hidden>div:first-child>svg.size-4,button>div>span.sr-only+svg{display:none!important}button.lg\\:hidden>div:first-child:has(>span.sr-only)::after,button>div:has(>span.sr-only)::after{content:\"\";display:inline-block;vertical-align:middle;width:1.15rem;height:1.15rem;background-color:currentColor;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='M9 3v18'/%3E%3C/svg%3E\") no-repeat center;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='M9 3v18'/%3E%3C/svg%3E\") no-repeat center;-webkit-mask-size:contain;mask-size:contain}"}],"page":{"pagePath":"api-reference/system/create-moderation","slug":"/api-reference/system/create-moderation","pageMetadata":{"title":"Create moderation","description":"Classify if text is potentially harmful.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/moderations","href":"/api-reference/system/create-moderation","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Classify if text is potentially harmful.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"catppuccin-latte","dark":"ayu-dark"}},"config":{},"pageMetadata":{"title":"Create moderation","description":"Classify if text is potentially harmful.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/moderations","href":"/api-reference/system/create-moderation","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"postV1Moderations","tags":["System"],"summary":"Create moderation","description":"Classify if text is potentially harmful.","responses":{"200":"5147a546-4af9-4212-8af7-e03f588ae8c6"},"requestBody":"d13e496b-1893-401b-9335-ac4a271b1391","security":["da9d378e-de61-4e36-8ccc-d2a007599ca2"],"method":"post","type":"path","servers":["1bc4b336-80d3-4e7d-9993-5583e192fdc0"],"path":"/v1/moderations","baseUrlOptions":["https://api.neosantara.xyz"],"title":"Create moderation","codeSamples":[],"requestExampleLanguages":[""],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.input.oneOf.0":"\u003cstring>","body.model":"text-moderation-latest"}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"input.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"input.oneOf.1","typeLabel":"string[]"}],"isRequired":true,"uniqueKey":"input","typeLabel":"string | string[]"},"model":{"type":"string","default":"text-moderation-latest","uniqueKey":"model","typeLabel":"string"}},"required":["input"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"input":"\u003cstring>","model":"text-moderation-latest"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5147a546-4af9-4212-8af7-e03f588ae8c6":{"description":"Successful moderation","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"da9d378e-de61-4e36-8ccc-d2a007599ca2":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]}}},"servers":{"1bc4b336-80d3-4e7d-9993-5583e192fdc0":{"url":"https://api.neosantara.xyz","description":"Neosantara Production Gateway"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"neosantara","siteName":"Neosantara Docs","title":"Create moderation - Neosantara Docs","contextualStarterQuestions":[{"_id":"6aad25b6ad61b306974c5315","deploymentId":"6aad2250716e376a78b326d8","questionText":"How do I use the moderation API?","status":"active","generatedBy":"contextual","path":"api-reference/system/create-moderation","createdAt":"2026-09-18T11:51:18.303Z","updatedAt":"2026-09-18T11:51:18.303Z","__v":0},{"_id":"6aad25b6ad61b306974c5314","deploymentId":"6aad2250716e376a78b326d8","questionText":"What content does moderation flag?","status":"active","generatedBy":"contextual","path":"api-reference/system/create-moderation","createdAt":"2026-09-18T11:51:18.303Z","updatedAt":"2026-09-18T11:51:18.303Z","__v":0},{"_id":"6aad25b6ad61b306974c5313","deploymentId":"6aad2250716e376a78b326d8","questionText":"How do I classify harmful text?","status":"active","generatedBy":"contextual","path":"api-reference/system/create-moderation","createdAt":"2026-09-18T11:51:18.303Z","updatedAt":"2026-09-18T11:51:18.303Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"id":{"href":"/api-reference/system/create-moderation","matchLevel":0},"en":{"href":"/api-reference/system/create-moderation","matchLevel":0}}},"lastModified":"2026-09-26T10:54:35.900Z","originalFileLocation":"api-reference/system/create-moderation.mdx","locale":"id"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Classify if text is potentially harmful.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Neosantara Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neosantara/J-NWEJFNyV2r2Qmg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/neosantara/J-NWEJFNyV2r2Qmg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neosantara/J-NWEJFNyV2r2Qmg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/neosantara/J-NWEJFNyV2r2Qmg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/neosantara/J-NWEJFNyV2r2Qmg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neosantara/J-NWEJFNyV2r2Qmg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neosantara/J-NWEJFNyV2r2Qmg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/neosantara/J-NWEJFNyV2r2Qmg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/neosantara/J-NWEJFNyV2r2Qmg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create moderation - Neosantara Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Classify if text is potentially harmful.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Neosantara Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.neosantara.xyz/api-reference/system/create-moderation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://neosantara.mintlify.site/_mintlify/api/og/v2?division=Moderasi+Konten\u0026amp;title=Create+moderation\u0026amp;description=Classify+if+text+is+potentially+harmful.\u0026amp;theme=fd8b610fcb723b66960942b0\u0026amp;signature=c0b4c2c0bb7051680195a2a70a3d7bdb43cc9c9691eb96f00d73f09eeda4ad9e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create moderation - Neosantara Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Classify if text is potentially harmful.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://neosantara.mintlify.site/_mintlify/api/og/v2?division=Moderasi+Konten\u0026amp;title=Create+moderation\u0026amp;description=Classify+if+text+is+potentially+harmful.\u0026amp;theme=fd8b610fcb723b66960942b0\u0026amp;signature=c0b4c2c0bb7051680195a2a70a3d7bdb43cc9c9691eb96f00d73f09eeda4ad9e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/neosantara/J-NWEJFNyV2r2Qmg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Neosantara Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D97706\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.neosantara.xyz/api-reference/system/create-moderation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/system/create-moderation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.neosantara.xyz/#organization\",\"name\":\"Neosantara Docs\",\"url\":\"https://docs.neosantara.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/neosantara/PAEao3CkpvIGYq2r/logo/light.svg?fit=max\u0026auto=format\u0026n=PAEao3CkpvIGYq2r\u0026q=85\u0026s=47a20c2433ff6a81237389fc6caaeb3b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.neosantara.xyz#website\",\"name\":\"Neosantara Docs\",\"url\":\"https://docs.neosantara.xyz\",\"publisher\":{\"@id\":\"https://docs.neosantara.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.neosantara.xyz/api-reference/system/create-moderation#webpage\",\"url\":\"https://docs.neosantara.xyz/api-reference/system/create-moderation\",\"name\":\"Create moderation\",\"description\":\"Classify if text is potentially harmful.\",\"dateModified\":\"2026-09-26T10:54:35.900Z\",\"isPartOf\":{\"@id\":\"https://docs.neosantara.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.neosantara.xyz/api-reference/system/create-moderation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.neosantara.xyz/api-reference/system/create-moderation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Neosantara Docs\",\"item\":\"https://docs.neosantara.xyz\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create moderation\",\"item\":\"https://docs.neosantara.xyz/api-reference/system/create-moderation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.neosantara.xyz/api-reference/system/create-moderation#apireference\",\"headline\":\"Create moderation\",\"name\":\"Create moderation\",\"description\":\"Classify if text is potentially harmful.\",\"url\":\"https://docs.neosantara.xyz/api-reference/system/create-moderation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.neosantara.xyz/api-reference/system/create-moderation#webpage\"},\"dateModified\":\"2026-09-26T10:54:35.900Z\",\"publisher\":{\"@id\":\"https://docs.neosantara.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.neosantara.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Neosantara Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Neosantara Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/system/create-moderation.md","siteName":"Neosantara Docs","nav":{"global":null,"languages":[{"language":"id","default":true,"tabs":[{"tab":"Gateway \u0026 Kapabilitas","icon":"server","pages":[{"title":"Gateway \u0026 Kapabilitas","href":"/id"}]},{"tab":"Agen \u0026 MCP","icon":"bot","pages":[{"title":"Agen \u0026 MCP","href":"/id/agents/overview"}]},{"tab":"Coding Plan","icon":"terminal","pages":[{"title":"Coding Plan","href":"/id/coding-plan/overview"}]},{"tab":"Integrasi","icon":"plug","pages":[{"title":"Integrasi","href":"/id/integrations/overview"}]},{"tab":"Referensi API","icon":"code","groups":[{"group":"Pengantar","icon":"book-open","pages":[{"title":"Referensi API","icon":"book-open","href":"/id/api-reference/introduction"}]},{"group":"Chat \u0026 Responses","icon":"message-square","pages":[{"title":"Create chat completion","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/chat/completions","href":"/api-reference/chat/create-chat-completion"},{"title":"Generate a response","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/responses","href":"/api-reference/responses/generate-a-response"}]},{"group":"Anthropic Messages","icon":"message-circle","pages":[{"title":"Create a message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /anthropic/v1/messages","href":"/api-reference/anthropic/create-a-message"},{"title":"Count tokens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /anthropic/v1/messages/count_tokens","href":"/api-reference/anthropic/count-tokens"},{"title":"List models","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /anthropic/v1/models","href":"/api-reference/anthropic/list-models"},{"title":"Retrieve model","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /anthropic/v1/models/{modelId}","href":"/api-reference/anthropic/retrieve-model"}]},{"group":"Katalog Model","icon":"list","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/models","href":"/api-reference/models/list-models"},{"title":"Retrieve model","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/models/{modelId}","href":"/api-reference/models/retrieve-model"}]},{"group":"Multimodal \u0026 Audio","icon":"sparkles","pages":[{"title":"Create image","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/images/generations","href":"/api-reference/images/create-image"},{"title":"Transcription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/audio/transcriptions","href":"/api-reference/audio/transcription"},{"title":"OCR Extraction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/ocr","href":"/api-reference/vision/ocr-extraction"},{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/embeddings","href":"/api-reference/embeddings/create-embeddings"},{"title":"Create video job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/videos","href":"/api-reference/videos/create-video-job"},{"title":"Retrieve video job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/{video_id}","href":"/api-reference/videos/retrieve-video-job"},{"title":"Download generated video","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/{video_id}/content","href":"/api-reference/videos/download-generated-video"}]},{"group":"Berkas \u0026 Batches","icon":"folder-archive","pages":[{"title":"Upload file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/files","href":"/api-reference/files/upload-file"},{"title":"List files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/files","href":"/api-reference/files/list-files"},{"title":"Retrieve file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/files/{file_id}","href":"/api-reference/files/retrieve-file"},{"title":"Delete file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/files/{file_id}","href":"/api-reference/files/delete-file"},{"title":"Retrieve file content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/files/{file_id}/content","href":"/api-reference/files/retrieve-file-content"},{"title":"Create batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/batches","href":"/api-reference/batches/create-batch"},{"title":"List batches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/batches","href":"/api-reference/batches/list-batches"},{"title":"Retrieve batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/batches/{batch_id}","href":"/api-reference/batches/retrieve-batch"},{"title":"Cancel batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/batches/{batch_id}/cancel","href":"/api-reference/batches/cancel-batch"}]},{"group":"Model Context Protocol (MCP)","icon":"puzzle","pages":[{"title":"Run web audit for MCP","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/mcp/audit-web","href":"/api-reference/mcp/run-web-audit-for-mcp"},{"title":"Summarize audit report for MCP","description":"Generates concise findings from a structured audit object using MCP-allowlisted models.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/mcp/summarize-audit","href":"/api-reference/mcp/summarize-audit-report-for-mcp"}]},{"group":"Moderasi Konten","icon":"shield-check","pages":[{"title":"Create moderation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/moderations","href":"/api-reference/system/create-moderation"}]},{"group":"Evaluasi \u0026 Decision (Jev)","icon":"split","pages":[{"title":"TypeSafe System One compatible evaluation","description":"TypeSafe System One wire format (POST /v1/systemone). Point typesafe_sdk or dspy.experimental.TypeSafe at the Neosantara base URL to run Jev with a Neosantara API key.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/systemone","href":"/api-reference/evaluation/typesafe-system-one-compatible-evaluation"},{"title":"Evaluate questions against shared state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/evaluate","href":"/api-reference/evaluation/evaluate-questions-against-shared-state"}]}]},{"tab":"Panduan","icon":"book-open","pages":[{"title":"Panduan","href":"/id/guides/overview"}]},{"tab":"FAQ","icon":"badge-help","pages":[{"title":"FAQ","href":"/id/guides/faq"}]}]},{"language":"en","tabs":[{"tab":"Gateway \u0026 Capabilities","icon":"server","pages":[{"title":"Gateway \u0026 Capabilities","href":"/en"}]},{"tab":"Agents \u0026 MCP","icon":"bot","pages":[{"title":"Agents \u0026 MCP","href":"/en/agents/overview"}]},{"tab":"Coding Plan","icon":"terminal","pages":[{"title":"Coding Plan","href":"/en/coding-plan/overview"}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Introduction","icon":"book-open","pages":[{"title":"API Reference","icon":"book-open","href":"/en/api-reference/introduction"}]},{"group":"Chat \u0026 Responses","icon":"message-square","pages":[{"title":"Create chat completion","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/chat/completions","href":"/api-reference/chat/create-chat-completion"},{"title":"Generate a response","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/responses","href":"/api-reference/responses/generate-a-response"}]},{"group":"Anthropic Messages","icon":"message-circle","pages":[{"title":"Create a message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /anthropic/v1/messages","href":"/api-reference/anthropic/create-a-message"},{"title":"Count tokens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /anthropic/v1/messages/count_tokens","href":"/api-reference/anthropic/count-tokens"},{"title":"List models","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /anthropic/v1/models","href":"/api-reference/anthropic/list-models"},{"title":"Retrieve model","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /anthropic/v1/models/{modelId}","href":"/api-reference/anthropic/retrieve-model"}]},{"group":"Model Catalog","icon":"list","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/models","href":"/api-reference/models/list-models"},{"title":"Retrieve model","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/models/{modelId}","href":"/api-reference/models/retrieve-model"}]},{"group":"Multimodal \u0026 Audio","icon":"sparkles","pages":[{"title":"Create image","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/images/generations","href":"/api-reference/images/create-image"},{"title":"Transcription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/audio/transcriptions","href":"/api-reference/audio/transcription"},{"title":"OCR Extraction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/ocr","href":"/api-reference/vision/ocr-extraction"},{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/embeddings","href":"/api-reference/embeddings/create-embeddings"},{"title":"Create video job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/videos","href":"/api-reference/videos/create-video-job"},{"title":"Retrieve video job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/{video_id}","href":"/api-reference/videos/retrieve-video-job"},{"title":"Download generated video","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/{video_id}/content","href":"/api-reference/videos/download-generated-video"}]},{"group":"Files \u0026 Batches","icon":"folder-archive","pages":[{"title":"Upload file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/files","href":"/api-reference/files/upload-file"},{"title":"List files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/files","href":"/api-reference/files/list-files"},{"title":"Retrieve file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/files/{file_id}","href":"/api-reference/files/retrieve-file"},{"title":"Delete file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/files/{file_id}","href":"/api-reference/files/delete-file"},{"title":"Retrieve file content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/files/{file_id}/content","href":"/api-reference/files/retrieve-file-content"},{"title":"Create batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/batches","href":"/api-reference/batches/create-batch"},{"title":"List batches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/batches","href":"/api-reference/batches/list-batches"},{"title":"Retrieve batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/batches/{batch_id}","href":"/api-reference/batches/retrieve-batch"},{"title":"Cancel batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/batches/{batch_id}/cancel","href":"/api-reference/batches/cancel-batch"}]},{"group":"Model Context Protocol (MCP)","icon":"puzzle","pages":[{"title":"Run web audit for MCP","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/mcp/audit-web","href":"/api-reference/mcp/run-web-audit-for-mcp"},{"title":"Summarize audit report for MCP","description":"Generates concise findings from a structured audit object using MCP-allowlisted models.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/mcp/summarize-audit","href":"/api-reference/mcp/summarize-audit-report-for-mcp"}]},{"group":"Content Moderation","icon":"shield-check","pages":[{"title":"Create moderation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/moderations","href":"/api-reference/system/create-moderation"}]},{"group":"Evaluation \u0026 Decisions (Jev)","icon":"split","pages":[{"title":"TypeSafe System One compatible evaluation","description":"TypeSafe System One wire format (POST /v1/systemone). Point typesafe_sdk or dspy.experimental.TypeSafe at the Neosantara base URL to run Jev with a Neosantara API key.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/systemone","href":"/api-reference/evaluation/typesafe-system-one-compatible-evaluation"},{"title":"Evaluate questions against shared state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/evaluate","href":"/api-reference/evaluation/evaluate-questions-against-shared-state"}]}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/en/guides/overview"}]},{"tab":"FAQ","icon":"badge-help","pages":[{"title":"FAQ","href":"/en/guides/faq"}]}]}]},"basePath":"","title":"Create moderation - Neosantara Docs","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-DpgbmzWY.js","dist-CiVXVcSh.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-BgGj2PGS.js","utils-BhNOqRKb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BAgRNUZo.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CGkb0TPw.js","snippetPresets-ChLkL1a6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Ef10Jrbx.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DlVCnjU8.js","shallow-BA55zJxQ.js","getApiPlaygroundDisplay-DR09dKtp.js","CodeSnippet-BZ8J8Kll.js","CodeSnippets-CcguVheG.js","Page-C7x-eUfk.js","getPastedJson-D5UqeqBp.js","icon-DpD0l99C.js","MethodPill-Wg2NXsp_.js","DuplicateIcon-CCSyX8lh.js","createIcon-C4Ukv9HX.js","DynamicMarkdown-RhjEuCHC.js","SectionHeading-DL1MykRq.js","axios-vUo_bRtp.js","Markdown-BwQ4RMdp.js","AssistantPageLink-Dic2Jtb2.js"]}