AIHubMix · Schema
CreateModerationResponse
Represents if a given text input is potentially harmful.
CompanyArtificial IntelligenceLLMModel RoutingAI GatewayGenerative AIMCP
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The unique identifier for the moderation request. |
| model | string | The model used to generate the moderation results. |
| results | array | A list of moderation objects. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/aihubmix/main/json-schema/aihubmix-create-moderation-response-schema.json",
"title": "CreateModerationResponse",
"description": "Represents if a given text input is potentially harmful.",
"x-generated": "2026-10-13",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": {
"from": "avs://openai/official",
"authority": "official"
},
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier for the moderation request."
},
"model": {
"type": "string",
"description": "The model used to generate the moderation results."
},
"results": {
"type": "array",
"description": "A list of moderation objects.",
"items": {
"type": "object",
"properties": {
"flagged": {
"type": "boolean",
"description": "Whether any of the below categories are flagged."
},
"categories": {
"type": "object",
"description": "A list of the categories, and whether they are flagged or not.",
"properties": {
"hate": {
"type": "boolean",
"description": "Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. Hateful content aimed at non-protected groups (e.g., chess players) is harassment."
},
"hate/threatening": {
"type": "boolean",
"description": "Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste."
},
"harassment": {
"type": "boolean",
"description": "Content that expresses, incites, or promotes harassing language towards any target."
},
"harassment/threatening": {
"type": "boolean",
"description": "Harassment content that also includes violence or serious harm towards any target."
},
"illicit": {
"anyOf": [
{
"type": "boolean",
"description": "Content that includes instructions or advice that facilitate the planning or execution of wrongdoing, or that gives advice or instruction on how to commit illicit acts. For example, \"how to shoplift\" would fit this category."
},
{
"type": "null"
}
]
},
"illicit/violent": {
"anyOf": [
{
"type": "boolean",
"description": "Content that includes instructions or advice that facilitate the planning or execution of wrongdoing that also includes violence, or that gives advice or instruction on the procurement of any weapon."
},
{
"type": "null"
}
]
},
"self-harm": {
"type": "boolean",
"description": "Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders."
},
"self-harm/intent": {
"type": "boolean",
"description": "Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders."
},
"self-harm/instructions": {
"type": "boolean",
"description": "Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts."
},
"sexual": {
"type": "boolean",
"description": "Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness)."
},
"sexual/minors": {
"type": "boolean",
"description": "Sexual content that includes an individual who is under 18 years old."
},
"violence": {
"type": "boolean",
"description": "Content that depicts death, violence, or physical injury."
},
"violence/graphic": {
"type": "boolean",
"description": "Content that depicts death, violence, or physical injury in graphic detail."
}
},
"required": [
"hate",
"hate/threatening",
"harassment",
"harassment/threatening",
"illicit",
"illicit/violent",
"self-harm",
"self-harm/intent",
"self-harm/instructions",
"sexual",
"sexual/minors",
"violence",
"violence/graphic"
]
},
"category_scores": {
"type": "object",
"description": "A list of the categories along with their scores as predicted by model.",
"properties": {
"hate": {
"type": "number",
"description": "The score for the category 'hate'."
},
"hate/threatening": {
"type": "number",
"description": "The score for the category 'hate/threatening'."
},
"harassment": {
"type": "number",
"description": "The score for the category 'harassment'."
},
"harassment/threatening": {
"type": "number",
"description": "The score for the category 'harassment/threatening'."
},
"illicit": {
"type": "number",
"description": "The score for the category 'illicit'."
},
"illicit/violent": {
"type": "number",
"description": "The score for the category 'illicit/violent'."
},
"self-harm": {
"type": "number",
"description": "The score for the category 'self-harm'."
},
"self-harm/intent": {
"type": "number",
"description": "The score for the category 'self-harm/intent'."
},
"self-harm/instructions": {
"type": "number",
"description": "The score for the category 'self-harm/instructions'."
},
"sexual": {
"type": "number",
"description": "The score for the category 'sexual'."
},
"sexual/minors": {
"type": "number",
"description": "The score for the category 'sexual/minors'."
},
"violence": {
"type": "number",
"description": "The score for the category 'violence'."
},
"violence/graphic": {
"type": "number",
"description": "The score for the category 'violence/graphic'."
}
},
"required": [
"hate",
"hate/threatening",
"harassment",
"harassment/threatening",
"illicit",
"illicit/violent",
"self-harm",
"self-harm/intent",
"self-harm/instructions",
"sexual",
"sexual/minors",
"violence",
"violence/graphic"
]
},
"category_applied_input_types": {
"type": "object",
"description": "A list of the categories along with the input type(s) that the score applies to.",
"properties": {
"hate": {
"type": "array",
"description": "The applied input type(s) for the category 'hate'.",
"items": {
"type": "string",
"enum": [
"text"
]
}
},
"hate/threatening": {
"type": "array",
"description": "The applied input type(s) for the category 'hate/threatening'.",
"items": {
"type": "string",
"enum": [
"text"
]
}
},
"harassment": {
"type": "array",
"description": "The applied input type(s) for the category 'harassment'.",
"items": {
"type": "string",
"enum": [
"text"
]
}
},
"harassment/threatening": {
"type": "array",
"description": "The applied input type(s) for the category 'harassment/threatening'.",
"items": {
"type": "string",
"enum": [
"text"
]
}
},
"illicit": {
"type": "array",
"description": "The applied input type(s) for the category 'illicit'.",
"items": {
"type": "string",
"enum": [
"text"
]
}
},
"illicit/violent": {
"type": "array",
"description": "The applied input type(s) for the category 'illicit/violent'.",
"items": {
"type": "string",
"enum": [
"text"
]
}
},
"self-harm": {
"type": "array",
"description": "The applied input type(s) for the category 'self-harm'.",
"items": {
"type": "string",
"enum": [
"text",
"image"
]
}
},
"self-harm/intent": {
"type": "array",
"description": "The applied input type(s) for the category 'self-harm/intent'.",
"items": {
"type": "string",
"enum": [
"text",
"image"
]
}
},
"self-harm/instructions": {
"type": "array",
"description": "The applied input type(s) for the category 'self-harm/instructions'.",
"items": {
"type": "string",
"enum": [
"text",
"image"
]
}
},
"sexual": {
"type": "array",
"description": "The applied input type(s) for the category 'sexual'.",
"items": {
"type": "string",
"enum": [
"text",
"image"
]
}
},
"sexual/minors": {
"type": "array",
"description": "The applied input type(s) for the category 'sexual/minors'.",
"items": {
"type": "string",
"enum": [
"text"
]
}
},
"violence": {
"type": "array",
"description": "The applied input type(s) for the category 'violence'.",
"items": {
"type": "string",
"enum": [
"text",
"image"
]
}
},
"violence/graphic": {
"type": "array",
"description": "The applied input type(s) for the category 'violence/graphic'.",
"items": {
"type": "string",
"enum": [
"text",
"image"
]
}
}
},
"required": [
"hate",
"hate/threatening",
"harassment",
"harassment/threatening",
"illicit",
"illicit/violent",
"self-harm",
"self-harm/intent",
"self-harm/instructions",
"sexual",
"sexual/minors",
"violence",
"violence/graphic"
]
}
},
"required": [
"flagged",
"categories",
"category_scores",
"category_applied_input_types"
]
}
}
},
"required": [
"id",
"model",
"results"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aihubmix-create-moderation-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.