curl --request POST \
--url https://api.zerogpu.ai/zeroclick/v1/moderations \
--header 'Content-Type: application/json' \
--header 'zc-signature: <api-key>' \
--data '
{
"input": "I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next."
}
'
import requests
url = "https://api.zerogpu.ai/zeroclick/v1/moderations"
payload = { "input": "I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next." }
headers = {
"zc-signature": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {'zc-signature': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: 'I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next.'
})
};
fetch('https://api.zerogpu.ai/zeroclick/v1/moderations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
false
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zerogpu.ai/zeroclick/v1/moderations"
payload := strings.NewReader("{\n \"input\": \"I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next.\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("zc-signature", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
require 'uri'
require 'net/http'
url = URI("https://api.zerogpu.ai/zeroclick/v1/moderations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["zc-signature"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next.\"\n}"
response = http.request(request)
puts response.read_body
{
"error": {
"message": "We could not parse the JSON body of your request. (HINT: This likely means you are not using your HTTP library correctly. The ZeroGPU API expects a JSON payload, but what was sent was not valid JSON.)",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
{
"error": "invalid_zeroclick_signature"
}
{}
{
"error": {
"message": "Rate limit reached for LFM2.5-1.2B-Instruct in organization org_123 on requests per min (RPM): Limit 60, Used 60, Requested 1. Please try again in 1s.",
"type": "rate_limit_error",
"param": null,
"code": "requests_per_minute_exceeded"
}
}
OpenAI-style content moderation authenticated by a ZeroClick HMAC signature instead of an API key.
POST
/
zeroclick
/
v1
/
moderations
Create moderation (ZeroClick-authenticated)
curl --request POST \
--url https://api.zerogpu.ai/zeroclick/v1/moderations \
--header 'Content-Type: application/json' \
--header 'zc-signature: <api-key>' \
--data '
{
"input": "I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next."
}
'
import requests
url = "https://api.zerogpu.ai/zeroclick/v1/moderations"
payload = { "input": "I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next." }
headers = {
"zc-signature": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {'zc-signature': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: 'I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next.'
})
};
fetch('https://api.zerogpu.ai/zeroclick/v1/moderations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
false
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zerogpu.ai/zeroclick/v1/moderations"
payload := strings.NewReader("{\n \"input\": \"I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next.\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("zc-signature", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
require 'uri'
require 'net/http'
url = URI("https://api.zerogpu.ai/zeroclick/v1/moderations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["zc-signature"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next.\"\n}"
response = http.request(request)
puts response.read_body
{
"error": {
"message": "We could not parse the JSON body of your request. (HINT: This likely means you are not using your HTTP library correctly. The ZeroGPU API expects a JSON payload, but what was sent was not valid JSON.)",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
{
"error": "invalid_zeroclick_signature"
}
{}
{
"error": {
"message": "Rate limit reached for LFM2.5-1.2B-Instruct in organization org_123 on requests per min (RPM): Limit 60, Used 60, Requested 1. Please try again in 1s.",
"type": "rate_limit_error",
"param": null,
"code": "requests_per_minute_exceeded"
}
}
This is the Moderations endpoint behind ZeroClick, ZeroGPU’s agent-payment layer. Same request/response bodies and same model routing as /v1/moderations — only authentication, authorization, and metering differ. model may be omitted, or given as an OpenAI id such as omni-moderation-latest; either way the configured moderation model serves the request.
Authentication — no x-api-key. A buying agent calls ZeroClick’s hosted pay URL; ZeroClick proxies the request and signs the raw request bytes with an HMAC in the zc-signature header. A request is authenticated only by a valid signature.
Authorization — a ZeroClick allowance check runs before any billable work. It fails open on a transient ZeroClick outage (the signature has already verified), but never for a missing or invalid signature.
Metering — the input and output tokens from the response’s usage are settled with ZeroClick and reported via the zc-usage response header. Stripe metering is bypassed; ZeroClick is the sole biller.
HMAC signature minted by ZeroClick over the raw request bytes, of the
form t=<unix-seconds>,kid=<key-id>,v1=<hex-hmac>. Verified by the
@zeroclickai/sellers SDK against the seller's signing secret keyed by
kid. A missing or invalid signature is rejected with 401invalid_zeroclick_signature; this is never failed open.
Text to classify. A single string, an array of strings (one result per element), or an array of content parts ({ "type": "text", "text": "..." }) forming one multi-modal input.
Moderation model to use. Defaults to the configured moderation model (zlm-v1-moderation-edge). OpenAI ids (omni-moderation-latest, omni-moderation-2024-09-26, text-moderation-latest, text-moderation-stable, text-moderation-007, text-moderation-006) are also accepted, and served and metered as zlm-v1-moderation-edge.
Available options:
zlm-v1-moderation-edge,
llama-guard-4-12b
Example:
"zlm-v1-moderation-edge"
Response
OpenAI moderations envelope. Includes the zc-usage header settling actual usage with ZeroClick.
OpenAI-compatible moderations envelope. One results entry per input.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ZeroGPU","description":"ZeroGPU is the compute efficiency layer for AI inference. It runs repeatable, high-volume tasks - classification, extraction, PII redaction, moderation, summarization, routing - on specialized small and nano language models across an edge-powered network, faster and cheaper than centralized GPUs, through one OpenAI-compatible API.","colors":{"primary":"#22C55E","light":"#4ADE80","dark":"#16A34A"},"logo":{"light":"https://mintcdn.com/zerogpu/Gm1fjnUZg6Fa99hP/assets/zerogpu-docs-logo-light.png?fit=max\u0026auto=format\u0026n=Gm1fjnUZg6Fa99hP\u0026q=85\u0026s=78a4ce11cf0b3f707ad7bc829b979475","dark":"https://mintcdn.com/zerogpu/Gm1fjnUZg6Fa99hP/assets/zerogpu-docs-logo-dark.png?fit=max\u0026auto=format\u0026n=Gm1fjnUZg6Fa99hP\u0026q=85\u0026s=a6a992f683e8774df0ea4da0324d659d"},"favicon":"https://mintcdn.com/zerogpu/Gm1fjnUZg6Fa99hP/assets/favicon.ico?fit=max\u0026auto=format\u0026n=Gm1fjnUZg6Fa99hP\u0026q=85\u0026s=492a04e82780c7c9df438a85e80701f1","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required","languages":["curl","python","javascript","rust","go","ruby"],"prefill":true,"autogenerate":true},"mdx":{"server":"https://api.zerogpu.ai/v1"}},"appearance":{"default":"dark","strict":true},"navbar":{"links":[{"icon":"globe","href":"https://zerogpu.ai","label":""},{"icon":"github","href":"https://github.com/zerogpu","label":""},{"icon":"discord","href":"https://discord.gg/58XZuxKyq6","label":""},{"icon":"x-twitter","href":"https://x.com/ZeroGPU_AI","label":""}],"primary":{"type":"button","label":"Platform","href":"https://platform.zerogpu.ai/"}},"footer":{"socials":{"website":"https://zerogpu.ai","github":"https://github.com/zerogpu"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://zerogpu.ai"},{"anchor":"Platform","icon":"rocket","href":"https://platform.zerogpu.ai/"},{"anchor":"llms.txt","icon":"sparkles","href":"https://docs.zerogpu.ai/llms.txt"},{"anchor":"llms-full.txt","icon":"brain","href":"https://docs.zerogpu.ai/llms-full.txt"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zerogpu","hasAudioNarration":false,"actualSubdomain":"zerogpu","customDomains":["docs.zerogpu.ai"],"gitSource":{"type":"github","owner":"zerogpu","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6af3ffd965d53f333435afc6","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":52},{"language":"default","tag":"Endpoints","count":34},{"language":"default","tag":"By model","count":29},{"language":"default","tag":"Integrations","count":25},{"language":"default","tag":"Documentation","count":24},{"language":"default","tag":"Cookbook","count":12},{"language":"default","tag":"Batch API","count":9},{"language":"default","tag":"Integrations \u0026 plugins","count":8},{"language":"default","tag":"Models","count":8},{"language":"default","tag":"ZeroClick","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/zeroclick-moderations","slug":"/api-reference/zeroclick-moderations","pageMetadata":{"title":"Moderations (ZeroClick)","description":"OpenAI-style content moderation authenticated by a ZeroClick HMAC signature instead of an API key.","sidebarTitle":"Moderations","openapi":"api-reference/openapi/zeroclick.openapi.json POST /zeroclick/v1/moderations","href":"/api-reference/zeroclick-moderations"},"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: \"OpenAI-style content moderation authenticated by a ZeroClick HMAC signature instead of an API key.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This is the `,_jsx(_components.a,{href:`/api-reference/moderations`,children:`Moderations`}),` endpoint behind `,_jsx(_components.strong,{children:`ZeroClick`}),`, ZeroGPU’s agent-payment layer. Same request/response bodies and same model routing as `,_jsx(_components.code,{children:`/v1/moderations`}),` — only authentication, authorization, and metering differ. `,_jsx(_components.code,{children:`model`}),` may be omitted, or given as an OpenAI id such as `,_jsx(_components.code,{children:`omni-moderation-latest`}),`; either way the configured moderation model serves the request.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Authentication`}),` — no `,_jsx(_components.code,{children:`x-api-key`}),`. A buying agent calls ZeroClick’s hosted pay URL; ZeroClick proxies the request and signs the raw request bytes with an HMAC in the `,_jsx(_components.code,{children:`zc-signature`}),` header. A request is authenticated `,_jsx(_components.strong,{children:`only`}),` by a valid signature.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Authorization`}),` — a ZeroClick allowance check runs before any billable work. It fails `,_jsx(_components.em,{children:`open`}),` on a transient ZeroClick outage (the signature has already verified), but never for a missing or invalid signature.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Metering`}),` — the input and output tokens from the response’s `,_jsx(_components.code,{children:`usage`}),` are settled with ZeroClick and reported via the `,_jsx(_components.code,{children:`zc-usage`}),` response header. Stripe metering is bypassed; ZeroClick is the sole biller.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Handle errors the same way as `,_jsx(_components.a,{href:`/docs/production-patterns#handle-status-codes-explicitly`,children:`API error codes`}),`.`]})]})}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":{"config":{},"pageMetadata":{"title":"Moderations (ZeroClick)","description":"OpenAI-style content moderation authenticated by a ZeroClick HMAC signature instead of an API key.","sidebarTitle":"Moderations","openapi":"api-reference/openapi/zeroclick.openapi.json POST /zeroclick/v1/moderations","href":"/api-reference/zeroclick-moderations"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["ZeroClick"],"operationId":"zeroclickCreateModeration","summary":"Create moderation (ZeroClick-authenticated)","description":"OpenAI-style content moderation authenticated by a ZeroClick HMAC signature instead of an API key.","security":["2ff50ff0-da33-494f-9e05-92e7a2b2132e"],"parameters":["d8e07444-21b9-4188-ab95-fe110e1df3e5","2ab65deb-a257-4ac6-8772-6da1c322bf94"],"requestBody":"a9ef4c68-c706-4972-a0e2-90ac2e420440","responses":{"200":"9b21b83b-c128-40ed-8bc1-69e7d0cddcd1","400":"68f0ce17-16fd-404a-9ac5-22c48558f118","401":"e35d8cc0-f1b1-4a68-afb0-b3bf2a24137f","402":"a88a5a9e-8804-453b-9e36-5bb3913572c1","429":"171d3ea5-db67-45c0-8585-e45be19146da","500":"ef901469-3522-4451-80c7-1963de346273"},"method":"post","type":"path","servers":["587f31af-baa2-4189-b210-cdd392a39bad"],"path":"/zeroclick/v1/moderations","baseUrlOptions":["https://api.zerogpu.ai"],"title":"Create moderation (ZeroClick-authenticated)","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","rust","go","ruby"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.input.oneOf.0":"I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next.","body.model":"zlm-v1-moderation-edge"}],"disableProxy":true},"dependencies":{"parameters":{"d8e07444-21b9-4188-ab95-fe110e1df3e5":{"name":"zc-request-id","in":"header","required":false,"description":"ZeroClick request id, echoed in logs for correlation. Set by ZeroClick when it proxies the request.","schema":{"type":"string","example":"zcreq_1","isRequired":false,"description":"ZeroClick request id, echoed in logs for correlation. Set by ZeroClick when it proxies the request.","uniqueKey":"","typeLabel":"string"}},"2ab65deb-a257-4ac6-8772-6da1c322bf94":{"name":"zc-agent-id","in":"header","required":false,"description":"Identifier of the buying agent. Used to partition logs/analytics by agent; becomes the synthesized caller identity.","schema":{"type":"string","example":"agt_1","isRequired":false,"description":"Identifier of the buying agent. Used to partition logs/analytics by agent; becomes the synthesized caller identity.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["input"],"properties":{"input":{"oneOf":[{"type":"string","description":"Text to classify. A single string, an array of strings (one result per element), or an array of content parts (`{ \"type\": \"text\", \"text\": \"...\" }`) forming one multi-modal input.","minLength":1,"isRequired":true,"uniqueKey":"input.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Text to classify. A single string, an array of strings (one result per element), or an array of content parts (`{ \"type\": \"text\", \"text\": \"...\" }`) forming one multi-modal input.","minItems":1,"isRequired":true,"uniqueKey":"input.oneOf.1","typeLabel":"string[]"},{"type":"array","items":{"type":"object","uniqueKey":"input.oneOf.2.items.[INDEX]","typeLabel":"object"},"description":"Text to classify. A single string, an array of strings (one result per element), or an array of content parts (`{ \"type\": \"text\", \"text\": \"...\" }`) forming one multi-modal input.","minItems":1,"isRequired":true,"uniqueKey":"input.oneOf.2","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"input","typeLabel":"string | string[] | object[]"},"model":{"type":"string","default":"zlm-v1-moderation-edge","example":"zlm-v1-moderation-edge","description":"Moderation model to use. Defaults to the configured moderation model (`zlm-v1-moderation-edge`). OpenAI ids (`omni-moderation-latest`, `omni-moderation-2024-09-26`, `text-moderation-latest`, `text-moderation-stable`, `text-moderation-007`, `text-moderation-006`) are also accepted, and served and metered as `zlm-v1-moderation-edge`.","enum":["zlm-v1-moderation-edge","llama-guard-4-12b"],"uniqueKey":"model","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"model":"zlm-v1-moderation-edge","input":"I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next."},"examples":{"Example":{"title":"Example","value":{"model":"zlm-v1-moderation-edge","input":"I am so angry at this person that I want to hurt them. They are worthless and should be scared of what I might do next."}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"9b21b83b-c128-40ed-8bc1-69e7d0cddcd1":{"description":"OpenAI moderations envelope. Includes the `zc-usage` header settling actual usage with ZeroClick.","headers":{"zc-usage":{"description":"Usage report settled with ZeroClick, present on `200` responses. Encodes\nthe actual usage metered against the request's ZeroClick service slug\n(the kebab-cased model id served, e.g. `lfm2-5-1-2b-instruct`; for a retired\nid, its successor's): `input_tokens`\nand `output_tokens` for chat completions, responses and moderations,\n`input_tokens` only for embeddings, and `audio_seconds` for the audio\nendpoints.\n","schema":{"type":"string"}},"x-request-id":{"description":"Correlation id for this request, present on every response.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","description":"OpenAI-compatible moderations envelope. One `results` entry per input.","properties":{"id":{"type":"string","description":"Unique identifier for the moderation request.","example":"modr-0a1b2c3d4e5f60718293a4b5c6d7e8f90","uniqueKey":"id","typeLabel":"string"},"model":{"type":"string","description":"The model used for classification.","example":"zlm-v1-moderation-edge","uniqueKey":"model","typeLabel":"string"},"results":{"type":"array","description":"Moderation verdicts, one per input (a string input yields a single-element array).","items":{"type":"object","description":"A single entry of the `results` array — the verdict for one input.","properties":{"flagged":{"type":"boolean","description":"True when the model flagged the input in one or more categories.","example":true,"uniqueKey":"results.items.[INDEX].flagged","typeLabel":"boolean"},"categories":{"type":"object","description":"Per-category boolean verdicts. All 13 categories are always present, in OpenAI's order.","properties":{"harassment":{"type":"boolean","description":"Content that expresses, incites, or promotes harassing language towards any target.","example":true,"uniqueKey":"results.items.[INDEX].categories.harassment","typeLabel":"boolean"},"harassment/threatening":{"type":"boolean","description":"Harassment that also includes violence or serious harm towards any target.","example":true,"uniqueKey":"results.items.[INDEX].categories.harassment/threatening","typeLabel":"boolean"},"hate":{"type":"boolean","description":"Content that expresses, incites, or promotes hate based on a protected attribute.","example":false,"uniqueKey":"results.items.[INDEX].categories.hate","typeLabel":"boolean"},"hate/threatening":{"type":"boolean","description":"Hateful content that also includes violence or serious harm towards a protected group.","example":false,"uniqueKey":"results.items.[INDEX].categories.hate/threatening","typeLabel":"boolean"},"illicit":{"type":"boolean","description":"Content that gives advice or instruction on how to commit a wrongdoing.","example":false,"uniqueKey":"results.items.[INDEX].categories.illicit","typeLabel":"boolean"},"illicit/violent":{"type":"boolean","description":"Illicit content that also references violence or procuring a weapon.","example":false,"uniqueKey":"results.items.[INDEX].categories.illicit/violent","typeLabel":"boolean"},"self-harm":{"type":"boolean","description":"Content that promotes, encourages, or depicts acts of self-harm.","example":false,"uniqueKey":"results.items.[INDEX].categories.self-harm","typeLabel":"boolean"},"self-harm/intent":{"type":"boolean","description":"Content where the speaker expresses that they are engaging or intend to engage in self-harm.","example":false,"uniqueKey":"results.items.[INDEX].categories.self-harm/intent","typeLabel":"boolean"},"self-harm/instructions":{"type":"boolean","description":"Content that provides instructions or advice on how to commit acts of self-harm.","example":false,"uniqueKey":"results.items.[INDEX].categories.self-harm/instructions","typeLabel":"boolean"},"sexual":{"type":"boolean","description":"Content meant to arouse sexual excitement or that promotes sexual services.","example":false,"uniqueKey":"results.items.[INDEX].categories.sexual","typeLabel":"boolean"},"sexual/minors":{"type":"boolean","description":"Sexual content that includes an individual under 18 years old.","example":false,"uniqueKey":"results.items.[INDEX].categories.sexual/minors","typeLabel":"boolean"},"violence":{"type":"boolean","description":"Content that depicts death, violence, or physical injury.","example":true,"uniqueKey":"results.items.[INDEX].categories.violence","typeLabel":"boolean"},"violence/graphic":{"type":"boolean","description":"Content that depicts death, violence, or physical injury in graphic detail.","example":false,"uniqueKey":"results.items.[INDEX].categories.violence/graphic","typeLabel":"boolean"}},"uniqueKey":"results.items.[INDEX].categories","typeLabel":"object"},"category_scores":{"type":"object","description":"Per-category confidence scores in [0, 1]. All 13 categories are always present, in OpenAI's order.","properties":{"harassment":{"type":"number","description":"Confidence score for `harassment`.","example":0.9412,"uniqueKey":"results.items.[INDEX].category_scores.harassment","typeLabel":"number"},"harassment/threatening":{"type":"number","description":"Confidence score for `harassment/threatening`.","example":0.9016,"uniqueKey":"results.items.[INDEX].category_scores.harassment/threatening","typeLabel":"number"},"hate":{"type":"number","description":"Confidence score for `hate`.","example":0.0231,"uniqueKey":"results.items.[INDEX].category_scores.hate","typeLabel":"number"},"hate/threatening":{"type":"number","description":"Confidence score for `hate/threatening`.","example":0.0104,"uniqueKey":"results.items.[INDEX].category_scores.hate/threatening","typeLabel":"number"},"illicit":{"type":"number","description":"Confidence score for `illicit`.","example":0.0057,"uniqueKey":"results.items.[INDEX].category_scores.illicit","typeLabel":"number"},"illicit/violent":{"type":"number","description":"Confidence score for `illicit/violent`.","example":0.0039,"uniqueKey":"results.items.[INDEX].category_scores.illicit/violent","typeLabel":"number"},"self-harm":{"type":"number","description":"Confidence score for `self-harm`.","example":0.0021,"uniqueKey":"results.items.[INDEX].category_scores.self-harm","typeLabel":"number"},"self-harm/intent":{"type":"number","description":"Confidence score for `self-harm/intent`.","example":0.0012,"uniqueKey":"results.items.[INDEX].category_scores.self-harm/intent","typeLabel":"number"},"self-harm/instructions":{"type":"number","description":"Confidence score for `self-harm/instructions`.","example":0.0008,"uniqueKey":"results.items.[INDEX].category_scores.self-harm/instructions","typeLabel":"number"},"sexual":{"type":"number","description":"Confidence score for `sexual`.","example":0.0006,"uniqueKey":"results.items.[INDEX].category_scores.sexual","typeLabel":"number"},"sexual/minors":{"type":"number","description":"Confidence score for `sexual/minors`.","example":0.0002,"uniqueKey":"results.items.[INDEX].category_scores.sexual/minors","typeLabel":"number"},"violence":{"type":"number","description":"Confidence score for `violence`.","example":0.8774,"uniqueKey":"results.items.[INDEX].category_scores.violence","typeLabel":"number"},"violence/graphic":{"type":"number","description":"Confidence score for `violence/graphic`.","example":0.0311,"uniqueKey":"results.items.[INDEX].category_scores.violence/graphic","typeLabel":"number"}},"uniqueKey":"results.items.[INDEX].category_scores","typeLabel":"object"},"category_applied_input_types":{"type":"object","description":"Which input modality triggered each category. This is a text-only model, so every category maps to [\"text\"].","properties":{"harassment":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.harassment.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.harassment","typeLabel":"string[]"},"harassment/threatening":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.harassment/threatening.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.harassment/threatening","typeLabel":"string[]"},"hate":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.hate.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.hate","typeLabel":"string[]"},"hate/threatening":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.hate/threatening.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.hate/threatening","typeLabel":"string[]"},"illicit":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.illicit.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.illicit","typeLabel":"string[]"},"illicit/violent":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.illicit/violent.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.illicit/violent","typeLabel":"string[]"},"self-harm":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.self-harm.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.self-harm","typeLabel":"string[]"},"self-harm/intent":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.self-harm/intent.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.self-harm/intent","typeLabel":"string[]"},"self-harm/instructions":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.self-harm/instructions.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.self-harm/instructions","typeLabel":"string[]"},"sexual":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.sexual.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.sexual","typeLabel":"string[]"},"sexual/minors":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.sexual/minors.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.sexual/minors","typeLabel":"string[]"},"violence":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.violence.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.violence","typeLabel":"string[]"},"violence/graphic":{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].category_applied_input_types.violence/graphic.items.[INDEX]","typeLabel":"string"},"example":["text"],"uniqueKey":"results.items.[INDEX].category_applied_input_types.violence/graphic","typeLabel":"string[]"}},"uniqueKey":"results.items.[INDEX].category_applied_input_types","typeLabel":"object"}},"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"id":"modr-0a1b2c3d4e5f60718293a4b5c6d7e8f90","model":"zlm-v1-moderation-edge","results":[{"flagged":true,"categories":{"harassment":true,"harassment/threatening":true,"hate":false,"hate/threatening":false,"illicit":true,"illicit/violent":true,"self-harm":false,"self-harm/intent":false,"self-harm/instructions":false,"sexual":false,"sexual/minors":false,"violence":true,"violence/graphic":false},"category_scores":{"harassment":0.82545,"harassment/threatening":0.957703,"hate":0.21574,"hate/threatening":0.168273,"illicit":0.732167,"illicit/violent":0.780693,"self-harm":0.015232,"self-harm/intent":0.017179,"self-harm/instructions":0.01807,"sexual":0.035671,"sexual/minors":0.094207,"violence":0.665897,"violence/graphic":0.198346},"category_applied_input_types":{"harassment":["text"],"harassment/threatening":["text"],"hate":["text"],"hate/threatening":["text"],"illicit":["text"],"illicit/violent":["text"],"self-harm":["text"],"self-harm/intent":["text"],"self-harm/instructions":["text"],"sexual":["text"],"sexual/minors":["text"],"violence":["text"],"violence/graphic":["text"]}}]},"examples":{"Example":{"title":"Example","value":{"id":"modr-0a1b2c3d4e5f60718293a4b5c6d7e8f90","model":"zlm-v1-moderation-edge","results":[{"flagged":true,"categories":{"harassment":true,"harassment/threatening":true,"hate":false,"hate/threatening":false,"illicit":true,"illicit/violent":true,"self-harm":false,"self-harm/intent":false,"self-harm/instructions":false,"sexual":false,"sexual/minors":false,"violence":true,"violence/graphic":false},"category_scores":{"harassment":0.82545,"harassment/threatening":0.957703,"hate":0.21574,"hate/threatening":0.168273,"illicit":0.732167,"illicit/violent":0.780693,"self-harm":0.015232,"self-harm/intent":0.017179,"self-harm/instructions":0.01807,"sexual":0.035671,"sexual/minors":0.094207,"violence":0.665897,"violence/graphic":0.198346},"category_applied_input_types":{"harassment":["text"],"harassment/threatening":["text"],"hate":["text"],"hate/threatening":["text"],"illicit":["text"],"illicit/violent":["text"],"self-harm":["text"],"self-harm/intent":["text"],"self-harm/instructions":["text"],"sexual":["text"],"sexual/minors":["text"],"violence":["text"],"violence/graphic":["text"]}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"68f0ce17-16fd-404a-9ac5-22c48558f118":{"description":"Invalid request — malformed JSON, or a missing/invalid `input`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["message"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"We could not parse the JSON body of your request. (HINT: This likely means you are not using your HTTP library correctly. The ZeroGPU API expects a JSON payload, but what was sent was not valid JSON.)","type":"invalid_request_error","param":null,"code":null}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"We could not parse the JSON body of your request. (HINT: This likely means you are not using your HTTP library correctly. The ZeroGPU API expects a JSON payload, but what was sent was not valid JSON.)","type":"invalid_request_error","param":null,"code":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"e35d8cc0-f1b1-4a68-afb0-b3bf2a24137f":{"description":"The `zc-signature` was missing or invalid, or ZeroClick is not configured\nfor this environment. Unsigned/unverifiable traffic is treated as\nunauthenticated.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"description":"Returned when the `zc-signature` is missing/invalid or ZeroClick is unconfigured.","properties":{"error":{"type":"string","const":"invalid_zeroclick_signature","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"invalid_zeroclick_signature"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_zeroclick_signature"}}},"exampleType":"examples"}},"exampleType":"examples"},"a88a5a9e-8804-453b-9e36-5bb3913572c1":{"description":"The ZeroClick allowance check denied the request (e.g. insufficient\nallowance or a stale signature timestamp). Body follows ZeroClick's\n`payment_required` schema as returned by the SDK.\n","content":{"application/json":{"schema":{"type":"object","description":"ZeroClick `payment_required` denial body, produced by the `@zeroclickai/sellers` SDK.","additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"},"171d3ea5-db67-45c0-8585-e45be19146da":{"description":"Rate limit reached. Limits are counted per ZeroClick agent, so one busy agent does not throttle the others. Wait at least `retry-after` seconds, then retry.","headers":{"retry-after":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["message"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"Rate limit reached for LFM2.5-1.2B-Instruct in organization org_123 on requests per min (RPM): Limit 60, Used 60, Requested 1. Please try again in 1s.","type":"rate_limit_error","param":null,"code":"requests_per_minute_exceeded"}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Rate limit reached for LFM2.5-1.2B-Instruct in organization org_123 on requests per min (RPM): Limit 60, Used 60, Requested 1. Please try again in 1s.","type":"rate_limit_error","param":null,"code":"requests_per_minute_exceeded"}}}},"exampleType":"examples"}},"exampleType":"examples"},"ef901469-3522-4451-80c7-1963de346273":{"description":"Unexpected server error.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["message"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"type":"string","uniqueKey":"error.type","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"Internal error","type":"internal_error"}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Internal error","type":"internal_error"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2ff50ff0-da33-494f-9e05-92e7a2b2132e":{"ZeroClickSignature":{"type":"apiKey","in":"header","name":"zc-signature","description":"HMAC signature minted by ZeroClick over the raw request bytes, of the\nform `t=\u003cunix-seconds>,kid=\u003ckey-id>,v1=\u003chex-hmac>`. Verified by the\n`@zeroclickai/sellers` SDK against the seller's signing secret keyed by\n`kid`. A missing or invalid signature is rejected with `401`\n`invalid_zeroclick_signature`; this is never failed open.\n","scopes":[],"schemeName":"ZeroClickSignature"}}},"servers":{"587f31af-baa2-4189-b210-cdd392a39bad":{"url":"https://api.zerogpu.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"zc-signature","description":"HMAC signature minted by ZeroClick over the raw request bytes, of the\nform `t=\u003cunix-seconds>,kid=\u003ckey-id>,v1=\u003chex-hmac>`. Verified by the\n`@zeroclickai/sellers` SDK against the seller's signing secret keyed by\n`kid`. A missing or invalid signature is rejected with `401`\n`invalid_zeroclick_signature`; this is never failed open.\n","scopes":[],"schemeName":"ZeroClickSignature"},"schema":{"title":"zc-signature","type":"string","description":"HMAC signature minted by ZeroClick over the raw request bytes, of the\nform `t=\u003cunix-seconds>,kid=\u003ckey-id>,v1=\u003chex-hmac>`. Verified by the\n`@zeroclickai/sellers` SDK against the seller's signing secret keyed by\n`kid`. A missing or invalid signature is rejected with `401`\n`invalid_zeroclick_signature`; this is never failed open.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ZeroClickSignature","name":"zc-signature"}],"title":"ZeroClickSignature"}]},"originalFileLocation":"api-reference/openapi/zeroclick.openapi.json"},"subdomain":"zerogpu","siteName":"ZeroGPU","title":"Moderations (ZeroClick) - ZeroGPU","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-12T05:57:30.743Z","originalFileLocation":"api-reference/zeroclick-moderations.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"dark\"}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=\"OpenAI-style content moderation authenticated by a ZeroClick HMAC signature instead of an API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ZeroGPU\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zerogpu/4ZkKhiBJBB1TJuhq/_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/zerogpu/4ZkKhiBJBB1TJuhq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zerogpu/4ZkKhiBJBB1TJuhq/_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/zerogpu/4ZkKhiBJBB1TJuhq/_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/zerogpu/4ZkKhiBJBB1TJuhq/_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/zerogpu/4ZkKhiBJBB1TJuhq/_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/zerogpu/4ZkKhiBJBB1TJuhq/_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/zerogpu/4ZkKhiBJBB1TJuhq/_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/zerogpu/4ZkKhiBJBB1TJuhq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Moderations (ZeroClick) - ZeroGPU\">\u003cmeta data-mint-head property=\"og:description\" content=\"OpenAI-style content moderation authenticated by a ZeroClick HMAC signature instead of an API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ZeroGPU\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zerogpu.ai/api-reference/zeroclick-moderations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zerogpu.mintlify.site/_mintlify/api/og/v2?division=ZeroClick\u0026amp;title=Moderations+%28ZeroClick%29\u0026amp;description=OpenAI-style+content+moderation+authenticated+by+a+ZeroClick+HMAC+signature+instead+of+an+API+key.\u0026amp;theme=ce0da217b3d7bca49590832e\u0026amp;signature=4da110e1cfe27708c7beb95f6fd023ce8d0606f67b15ea9888421c9542cae9c4\">\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=\"Moderations (ZeroClick) - ZeroGPU\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"OpenAI-style content moderation authenticated by a ZeroClick HMAC signature instead of an API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zerogpu.mintlify.site/_mintlify/api/og/v2?division=ZeroClick\u0026amp;title=Moderations+%28ZeroClick%29\u0026amp;description=OpenAI-style+content+moderation+authenticated+by+a+ZeroClick+HMAC+signature+instead+of+an+API+key.\u0026amp;theme=ce0da217b3d7bca49590832e\u0026amp;signature=4da110e1cfe27708c7beb95f6fd023ce8d0606f67b15ea9888421c9542cae9c4\">\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/zerogpu/4ZkKhiBJBB1TJuhq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ZeroGPU\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#22C55E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zerogpu.ai/api-reference/zeroclick-moderations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/zeroclick-moderations.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zerogpu.ai/#organization\",\"name\":\"ZeroGPU\",\"url\":\"https://docs.zerogpu.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zerogpu/Gm1fjnUZg6Fa99hP/assets/zerogpu-docs-logo-light.png?fit=max\u0026auto=format\u0026n=Gm1fjnUZg6Fa99hP\u0026q=85\u0026s=78a4ce11cf0b3f707ad7bc829b979475\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zerogpu.ai#website\",\"name\":\"ZeroGPU\",\"url\":\"https://docs.zerogpu.ai\",\"publisher\":{\"@id\":\"https://docs.zerogpu.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zerogpu.ai/api-reference/zeroclick-moderations#webpage\",\"url\":\"https://docs.zerogpu.ai/api-reference/zeroclick-moderations\",\"name\":\"Moderations (ZeroClick)\",\"description\":\"OpenAI-style content moderation authenticated by a ZeroClick HMAC signature instead of an API key.\",\"dateModified\":\"2026-10-12T05:57:30.743Z\",\"isPartOf\":{\"@id\":\"https://docs.zerogpu.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zerogpu.ai/api-reference/zeroclick-moderations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zerogpu.ai/api-reference/zeroclick-moderations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ZeroClick\",\"item\":\"https://docs.zerogpu.ai/api-reference/zeroclick-responses\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Moderations (ZeroClick)\",\"item\":\"https://docs.zerogpu.ai/api-reference/zeroclick-moderations\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.zerogpu.ai/api-reference/zeroclick-moderations#apireference\",\"headline\":\"Moderations (ZeroClick)\",\"name\":\"Moderations (ZeroClick)\",\"description\":\"OpenAI-style content moderation authenticated by a ZeroClick HMAC signature instead of an API key.\",\"url\":\"https://docs.zerogpu.ai/api-reference/zeroclick-moderations\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zerogpu.ai/api-reference/zeroclick-moderations#webpage\"},\"dateModified\":\"2026-10-12T05:57:30.743Z\",\"publisher\":{\"@id\":\"https://docs.zerogpu.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zerogpu.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ZeroGPU\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ZeroGPU\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/zeroclick-moderations.md","siteName":"ZeroGPU","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://zerogpu.ai"},{"anchor":"Platform","icon":"rocket","href":"https://platform.zerogpu.ai/"},{"anchor":"llms.txt","icon":"sparkles","href":"https://docs.zerogpu.ai/llms.txt"},{"anchor":"llms-full.txt","icon":"brain","href":"https://docs.zerogpu.ai/llms-full.txt"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"API Reference","groups":[{"group":"Endpoints","pages":[{"title":"Responses","openapi":"api-reference/openapi/zerogpu.openapi.json POST /responses","href":"/api-reference/responses"},{"title":"Chat completions","sidebarTitle":"Chat completions","openapi":"api-reference/openapi/zerogpu.openapi.json POST /chat/completions","href":"/api-reference/chat-completions"},{"title":"Moderations","sidebarTitle":"Moderations","openapi":"api-reference/openapi/zerogpu.openapi.json POST /moderations","href":"/api-reference/moderations"},{"title":"System One","sidebarTitle":"System One","openapi":"api-reference/openapi/zerogpu.openapi.json POST /systemone","href":"/api-reference/systemone"},{"title":"Embeddings","sidebarTitle":"Embeddings","openapi":"api-reference/openapi/zerogpu.openapi.json POST /embeddings","href":"/api-reference/embeddings"},{"group":"By model","pages":[{"title":"gpt-oss-120b","sidebarTitle":"gpt-oss-120b","openapi":"api-reference/openapi/playgrounds/gpt-oss-120b.openapi.json POST /responses","href":"/api-reference/models/gpt-oss-120b"},{"title":"qwen3-30b-a3b-fp8","sidebarTitle":"qwen3-30b-a3b-fp8","openapi":"api-reference/openapi/playgrounds/qwen3-30b-a3b-fp8.openapi.json POST /chat/completions","href":"/api-reference/models/qwen3-30b-a3b-fp8"},{"title":"qwen3.6-35b-a3b","sidebarTitle":"qwen3.6-35b-a3b","openapi":"api-reference/openapi/playgrounds/qwen3_6-35b-a3b.openapi.json POST /responses","href":"/api-reference/models/qwen3-6-35b-a3b"},{"title":"unlimited-ocr","sidebarTitle":"unlimited-ocr","openapi":"api-reference/openapi/playgrounds/unlimited-ocr.openapi.json POST /responses","href":"/api-reference/models/unlimited-ocr"},{"title":"deepseek-v4.1-flash","sidebarTitle":"deepseek-v4.1-flash","openapi":"api-reference/openapi/playgrounds/deepseek-v4_1-flash.openapi.json POST /responses","href":"/api-reference/models/deepseek-v4-1-flash"},{"title":"glm-5.3-flash","sidebarTitle":"glm-5.3-flash","openapi":"api-reference/openapi/playgrounds/glm-5_3-flash.openapi.json POST /responses","href":"/api-reference/models/glm-5-3-flash"},{"title":"gpt-5.4-nano","sidebarTitle":"gpt-5.4-nano","openapi":"api-reference/openapi/playgrounds/gpt-5_4-nano.openapi.json POST /responses","href":"/api-reference/models/gpt-5-4-nano"},{"title":"gpt-5.6-luna","sidebarTitle":"gpt-5.6-luna","openapi":"api-reference/openapi/playgrounds/gpt-5_6-luna.openapi.json POST /responses","href":"/api-reference/models/gpt-5-6-luna"},{"title":"gpt-6-luna","sidebarTitle":"gpt-6-luna","openapi":"api-reference/openapi/playgrounds/gpt-6-luna.openapi.json POST /responses","href":"/api-reference/models/gpt-6-luna"},{"title":"gpt-4.1-mini","sidebarTitle":"gpt-4.1-mini","openapi":"api-reference/openapi/playgrounds/gpt-4_1-mini.openapi.json POST /responses","href":"/api-reference/models/gpt-4-1-mini"},{"title":"deberta-v3-small","sidebarTitle":"deberta-v3-small","openapi":"api-reference/openapi/playgrounds/deberta-v3-small.openapi.json POST /responses","href":"/api-reference/models/deberta-v3-small"},{"title":"gliner2.5-base-v1","sidebarTitle":"gliner2.5-base-v1","openapi":"api-reference/openapi/playgrounds/gliner2_5-base-v1.openapi.json POST /responses","href":"/api-reference/models/gliner2-5-base-v1"},{"title":"gliner2.5-multi-v1","sidebarTitle":"gliner2.5-multi-v1","openapi":"api-reference/openapi/playgrounds/gliner2_5-multi-v1.openapi.json POST /responses","href":"/api-reference/models/gliner2-5-multi-v1"},{"title":"gliner2.5-decide-v1","sidebarTitle":"gliner2.5-decide-v1","openapi":"api-reference/openapi/playgrounds/gliner2_5-decide-v1.openapi.json POST /responses","href":"/api-reference/models/gliner2-5-decide-v1"},{"title":"LFM2.5-1.2B-Instruct","sidebarTitle":"LFM2.5-1.2B-Instruct","openapi":"api-reference/openapi/playgrounds/LFM2_5-1_2B-Instruct.openapi.json POST /responses","href":"/api-reference/models/lfm2-5-1-2b-instruct"},{"title":"LFM2.5-1.2B-Thinking","sidebarTitle":"LFM2.5-1.2B-Thinking","openapi":"api-reference/openapi/playgrounds/LFM2_5-1_2B-Thinking.openapi.json POST /responses","href":"/api-reference/models/lfm2-5-1-2b-thinking"},{"title":"llama-3.1-8b-instruct-fast","sidebarTitle":"llama-3.1-8b-instruct-fast","openapi":"api-reference/openapi/playgrounds/llama-3_1-8b-instruct-fast.openapi.json POST /chat/completions","href":"/api-reference/models/llama-3-1-8b-instruct-fast"},{"title":"llama-3.2-3b-instruct-fast","sidebarTitle":"llama-3.2-3b-instruct-fast","openapi":"api-reference/openapi/playgrounds/llama-3_2-3b-instruct-fast.openapi.json POST /chat/completions","href":"/api-reference/models/llama-3-2-3b-instruct-fast"},{"title":"llama-guard-4-12b","sidebarTitle":"llama-guard-4-12b","openapi":"api-reference/openapi/playgrounds/llama-guard-4-12b.openapi.json POST /moderations","href":"/api-reference/models/llama-guard-4-12b"},{"title":"zlm-v1-iab-classify-edge","sidebarTitle":"zlm-v1-iab-classify-edge","openapi":"api-reference/openapi/playgrounds/zlm-v1-iab-classify-edge.openapi.json POST /responses","href":"/api-reference/models/zlm-v1-iab-classify-edge"},{"title":"zlm-v2-iab-classify-edge-enriched","sidebarTitle":"zlm-v2-iab-classify-edge-enriched","openapi":"api-reference/openapi/playgrounds/zlm-v2-iab-classify-edge-enriched.openapi.json POST /responses","href":"/api-reference/models/zlm-v2-iab-classify-edge-enriched"},{"title":"zlm-v1-iab-domain-classifier","sidebarTitle":"zlm-v1-iab-domain-classifier","openapi":"api-reference/openapi/playgrounds/zlm-v1-iab-domain-classifier.openapi.json POST /responses","href":"/api-reference/models/zlm-v1-iab-domain-classifier"},{"title":"zlm-v1-signal-extract","sidebarTitle":"zlm-v1-signal-extract","openapi":"api-reference/openapi/playgrounds/zlm-v1-signal-extract.openapi.json POST /responses","href":"/api-reference/models/zlm-v1-signal-extract"},{"title":"zlm-v1-moderation-edge","sidebarTitle":"zlm-v1-moderation-edge","openapi":"api-reference/openapi/playgrounds/zlm-v1-moderation-edge.openapi.json POST /moderations","href":"/api-reference/models/zlm-v1-moderation-edge"},{"title":"zlm-v1-tool-decisions","sidebarTitle":"zlm-v1-tool-decisions","openapi":"api-reference/openapi/playgrounds/zlm-v1-tool-decisions.openapi.json POST /responses","href":"/api-reference/models/zlm-v1-tool-decisions"},{"title":"all-minilm-l6-v2","sidebarTitle":"all-minilm-l6-v2","openapi":"api-reference/openapi/playgrounds/all-minilm-l6-v2.openapi.json POST /embeddings","href":"/api-reference/models/all-minilm-l6-v2"},{"title":"bge-small-en-v1.5","sidebarTitle":"bge-small-en-v1.5","openapi":"api-reference/openapi/playgrounds/bge-small-en-v1_5.openapi.json POST /embeddings","href":"/api-reference/models/bge-small-en-v1-5"},{"title":"whisper-tiny","sidebarTitle":"whisper-tiny","openapi":"api-reference/openapi/playgrounds/whisper-tiny.openapi.json POST /audio/transcriptions","href":"/api-reference/models/whisper-tiny"},{"title":"chatterbox-nano","sidebarTitle":"chatterbox-nano","openapi":"api-reference/openapi/playgrounds/chatterbox-nano.openapi.json POST /audio/speech","href":"/api-reference/models/chatterbox-nano"}]}]},{"group":"Audio Models","pages":[{"title":"Transcriptions","sidebarTitle":"Transcriptions","openapi":"api-reference/openapi/zerogpu.openapi.json POST /audio/transcriptions","href":"/api-reference/audio-transcriptions"},{"title":"Speech","sidebarTitle":"Speech","openapi":"api-reference/openapi/zerogpu.openapi.json POST /audio/speech","href":"/api-reference/audio-speech"}]},{"group":"ZeroClick","pages":[{"title":"Responses (ZeroClick)","sidebarTitle":"Responses","openapi":"api-reference/openapi/zeroclick.openapi.json POST /zeroclick/v1/responses","href":"/api-reference/zeroclick-responses"},{"title":"Chat completions (ZeroClick)","description":"OpenAI-style chat inference authenticated by a ZeroClick HMAC signature instead of an API key.","sidebarTitle":"Chat completions","openapi":"api-reference/openapi/zeroclick.openapi.json POST /zeroclick/v1/chat/completions","href":"/api-reference/zeroclick-chat-completions"},{"title":"Moderations (ZeroClick)","sidebarTitle":"Moderations","openapi":"api-reference/openapi/zeroclick.openapi.json POST /zeroclick/v1/moderations","href":"/api-reference/zeroclick-moderations"},{"title":"Embeddings (ZeroClick)","description":"OpenAI-style embeddings authenticated by a ZeroClick HMAC signature instead of an API key.","sidebarTitle":"Embeddings","openapi":"api-reference/openapi/zeroclick.openapi.json POST /zeroclick/v1/embeddings","href":"/api-reference/zeroclick-embeddings"},{"title":"Transcriptions (ZeroClick)","sidebarTitle":"Transcriptions","openapi":"api-reference/openapi/zeroclick.openapi.json POST /zeroclick/v1/audio/transcriptions","href":"/api-reference/zeroclick-audio-transcriptions"},{"title":"Translations (ZeroClick)","sidebarTitle":"Translations","openapi":"api-reference/openapi/zeroclick.openapi.json POST /zeroclick/v1/audio/translations","href":"/api-reference/zeroclick-audio-translations"},{"title":"Speech (ZeroClick)","sidebarTitle":"Speech","openapi":"api-reference/openapi/zeroclick.openapi.json POST /zeroclick/v1/audio/speech","href":"/api-reference/zeroclick-audio-speech"}]},{"group":"Batch API","pages":[{"title":"Upload file","openapi":"api-reference/openapi/batch.openapi.json POST /v1/files","href":"/api-reference/upload-file"},{"title":"List files","openapi":"api-reference/openapi/batch.openapi.json GET /v1/files","href":"/api-reference/list-files"},{"title":"Retrieve file","openapi":"api-reference/openapi/batch.openapi.json GET /v1/files/{file_id}","href":"/api-reference/retrieve-file"},{"title":"Download file","openapi":"api-reference/openapi/batch.openapi.json GET /v1/files/{file_id}/content","href":"/api-reference/download-file"},{"title":"Delete file","openapi":"api-reference/openapi/batch.openapi.json DELETE /v1/files/{file_id}","href":"/api-reference/delete-file"},{"title":"Create batch","openapi":"api-reference/openapi/batch.openapi.json POST /v1/batches","href":"/api-reference/create-batch"},{"title":"Retrieve batch","openapi":"api-reference/openapi/batch.openapi.json GET /v1/batches/{batch_id}","href":"/api-reference/retrieve-batch"},{"title":"List batches","openapi":"api-reference/openapi/batch.openapi.json GET /v1/batches","href":"/api-reference/list-batches"},{"title":"Cancel batch","openapi":"api-reference/openapi/batch.openapi.json POST /v1/batches/{batch_id}/cancel","href":"/api-reference/cancel-batch"}]}]},{"tab":"Cookbook","pages":[{"title":"Cookbook","href":"/cookbook"}]}]},"basePath":"","title":"Moderations (ZeroClick) - ZeroGPU","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}