Potentially breaking
Response body wrapped in one of original preserved
openapi:POST /moderations::response.default.body- Product
- OpenAI API
- Source
- OpenAPI URL
- Change kind
- Response Body Wrapped In One Of Original Preserved
- Detected
- Last updated
Deterministic evidence
Before / after
Extracted from OpenAI's published contract. Shows the whole operation — a narrower excerpt was not available for this change. Open the source ↗
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"properties": {
"oneOf": [
"id": {
{
"type": "string"
"properties": {
},
"id": {
"model": {
"type": "string"
"type": "string"
},
},
"model": {
"results": {
"type": "string"
"items": {
},
"properties": {
"results": {
"categories": {
"items": {
"properties": {
"properties": {
"harassment": {
"categories": {
"type": "boolean"
"properties": {
},
"harassment": {
"harassment/threatening": {
"type": "boolean"
},
"hate": {
"type": "boolean"
},
"hate/threatening": {
"type": "boolean"
},
"illicit": {
"anyOf": [
{
"type": "boolean"
"type": "boolean"
},
},
{
"harassment/threatening": {
"type": "null"
"type": "boolean"
},
"hate": {
"type": "boolean"
},
"hate/threatening": {
"type": "boolean"
},
"illicit": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"illicit/violent": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"self-harm": {
"type": "boolean"
},
"self-harm/instructions": {
"type": "boolean"
},
"self-harm/intent": {
"type": "boolean"
},
"sexual": {
"type": "boolean"
},
"sexual/minors": {
"type": "boolean"
},
"violence": {
"type": "boolean"
},
"violence/graphic": {
"type": "boolean"
}
}
]
},
"required": [
"hate",
"hate/threatening",
"harassment",
"harassment/threatening",
"illicit",
"illicit/violent",
"self-harm",
"self-harm/intent",
"self-harm/instructions",
"sexual",
"sexual/minors",
"violence",
"violence/graphic"
],
"type": "object"
},
},
"illicit/violent": {
"category_applied_input_types": {
"anyOf": [
"properties": {
{
"harassment": {
"type": "boolean"
"items": {
"const": "text",
"type": "string"
},
"type": "array"
},
},
{
"harassment/threatening": {
"type": "null"
"items": {
"const": "text",
"type": "string"
},
"type": "array"
},
"hate": {
"items": {
"const": "text",
"type": "string"
},
"type": "array"
},
"hate/threatening": {
"items": {
"const": "text",
"type": "string"
},
"type": "array"
},
"illicit": {
"items": {
"const": "text",
"type": "string"
},
"type": "array"
},
"illicit/violent": {
"items": {
"const": "text",
"type": "string"
},
"type": "array"
},
"self-harm": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
},
"self-harm/instructions": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
},
"self-harm/intent": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
},
"sexual": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
},
"sexual/minors": {
"items": {
"const": "text",
"type": "string"
},
"type": "array"
},
"violence": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
},
"violence/graphic": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
}
}
]
},
"required": [
"hate",
"hate/threatening",
"harassment",
"harassment/threatening",
"illicit",
"illicit/violent",
"self-harm",
"self-harm/intent",
"self-harm/instructions",
"sexual",
"sexual/minors",
"violence",
"violence/graphic"
],
"type": "object"
},
},
"self-harm": {
"category_scores": {
"type": "boolean"
"properties": {
"harassment": {
"type": "number"
},
"harassment/threatening": {
"type": "number"
},
"hate": {
"type": "number"
},
"hate/threatening": {
"type": "number"
},
"illicit": {
"type": "number"
},
"illicit/violent": {
"type": "number"
},
"self-harm": {
"type": "number"
},
"self-harm/instructions": {
"type": "number"
},
"self-harm/intent": {
"type": "number"
},
"sexual": {
"type": "number"
},
"sexual/minors": {
"type": "number"
},
"violence": {
"type": "number"
},
"violence/graphic": {
"type": "number"
}
},
"required": [
"hate",
"hate/threatening",
"harassment",
"harassment/threatening",
"illicit",
"illicit/violent",
"self-harm",
"self-harm/intent",
"self-harm/instructions",
"sexual",
"sexual/minors",
"violence",
"violence/graphic"
],
"type": "object"
},
},
"self-harm/instructions": {
"flagged": {
"type": "boolean"
"type": "boolean"
},
"self-harm/intent": {
"type": "boolean"
},
"sexual": {
"type": "boolean"
},
"sexual/minors": {
"type": "boolean"
},
"violence": {
"type": "boolean"
},
"violence/graphic": {
"type": "boolean"
}
}
},
},
"required": [
"required": [
"hate",
"flagged",
"hate/threatening",
"categories",
"harassment",
"category_scores",
"harassment/threatening",
"category_applied_input_types"
"illicit",
"illicit/violent",
"self-harm",
"self-harm/intent",
"self-harm/instructions",
"sexual",
"sexual/minors",
"violence",
"violence/graphic"
],
],
"type": "object"
"type": "object"
},
},
"category_applied_input_types": {
"type": "array"
}
},
"required": [
"id",
"model",
"results"
],
"type": "object",
"x-oaiMeta": {
"name": "The moderation object"
}
},
{
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"model": {
"const": "omni-moderation-csam-latest",
"title": "Model",
"type": "string"
},
"results": {
"items": {
"properties": {
"properties": {
"harassment": {
"categories": {
"items": {
"additionalProperties": false,
"const": "text",
"properties": {
"type": "string"
"likely-csam": {
"title": "Likely-Csam",
"type": "boolean"
},
"likely-csam/gen-ai": {
"title": "Likely-Csam/Gen-Ai",
"type": "boolean"
}
},
},
"type": "array"
"required": [
"likely-csam",
"likely-csam/gen-ai"
],
"title": "CSAMCategoryFlags",
"type": "object"
},
},
"harassment/threatening": {
"category_applied_input_types": {
"items": {
"additionalProperties": false,
"const": "text",
"properties": {
"type": "string"
"likely-csam": {
"items": {
"const": "image",
"type": "string"
},
"maxItems": 1,
"minItems": 1,
"title": "Likely-Csam",
"type": "array"
},
"likely-csam/gen-ai": {
"items": {
"const": "image",
"type": "string"
},
"maxItems": 1,
"minItems": 1,
"title": "Likely-Csam/Gen-Ai",
"type": "array"
}
},
},
"type": "array"
"required": [
"likely-csam",
"likely-csam/gen-ai"
],
"title": "CSAMCategoryAppliedInputTypes",
"type": "object"
},
},
"hate": {
"category_scores": {
"items": {
"additionalProperties": false,
"const": "text",
"properties": {
"type": "string"
"likely-csam": {
"title": "Likely-Csam",
"type": "number"
},
"likely-csam/gen-ai": {
"title": "Likely-Csam/Gen-Ai",
"type": "number"
}
},
},
"type": "array"
"required": [
"likely-csam",
"likely-csam/gen-ai"
],
"title": "CSAMCategoryScores",
"type": "object"
},
},
"hate/threatening": {
"flagged": {
"items": {
"title": "Flagged",
"const": "text",
"type": "boolean"
"type": "string"
},
"type": "array"
},
"illicit": {
"items": {
"const": "text",
"type": "string"
},
"type": "array"
},
"illicit/violent": {
"items": {
"const": "text",
"type": "string"
},
"type": "array"
},
"self-harm": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
},
"self-harm/instructions": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
},
"self-harm/intent": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
},
"sexual": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
},
"sexual/minors": {
"items": {
"const": "text",
"type": "string"
},
"type": "array"
},
"violence": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
},
"violence/graphic": {
"items": {
"enum": [
"text",
"image"
],
"type": "string"
},
"type": "array"
}
}
},
},
"required": [
"required": [
"hate",
"flagged",
"hate/threatening",
"categories",
"harassment",
"category_scores",
"harassment/threatening",
"category_applied_input_types"
"illicit",
"illicit/violent",
"self-harm",
"self-harm/intent",
"self-harm/instructions",
"sexual",
"sexual/minors",
"violence",
"violence/graphic"
],
],
"title": "CSAMModerationResult",
"type": "object"
"type": "object"
},
},
"category_scores": {
"maxItems": 1,
"properties": {
"minItems": 1,
"harassment": {
"title": "Results",
"type": "number"
"type": "array"
},
}
"harassment/threatening": {
"type": "number"
},
"hate": {
"type": "number"
},
"hate/threatening": {
"type": "number"
},
"illicit": {
"type": "number"
},
"illicit/violent": {
"type": "number"
},
"self-harm": {
"type": "number"
},
"self-harm/instructions": {
"type": "number"
},
"self-harm/intent": {
"type": "number"
},
"sexual": {
"type": "number"
},
"sexual/minors": {
"type": "number"
},
"violence": {
"type": "number"
},
"violence/graphic": {
"type": "number"
}
},
"required": [
"hate",
"hate/threatening",
"harassment",
"harassment/threatening",
"illicit",
"illicit/violent",
"self-harm",
"self-harm/intent",
"self-harm/instructions",
"sexual",
"sexual/minors",
"violence",
"violence/graphic"
],
"type": "object"
},
"flagged": {
"type": "boolean"
}
},
"required": [
"flagged",
"categories",
"category_scores",
"category_applied_input_types"
],
"type": "object"
},
},
"type": "array"
"required": [
"id",
"model",
"results"
],
"title": "CreateCSAMModerationResponse",
"type": "object"
}
}
},
]
"required": [
"id",
"model",
"results"
],
"type": "object",
"x-oaiMeta": {
"name": "The moderation object"
}
}
}
}
}
}
}
Monitored for you
Does this change affect your integration?
Choose the operations and fields your services use. detektu matches OpenAI findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.