curl --request POST \ --url https://api.herogpu.com/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.herogpu.com/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.herogpu.com/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.herogpu.com/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.herogpu.com/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 herogpu 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.herogpu.com/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.herogpu.com/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.herogpu.com/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.herogpu.com/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.herogpu.com/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 herogpu 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, herogpu’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.
Headers
zc-request-id
string
ZeroClick request id, echoed in logs for correlation. Set by ZeroClick when it proxies the request.
Example:
"zcreq_1"
zc-agent-id
string
Identifier of the buying agent. Used to partition logs/analytics by agent; becomes the synthesized caller identity.
Example:
"agt_1"
Body
application/json
input
stringstring[]object[]
required
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.
Minimum string length: 1
model
enum<string>
default:zlm-v1-moderation-edge
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.
id
string
Unique identifier for the moderation request.
Example:
"modr-0a1b2c3d4e5f60718293a4b5c6d7e8f90"
model
string
The model used for classification.
Example:
"zlm-v1-moderation-edge"
results
object[]
Moderation verdicts, one per input (a string input yields a single-element array).
Hide child attributes
results.flagged
boolean
True when the model flagged the input in one or more categories.
Example:
true
results.categories
object
Per-category boolean verdicts. All 13 categories are always present, in OpenAI's order.
Hide child attributes
results.categories.harassment
boolean
Content that expresses, incites, or promotes harassing language towards any target.
Example:
true
results.categories.harassment/threatening
boolean
Harassment that also includes violence or serious harm towards any target.
Example:
true
results.categories.hate
boolean
Content that expresses, incites, or promotes hate based on a protected attribute.
Example:
false
results.categories.hate/threatening
boolean
Hateful content that also includes violence or serious harm towards a protected group.
Example:
false
results.categories.illicit
boolean
Content that gives advice or instruction on how to commit a wrongdoing.
Example:
false
results.categories.illicit/violent
boolean
Illicit content that also references violence or procuring a weapon.
Example:
false
results.categories.self-harm
boolean
Content that promotes, encourages, or depicts acts of self-harm.
Example:
false
results.categories.self-harm/intent
boolean
Content where the speaker expresses that they are engaging or intend to engage in self-harm.
Example:
false
results.categories.self-harm/instructions
boolean
Content that provides instructions or advice on how to commit acts of self-harm.
Example:
false
results.categories.sexual
boolean
Content meant to arouse sexual excitement or that promotes sexual services.
Example:
false
results.categories.sexual/minors
boolean
Sexual content that includes an individual under 18 years old.
Example:
false
results.categories.violence
boolean
Content that depicts death, violence, or physical injury.
Example:
true
results.categories.violence/graphic
boolean
Content that depicts death, violence, or physical injury in graphic detail.
Example:
false
results.category_scores
object
Per-category confidence scores in [0, 1]. All 13 categories are always present, in OpenAI's order.
Hide child attributes
results.category_scores.harassment
number
Confidence score for harassment.
Example:
0.9412
results.category_scores.harassment/threatening
number
Confidence score for harassment/threatening.
Example:
0.9016
results.category_scores.hate
number
Confidence score for hate.
Example:
0.0231
results.category_scores.hate/threatening
number
Confidence score for hate/threatening.
Example:
0.0104
results.category_scores.illicit
number
Confidence score for illicit.
Example:
0.0057
results.category_scores.illicit/violent
number
Confidence score for illicit/violent.
Example:
0.0039
results.category_scores.self-harm
number
Confidence score for self-harm.
Example:
0.0021
results.category_scores.self-harm/intent
number
Confidence score for self-harm/intent.
Example:
0.0012
results.category_scores.self-harm/instructions
number
Confidence score for self-harm/instructions.
Example:
0.0008
results.category_scores.sexual
number
Confidence score for sexual.
Example:
0.0006
results.category_scores.sexual/minors
number
Confidence score for sexual/minors.
Example:
0.0002
results.category_scores.violence
number
Confidence score for violence.
Example:
0.8774
results.category_scores.violence/graphic
number
Confidence score for violence/graphic.
Example:
0.0311
results.category_applied_input_types
object
Which input modality triggered each category. This is a text-only model, so every category maps to ["text"].
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Herogpu","description":"Herogpu 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. Edge Providers connect Android, Chrome, Telegram, desktop and server devices to the network and earn from the inference they serve.","colors":{"primary":"#2743D8","light":"#B060C1","dark":"#E34B2A"},"logo":{"light":"https://mintcdn.com/zerogpu/ejZWNs9fu7NoZLmc/assets/herogpu-lockup-day.png?fit=max\u0026auto=format\u0026n=ejZWNs9fu7NoZLmc\u0026q=85\u0026s=170067dbf661331f237d4210d6224015","dark":"https://mintcdn.com/zerogpu/ejZWNs9fu7NoZLmc/assets/herogpu-lockup-night.png?fit=max\u0026auto=format\u0026n=ejZWNs9fu7NoZLmc\u0026q=85\u0026s=6fc016a9b581fb431344eee6db15cd60"},"favicon":"https://mintcdn.com/zerogpu/ejZWNs9fu7NoZLmc/assets/favicon.svg?fit=max\u0026auto=format\u0026n=ejZWNs9fu7NoZLmc\u0026q=85\u0026s=99182f0ec19939ac0edc9f50cb85496d","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.herogpu.com/v1"}},"appearance":{"default":"light","strict":false},"background":{"color":{"light":"#F6F1E7","dark":"#161412"}},"navbar":{"links":[{"icon":"globe","href":"https://herogpu.com","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.herogpu.com/"}},"footer":{"socials":{"website":"https://herogpu.com","github":"https://github.com/zerogpu"}},"fonts":{"heading":{"family":"Unbounded","weight":600},"body":{"family":"Bricolage Grotesque"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zerogpu","hasAudioNarration":false,"actualSubdomain":"zerogpu","customDomains":["docs.herogpu.com"],"gitSource":{"type":"github","owner":"zerogpu","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10cd2e9ffae5051c409c35"},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6b11947a0794eebaa44322e4","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"Builders","count":110},{"language":"default","tag":"Documentation","count":73},{"language":"default","tag":"API Reference","count":55},{"language":"default","tag":"Integrations","count":35},{"language":"default","tag":"By model","count":32},{"language":"default","tag":"Cookbook","count":18},{"language":"default","tag":"Monetize","count":18},{"language":"default","tag":"Integrations \u0026 plugins","count":14},{"language":"default","tag":"Batch API","count":9},{"language":"default","tag":"Models","count":8}]},"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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--hg-bg: #f6f1e7;--hg-raised: #fffdf8;--hg-text: #161412;--hg-muted: #6b655b;--hg-line: #d9cfbc;--hg-fill: #ebe4d6;--hg-link: #2743d8;--hg-vermilion: #e34b2a;--hg-ink: #161412}html.dark{--hg-bg: #161412;--hg-raised: #1f1c19;--hg-text: #f6f1e7;--hg-muted: #b3a89a;--hg-line: #2b2824;--hg-fill: #2b2824;--hg-link: #bd7acb}@font-face{font-family:\"JetBrains Mono\";src:url(\"/assets/fonts/jetbrains-mono-latin-wght-normal.woff2\") format(\"woff2\");font-weight:100 800;font-display:swap}code,kbd,pre,pre *,.font-mono{font-family:\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace!important}[class*=\"shadow\"]{--tw-shadow: 0 0 #0000 !important;--tw-shadow-colored: 0 0 #0000 !important}#topbar-cta-button a span.absolute{background-color:var(--hg-vermilion)!important}#topbar-cta-button a,#topbar-cta-button a *{color:var(--hg-ink)!important}.nav-dropdown-products-selector-trigger{height:2.5rem!important;padding:0.5rem 0.875rem!important;gap:0.625rem!important;font-size:1rem!important;font-weight:600!important;color:var(--hg-text)!important;background-color:var(--hg-raised)!important;border:1px solid var(--hg-line)!important;border-radius:0.75rem!important}.nav-dropdown-products-selector-trigger:hover,.nav-dropdown-products-selector-trigger[aria-expanded=\"true\"]{background-color:var(--hg-fill)!important;border-color:var(--hg-text)!important}.nav-dropdown-products-selector-trigger>svg:first-child{width:1.125rem!important;height:1.125rem!important;background-color:var(--hg-vermilion)!important}.nav-dropdown-products-selector-trigger>svg:last-child{width:0.875rem!important;height:0.875rem!important;color:var(--hg-muted)!important}#zg-audience-switch{display:inline-flex;align-self:center;flex-shrink:0;padding:0.1875rem;gap:0.1875rem;border:1px solid var(--hg-line);border-radius:9999px;background-color:var(--hg-raised)}#zg-audience-switch button{padding:0.25rem 0.95rem;border-radius:9999px;font-size:0.875rem;font-weight:600;line-height:1.25rem;color:var(--hg-muted);background:transparent;cursor:pointer}#zg-audience-switch button:hover{color:var(--hg-text)}#zg-audience-switch button.is-active{color:var(--hg-ink);background-color:var(--hg-vermilion)}html[data-zg-audience=\"agent\"] #content-area>:not(#zg-agent-view){display:none!important}html[data-zg-audience=\"agent\"] #table-of-contents-layout,html[data-zg-audience=\"agent\"] #content-side-layout{display:none!important}#zg-agent-view{margin:0.5rem 0 3.5rem;font-family:\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace;font-size:0.8125rem;line-height:1.65;color:var(--hg-text)}#zg-agent-view pre{margin:0;white-space:pre-wrap;word-break:break-word;font:inherit;color:inherit;background:none;border:0;padding:0}.zg-agent-bar{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem 0.875rem;padding:0.625rem 0.875rem;border:1px solid var(--hg-line);border-radius:0.625rem;background-color:var(--hg-raised)}.zg-agent-badge{font-weight:700;letter-spacing:0.08em;color:var(--hg-text)}.zg-agent-source{color:var(--hg-text)}.zg-agent-actions{display:flex;flex-wrap:wrap;align-items:center;gap:0.375rem 0.875rem;margin-left:auto}.zg-agent-btn{padding:0.2rem 0.625rem;font:inherit;font-weight:600;color:var(--hg-ink);background-color:var(--hg-vermilion);border-radius:0.375rem;cursor:pointer}.zg-agent-btn:hover{background-color:var(--hg-vermilion);text-decoration:underline}.zg-agent-actions a{color:var(--hg-link);text-decoration:none}.zg-agent-actions a:hover{text-decoration:underline}#zg-agent-view .zg-agent-facts{margin-top:1rem;padding:0.75rem 0.875rem;color:var(--hg-muted);border-left:2px solid var(--hg-vermilion);background-color:var(--hg-raised)}.zg-agent-prompt{margin-top:0.75rem;padding:0.5rem 0.875rem;border:1px dashed var(--hg-line);border-radius:0.5rem}.zg-agent-prompt summary{cursor:pointer;color:var(--hg-link)}#zg-agent-view .zg-agent-prompt pre{margin-top:0.625rem}#zg-agent-view .zg-agent-markdown{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--hg-line)}#zg-audience-switch{margin:0 1.5rem 0 0.75rem}html[data-zg-audience=\"agent\"] #sidebar,html[data-zg-audience=\"agent\"] .nav-tabs,html[data-zg-audience=\"agent\"] #zg-audience-switch{font-family:\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace}html[data-zg-audience=\"agent\"] #sidebar{font-size:0.8125rem}html[data-zg-audience=\"agent\"] .sidebar-title{color:var(--hg-text);text-transform:lowercase}html[data-zg-audience=\"agent\"] .sidebar-title::before{content:\"## \";color:var(--hg-muted)}html[data-zg-audience=\"agent\"] #sidebar li a{color:var(--hg-muted)}html[data-zg-audience=\"agent\"] #sidebar li a:hover{color:var(--hg-text)}html[data-zg-audience=\"agent\"] #navbar-transition{border-bottom-color:var(--hg-line)!important}html[data-zg-audience=\"agent\"] .nav-tabs-item{color:var(--hg-muted)}#page-title,#content h1,#content h2,#content h3,#content h4{font-weight:600!important}#header .text-lg.prose{font-size:1rem!important;line-height:1.625rem!important}#navigation-items>div+div{margin-top:1.25rem!important;padding-top:1.25rem;border-top:1px solid var(--hg-line)}#content,#content .prose,#header .prose{--tw-prose-body: var(--hg-text);--tw-prose-invert-body: var(--hg-text);--tw-prose-bold: var(--hg-text);--tw-prose-invert-bold: var(--hg-text)}#page-title,#content-area h1,#content-area h2,#content-area h3,#content-area h4{color:var(--hg-text)!important}#content-area a.link{color:var(--hg-link)!important;border-color:currentColor!important}"}]}
{"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`}),`, herogpu’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":["/_mintlify/custom/zerogpu/ad9e8b32fd2d54fd/agent-mode.js"],"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":["20fc0d1b-65f6-461d-8a42-ad34ffb1655c"],"parameters":["73786d23-7c0c-42fe-b893-22961dee1136","dab2c375-3125-4b28-ba69-06c2b42c527d"],"requestBody":"d8bee49c-fdd8-429c-947c-9321123ceecd","responses":{"200":"a6497496-48e3-45bf-9a81-eb0d71df8299","400":"10c9df9e-50d2-413d-81d2-181366845343","401":"0f0ed5b1-3b79-4b4d-b724-20f7dc3dfdd7","402":"073c21ac-886a-4f57-9265-2749cf8a7a8e","429":"07290d6d-3c49-433d-af64-27e38f153c40","500":"98581375-5662-4e56-bec5-152842ac8b7b"},"method":"post","type":"path","servers":["a6e6167d-aa63-4199-a1e7-00c1e6fb8e97"],"path":"/zeroclick/v1/moderations","baseUrlOptions":["https://api.herogpu.com"],"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":{"73786d23-7c0c-42fe-b893-22961dee1136":{"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"}},"dab2c375-3125-4b28-ba69-06c2b42c527d":{"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":{"a6497496-48e3-45bf-9a81-eb0d71df8299":{"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"},"10c9df9e-50d2-413d-81d2-181366845343":{"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 herogpu 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 herogpu 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"},"0f0ed5b1-3b79-4b4d-b724-20f7dc3dfdd7":{"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"},"073c21ac-886a-4f57-9265-2749cf8a7a8e":{"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"},"07290d6d-3c49-433d-af64-27e38f153c40":{"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"},"98581375-5662-4e56-bec5-152842ac8b7b":{"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":{"20fc0d1b-65f6-461d-8a42-ad34ffb1655c":{"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":{"a6e6167d-aa63-4199-a1e7-00c1e6fb8e97":{"url":"https://api.herogpu.com","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":"Herogpu","title":"Moderations (ZeroClick) - Herogpu","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-03T15:39:14.299Z","originalFileLocation":"api-reference/zeroclick-moderations.mdx"},"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=\"light\"}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=\"Herogpu\">\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/L9lR4HpcF6nSSn7h/_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/L9lR4HpcF6nSSn7h/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zerogpu/L9lR4HpcF6nSSn7h/_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/L9lR4HpcF6nSSn7h/_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/L9lR4HpcF6nSSn7h/_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/L9lR4HpcF6nSSn7h/_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/L9lR4HpcF6nSSn7h/_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/L9lR4HpcF6nSSn7h/_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/L9lR4HpcF6nSSn7h/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Moderations (ZeroClick) - Herogpu\">\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=\"Herogpu\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.herogpu.com/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=ccc730aa6f8132d6ea0f010a\u0026amp;signature=9e1c36b3ad8639925bcd77a04cfd474c70200c10ca97a156add2bdf1dbdbc472\">\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) - Herogpu\">\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=ccc730aa6f8132d6ea0f010a\u0026amp;signature=9e1c36b3ad8639925bcd77a04cfd474c70200c10ca97a156add2bdf1dbdbc472\">\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/L9lR4HpcF6nSSn7h/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Herogpu\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2743D8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.herogpu.com/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.herogpu.com/#organization\",\"name\":\"Herogpu\",\"url\":\"https://docs.herogpu.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zerogpu/ejZWNs9fu7NoZLmc/assets/herogpu-lockup-day.png?fit=max\u0026auto=format\u0026n=ejZWNs9fu7NoZLmc\u0026q=85\u0026s=170067dbf661331f237d4210d6224015\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.herogpu.com#website\",\"name\":\"Herogpu\",\"url\":\"https://docs.herogpu.com\",\"publisher\":{\"@id\":\"https://docs.herogpu.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.herogpu.com/api-reference/zeroclick-moderations#webpage\",\"url\":\"https://docs.herogpu.com/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-12-03T15:39:14.299Z\",\"isPartOf\":{\"@id\":\"https://docs.herogpu.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.herogpu.com/api-reference/zeroclick-moderations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.herogpu.com/api-reference/zeroclick-moderations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.herogpu.com/api-reference/responses\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ZeroClick\",\"item\":\"https://docs.herogpu.com/api-reference/zeroclick-responses\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Moderations (ZeroClick)\",\"item\":\"https://docs.herogpu.com/api-reference/zeroclick-moderations\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.herogpu.com/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.herogpu.com/api-reference/zeroclick-moderations\",\"mainEntityOfPage\":{\"@id\":\"https://docs.herogpu.com/api-reference/zeroclick-moderations#webpage\"},\"dateModified\":\"2026-12-03T15:39:14.299Z\",\"publisher\":{\"@id\":\"https://docs.herogpu.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.herogpu.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Herogpu\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Herogpu\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/zeroclick-moderations.md","siteName":"Herogpu","nav":{"global":null,"products":[{"product":"Builders","icon":"code","description":"Inference API, models, SDKs and integrations","tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":""},{"title":"How it works","href":"/docs/how-zerogpu-works"},{"title":"Quickstart","href":"/docs/quickstart"}]},{"group":"Models","pages":[{"title":"Model Catalog","href":"/docs/model-catalog"},{"title":"Open Weight","href":"/docs/open-weight"},{"group":"By Task","expanded":false,"pages":[{"title":"Text Generation","href":"/docs/text-generation"},{"title":"Audio Models","href":"/docs/audio"},{"title":"Text Classification","href":"/docs/text-classification"},{"title":"Moderation","href":"/docs/moderation"},{"title":"Embeddings","href":"/docs/embeddings"},{"title":"Ad Tech","href":"/docs/ad-tech"}]}]},{"group":"API Reference","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":"gpt-oss-20b","sidebarTitle":"gpt-oss-20b","openapi":"api-reference/openapi/playgrounds/gpt-oss-20b.openapi.json POST /chat/completions","href":"/api-reference/models/gpt-oss-20b"},{"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":"d1.1","sidebarTitle":"d1.1","openapi":"api-reference/openapi/playgrounds/d1_1.openapi.json POST /systemone","href":"/api-reference/models/d1-1"},{"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"},{"title":"chatterbox","sidebarTitle":"chatterbox","openapi":"api-reference/openapi/playgrounds/chatterbox.openapi.json POST /audio/speech","href":"/api-reference/models/chatterbox"}]},{"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"}]}]},{"group":"Guides","pages":[{"group":"Batch \u0026 Files API","pages":[{"title":"Overview","href":"/docs/batch/index"},{"title":"Quickstart","href":"/docs/batch/getting-started"},{"title":"Objects \u0026 lifecycle","href":"/docs/batch/objects"},{"title":"JSONL Format","href":"/docs/batch/jsonl-format"},{"title":"Supported Endpoints","href":"/docs/batch/supported-endpoints"},{"title":"Errors","href":"/docs/batch/errors"}]},{"title":"Production patterns","href":"/docs/production-patterns"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"Cookbook","pages":[{"title":"Cookbook","href":"/cookbook"}]}]},{"product":"Monetize","icon":"microchip","description":"Earn from idle device compute","pages":[{"title":"Monetize","href":"/edge"}]}]},"basePath":"","title":"Moderations (ZeroClick) - Herogpu","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5zXlUUV6.js","snippetPresets-D3m2eL-0.js","utils-u8TSWPiZ.js","style-to-object-BY3JEAdk.js","utils-D3TDKJCH.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Om0Y4Ijd.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Cyl7LOol.js","_Uint8Array-BuOv0f5_.js","isObject-FP1Yky1u.js","ApiExamples-BnqLE2Kf.js","usePlaygroundInputsStore-DhQKVH9n.js","shallow-BOCfJNQU.js","isEqual-BrbSa25D.js","CodeSnippets-DUGBlB-S.js","CodeSnippet-CuGpPhIN.js","use-playground-group-access-DYZiRN3l.js","Page-DdEXfHxg.js","api-description-markdown-DDasI_tu.js","DynamicMarkdown-DoPsKgYC.js","SectionHeading-CKObOTcn.js","MethodPill-D_DqPuJw.js","getPastedJson-DWfa7n0M.js","Check2Icon-CEquKboc.js","axios-CsQoIw0U.js","Markdown-CIbHOmUi.js","AssistantPageLink-C0oSAXp0.js","dist-Bp7AI3M8.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}