GET

/v1/schemas/meta/chat/v1/messages

kind inputactivity chathash 57cfddf4…extracted Nov 9, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

docs-derived

Source trace
8c415446cb01a31230c16a00fc7b79e7928c112fe28defd8f89862e13b9fefd1
{
  "fetchedAt": 1794201665,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

14 properties · 3 required · 45 $defs
propertytypedescriptionconstraints
model*string(minLength: 1)length ≥ 1
messages*anthropic-input-message[](minItems: 1)items ≥ 1
max_tokens*integer(minimum: 1)n ≥ 1
systemstring | anthropic-system-text-block-param[]
toolsanthropic-tool[]
tool_choiceanthropic-tool-choice
metadataanthropic-metadata-param
temperaturenumber(minimum: 0, maximum: 1)nullable
top_pnumber(minimum: 0, maximum: 1)nullable
thinkingobject | object | object
service_tierenumauto | standard_only
cache_controlanthropic-cache-control-ephemeral-param
output_configanthropic-output-config
streamboolean(default: false)default: false

Types

45 $defs

anthropic-base64-source-paramobject

typeenumbase64
media_type*stringMIME type of the data, such as image/png or application/pdf.
data*stringBase64-encoded bytes.

anthropic-cache-control-ephemeral-paramobject

type*enumephemeral
ttlenum5m

anthropic-citations-config-paramobject

enabledenumfalse

anthropic-content-block-paramobject | object | object | …

anthropic-content-source-block-paramobject | object

anthropic-content-source-other-block-paramobject

type*stringAny block type except text.

anthropic-content-source-paramobject

typeenumcontent
content*string | anthropic-content-source-block-param[]A string, or an array of content blocks. Non-text blocks are passed as their JSON text.

anthropic-content-source-text-block-paramobject

type*enumtext
text*string

anthropic-custom-tool-paramobject

typeenumcustom
name*string
descriptionstringnullable
input_schemaobjectJSON Schema for the tool's input.nullable
parametersanyParameter schema, read only for the client tool search tool named ToolSearch.
strictbooleannullable
defer_loadingbooleannullable
cache_controlanthropic-cache-control-ephemeral-param

anthropic-direct-caller-paramobject

type*enumdirect

anthropic-document-block-paramobject

typeenumdocument
source*object | object | object | …
titlestringnullable
contextstringnullable
citationsanthropic-citations-config-param
cache_controlanthropic-cache-control-ephemeral-param

anthropic-document-source-paramobject | object | object | …

anthropic-file-source-paramobject

typeenumfile
file_id*string

anthropic-image-block-paramobject

typeenumimage
source*object | object | object
cache_controlanthropic-cache-control-ephemeral-param

anthropic-input-messageobject

role*enumuser | assistant | system | developer
content*string | anthropic-content-block-param[]

anthropic-json-output-formatobject

type*enumjson_schema
schema*object

anthropic-media-source-paramobject | object | object

anthropic-metadata-paramobject

user_idstring

anthropic-output-configobject

effortenumlow | medium | high | xhigh | max
formatanthropic-json-output-format

anthropic-plain-text-source-paramobject

typeenumtext
media_typeanyIgnored. Plain text is always text/plain.
data*string

anthropic-redacted-thinking-block-paramobject

typeenumredacted_thinking
dataanyThe encrypted reasoning, as returned.
redacted_thinkinganyOlder name for data, read when data is absent.

anthropic-search-result-block-paramobject

typeenumsearch_result
sourceanyWhere the result came from.
titleanyResult title.
contentanyText blocks with the result content.
cache_controlanthropic-cache-control-ephemeral-param

anthropic-server-tool-caller-paramanthropic-direct-caller-param

type*enumdirect

anthropic-server-tool-use-block-paramobject

typeenumserver_tool_use
id*string
name*enumweb_search | tool_search
input*anthropic-server-tool-use-input-param
cache_controlanthropic-cache-control-ephemeral-param
calleranthropic-server-tool-caller-param

anthropic-server-tool-use-input-paramobject

queryanyThe search query.

anthropic-system-text-block-paramobject

type*enumtext
text*string
citationsanyAccepted and ignored.
cache_controlanthropic-cache-control-ephemeral-param

anthropic-text-block-paramobject

typeenumtext
text*string
citationsanyAccepted and ignored.
cache_controlanthropic-cache-control-ephemeral-param

anthropic-thinking-block-paramobject

typeenumthinking
thinking*string
signatureanyAccepted and ignored.

anthropic-thinking-config-adaptive-paramobject

typeenumadaptive
displayenumsummarized | omitted

anthropic-thinking-config-disabled-paramobject

typeenumdisabled

anthropic-thinking-config-enabled-paramobject

typeenumenabled
budget_tokens*integerReasoning token budget. Must be less than max_tokens. (minimum: 1024)n ≥ 1024 · format: int64
displayenumsummarized | omitted

anthropic-thinking-config-paramobject | object | object

anthropic-toolobject | object | object

anthropic-tool-choiceobject

type*enumauto | any | none
nameanyIgnored.
disable_parallel_tool_useboolean

anthropic-tool-result-block-paramobject

typeenumtool_result
tool_use_id*string
contentstring | anthropic-tool-result-content-block-param[]A string, or an array of content blocks. Any other value is passed as its JSON text.
is_erroranytrue marks the result as an error.
cache_controlanthropic-cache-control-ephemeral-param

anthropic-tool-result-content-block-paramobject | object | object | …

anthropic-tool-result-document-block-paramobject

type*enumdocument
source*object | object | object | …
titlestringnullable
contextstringnullable
citationsanthropic-citations-config-param

anthropic-tool-result-image-block-paramobject

type*enumimage
source*object | object | object

anthropic-tool-result-other-block-paramobject

typestringAny block type except text, image and document.

anthropic-tool-search-tool-paramobject

type*enumtool_search | tool_search_20250305
executionenumserver | client · nullable
descriptionstringnullable
parametersobjectParameter schema for a client-executed tool search tool.nullable
input_schemaanyUsed as parameters when parameters is omitted.
cache_controlanthropic-cache-control-ephemeral-param

anthropic-tool-use-block-paramobject

typeenumtool_use
id*string
name*string
inputanyTool arguments, as an object.
cache_controlanthropic-cache-control-ephemeral-param

anthropic-url-source-paramobject

typeenumurl
url*string

anthropic-user-location-paramobject

typeenumapproximate
citystringnullable
regionstringnullable
countrystringnullable
timezonestringnullable

anthropic-video-block-paramobject

typeenumvideo
source*object | object | object
fpsnumberFrames per second to sample.nullable
cache_controlanthropic-cache-control-ephemeral-param

anthropic-web-search-tool-paramobject

type*enumweb_search | web_search_20250305 | web_search_20250305_15
user_locationanthropic-user-location-param
cache_controlanthropic-cache-control-ephemeral-param

Validate a payload

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