GET

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

kind inputactivity moderationhash 51b6d29d…extracted Oct 13, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
6c349f3bdef67bbbe43b49973f15825c92e7fcc1ff4fadbcc2d87564ef277a03
{
  "fetchedAt": 1791869458,
  "extractorVersion": "1",
  "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

idstringdefault: "null"
typeenumfunction
function*FunctionCall
indexintegerdefault: 0

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", …}]}