GET

/v1/schemas/mistral/moderation/v1/chat/moderations

kind inputactivity moderationhash a644f8e9…extracted Nov 26, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
acf0efcbee4617601df77fc40185516ed6aae4369ce090034099317d5866b2db
{
  "fetchedAt": 1795671041,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

2 properties · 2 required · 22 $defs
propertytypedescriptionconstraints
input*SystemMessage | UserMessage | AssistantMessage[] | SystemMessage | UserMessage | AssistantMessage[][]Chat to classify.
model*string

Types

22 $defs

AssistantMessageobject

roleconst"assistant" · default: "assistant"
contentstring | ContentChunk[]nullable
tool_callsToolCall[]nullable
prefixbooleanSet this to `true` when adding an assistant message as prefix to condition the model response. The role of the prefix message is to force the model to start its answer by the content of the message.default: false

AudioChunkobject

typeconst"input_audio" · default: "input_audio"
input_audio*string | string

BuiltInConnectorsenum

web_search | web_search_premium | code_interpreter | image_generation | document_library | mistral_mcp

ContentChunkTextChunk | ImageURLChunk | DocumentURLChunk | …

DocumentURLChunkobject

typeconst"document_url" · default: "document_url"
document_url*string
document_namestringThe filename of the documentnullable

FileChunkobject

typeconst"file" · default: "file"
file_id*stringformat: uuid

FunctionCallobject

name*string
arguments*object | string

ImageDetailenum

low | auto | high

ImageURLobject

url*string
detailenumlow | auto | high · nullable

ImageURLChunkobject

{"type":"image_url","image_url":"data:image/png;base64,iVBORw0"}

typeconst"image_url" · default: "image_url"
image_url*ImageURL | string

ReferenceChunkobject

typeconst"reference" · default: "reference"
reference_ids*integer | string[]

ResourceChunkobject

typeconst"resource" · default: "resource"
uri*string
content*TextChunk | ImageURLChunk

ResourceLinkChunkobject

typeconst"resource_link" · default: "resource_link"
uri*string
metadataobjectnullable

SystemMessageobject

roleconst"system" · default: "system"
content*string | SystemMessageContentChunks[]

SystemMessageContentChunksTextChunk | ThinkChunk

TextChunkobject

typeconst"text" · default: "text"
text*string

ThinkChunkobject

typeconst"thinking" · default: "thinking"
thinking*TextChunk | ToolReferenceChunk | ReferenceChunk[]
signaturestringSignature to replay some reasoning blocks across turns.nullable
closedbooleanWhether the thinking chunk is closed or not. Currently only used for prefixing.default: true

ToolCallobject

typeenumfunction
function*FunctionCall
indexintegerdefault: 0
idstring

ToolMessageobject

roleconst"tool" · default: "tool"
content*string | ContentChunk[]nullable
tool_call_idstringnullable
namestringnullable

ToolReferenceChunkobject

typeconst"tool_reference" · default: "tool_reference"
tool*enum | string
title*string
urlstringnullable
faviconstringnullable
descriptionstringnullable

ToolTypesenum

function

UserMessageobject

roleconst"user" · default: "user"
content*string | ContentChunk[]nullable

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"mistral","endpointId":"v1/chat/moderations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}