The maximum number of tokens to generate content. The model can be stopped before reaching the upper limit; set to 0 to only warm up the prompt cache without generating a reply.
Enter the conversation message. The model works in user and assistant turns; consecutive messages with the same role will be merged. If there is no system role, please use the top-level system for system prompt words.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tikway","colors":{"primary":"#3d3b3a","light":"#ffffff","dark":"#000000"},"logo":{"light":"https://mintcdn.com/tikway/jbQHUstQv4m6VXpl/logo/light.png?fit=max\u0026auto=format\u0026n=jbQHUstQv4m6VXpl\u0026q=85\u0026s=2ffadc60838b347e4b303c5324329d71","dark":"https://mintcdn.com/tikway/jbQHUstQv4m6VXpl/logo/dark.png?fit=max\u0026auto=format\u0026n=jbQHUstQv4m6VXpl\u0026q=85\u0026s=70d626d8a1b2db6e9cfc2f93182f2acb"},"favicon":"https://mintcdn.com/tikway/jbQHUstQv4m6VXpl/favicon.png?fit=max\u0026auto=format\u0026n=jbQHUstQv4m6VXpl\u0026q=85\u0026s=e55efc78d7a9b37ff27557ac7556fe6e","api":{"params":{"expanded":"all"},"url":"full","mdx":{"auth":{"method":"bearer","name":"Authorization"},"server":"https://api.tikway.ai"}},"navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://app.mintlify.com"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"schema":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://tikway.ai"}]},"languages":[{"language":"zh","href":"zh/introduction"},{"language":"en","href":"en/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tikway","hasAudioNarration":false,"actualSubdomain":"tikway","customDomains":["docs.tikway.ai"],"gitSource":{"type":"github","owner":"tokgos","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6adc5bcc50fd02f25b78f1da","collectionId":"18ba77e3-afe9-43cc-8e60-e7b6de9c99b7","liveDeploymentHistoryId":"6adc5bcc50fd02f25b78f1da","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adc5bcc50fd02f25b78f1da","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"zh","tag":"API Reference","count":53},{"language":"en","tag":"API Reference","count":46},{"language":"zh","tag":"视频生成","count":15},{"language":"en","tag":"Video generation","count":14},{"language":"zh","tag":"图片生成","count":12},{"language":"en","tag":"Chat completions","count":11},{"language":"zh","tag":"对话补全","count":11},{"language":"en","tag":"Image generation","count":10},{"language":"en","tag":"Guides","count":8},{"language":"zh","tag":"指南","count":8},{"language":"en","tag":"Gemini protocol","count":6},{"language":"zh","tag":"Gemini 协议","count":6},{"language":"en","tag":"Speech synthesis","count":5},{"language":"zh","tag":"Midjourney","count":5},{"language":"zh","tag":"语音合成","count":5},{"language":"en","tag":"Developer guides","count":3},{"language":"en","tag":"Request protocols","count":3},{"language":"en","tag":"OpenAI protocol","count":3},{"language":"zh","tag":"开发指南","count":3},{"language":"zh","tag":"请求协议","count":3}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width:1280px){html[data-current-path*=\"/api-reference/\"] div:has(>#sidebar):has(>#content-container){width:80%!important;max-width:none!important;margin-inline:auto!important;padding-inline:0!important;gap:2rem!important}html[data-current-path*=\"/api-reference/\"] #content-container{flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0!important}html[data-current-path*=\"/api-reference/\"] #content-container>div:has(>#content-area){gap:2rem!important}html[data-current-path*=\"/api-reference/\"] #content-area{flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0!important;margin-inline:0!important;padding-inline:0!important}html[data-current-path*=\"/api-reference/\"] #content-side-layout{flex:0 0 22rem!important;width:22rem!important;max-width:22rem!important}html[data-current-path*=\"/api-reference/\"] #content-side-layout>div{width:100%!important;min-width:0!important;max-width:100%!important}}@media (max-width:767px){html:is([data-current-path$=\"/api-reference/images/overview\"], [data-current-path$=\"/api-reference/videos/overview\"]) #content table{min-width:34rem}}"}],"page":{"pagePath":"en/api-reference/chat/anthropic/messages","slug":"/en/api-reference/chat/anthropic/messages","pageMetadata":{"title":"Messages","description":"","deprecated":false,"version":null,"sidebarTitle":"Messages","openapi":"/openapi/en/chat/anthropic.json post /v1/messages","href":"/en/api-reference/chat/anthropic/messages","autogeneratedByOpenApi":true},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Messages","description":"","deprecated":false,"version":null,"sidebarTitle":"Messages","openapi":"/openapi/en/chat/anthropic.json post /v1/messages","href":"/en/api-reference/chat/anthropic/messages","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Messages","deprecated":false,"description":"","tags":["Chat completions/Anthropic protocol"],"parameters":[],"requestBody":"9c945511-43dd-4521-bd28-2b235c14b570","responses":{"200":"fecac28f-795b-4e9a-9b9f-b5fef3005fdb"},"security":["1fbf2493-20df-4984-b97f-8462ba659b11"],"x-mint":{"href":"/en/api-reference/chat/anthropic/messages","metadata":{"sidebarTitle":"Messages"}},"method":"post","type":"path","servers":["9408d545-61c7-4280-bc96-5c4719de30d3"],"path":"/v1/messages","baseUrlOptions":["https://api.tikway.ai"],"title":"Messages","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","urlDisplay":"full"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["model","max_tokens","messages"],"properties":{"model":{"type":"string","description":"The Claude model ID used to generate the message, for example claude-opus-5.","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"max_tokens":{"type":"integer","minimum":0,"description":"The maximum number of tokens to generate content. The model can be stopped before reaching the upper limit; set to 0 to only warm up the prompt cache without generating a reply.","isRequired":true,"uniqueKey":"max_tokens","typeLabel":"integer"},"messages":{"type":"array","maxItems":100000,"description":"Enter the conversation message. The model works in user and assistant turns; consecutive messages with the same role will be merged. If there is no system role, please use the top-level system for system prompt words.","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","enum":["user","assistant"],"description":"Message role. When the last item is assistant , the model will continue to be generated from its content.","isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","description":"Message content. A string is equivalent to an array containing only one text block.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["text","image","document","tool_use","tool_result","thinking","redacted_thinking","search_result"],"description":"Content block type.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","minLength":1,"description":"text The text of the content block.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"source":{"type":"string","description":"search_result source identifier.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].source","typeLabel":"string"},"cache_control":{"type":"object","description":"Prompt word cache breakpoint configuration.","properties":{"type":{"type":"string","enum":["ephemeral"],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["5m","1h"],"description":"Cache validity period.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"enum\u003cstring>"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].cache_control","typeLabel":"object"},"citations":{"type":"object","description":"Document reference configuration.","properties":{"enabled":{"type":"boolean","description":"Whether to enable citations.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].citations.enabled","typeLabel":"boolean"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].citations","typeLabel":"object"},"title":{"type":"string","description":"search_result title.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].title","typeLabel":"string"},"context":{"type":"string","description":"Documentation adds context.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].context","typeLabel":"string"},"id":{"type":"string","description":"The unique call ID of the tool_use content block.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"tool_use The name of the tool called.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].name","typeLabel":"string"},"input":{"type":"object","description":"JSON input parameters for tool_use.","properties":{},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].input","typeLabel":"object"},"tool_use_id":{"type":"string","description":"The tool_use ID that tool_result responds to.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].tool_use_id","typeLabel":"string"},"content":{"description":"The result content of tool_result can be a string or an array of content blocks.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].content","typeLabel":"any"},"is_error":{"type":"boolean","description":"Whether tool_result indicates a tool execution error.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].is_error","typeLabel":"boolean"},"thinking":{"type":"string","description":"The thinking content returned by the previous response; this must remain intact when passed back.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].thinking","typeLabel":"string"},"signature":{"type":"string","description":"Signature of the thinking content block; must remain intact on postback.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].signature","typeLabel":"string"},"data":{"type":"string","description":"Encrypted data for redacted_thinking; must be returned intact.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].data","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Message content. A string is equivalent to an array containing only one text block.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].content","typeLabel":"string | object[]"}},"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"},"system":{"oneOf":[{"type":"string","description":"System prompt word. The Messages API does not support system role messages, this field should be used.","uniqueKey":"system.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","required":["type","text"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"system.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"System prompt word text.","isRequired":true,"uniqueKey":"system.oneOf.1.items.[INDEX].text","typeLabel":"string"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"uniqueKey":"system.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["5m","1h"],"uniqueKey":"system.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"enum\u003cstring>"}},"uniqueKey":"system.oneOf.1.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"system.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"System prompt word. The Messages API does not support system role messages, this field should be used.","uniqueKey":"system.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"system","typeLabel":"string | object[]"},"stream":{"type":"boolean","description":"Whether to stream message events as Server-Sent Events.","uniqueKey":"stream","typeLabel":"boolean"},"stop_sequences":{"type":"array","description":"Customize stop sequence; model generation stops when it reaches any sequence.","items":{"type":"string","uniqueKey":"stop_sequences.items.[INDEX]","typeLabel":"string"},"uniqueKey":"stop_sequences","typeLabel":"string[]"},"temperature":{"type":"number","minimum":0,"maximum":1,"description":"Sampling temperature. Higher values make the output more random; usually adjusted with top_p, top_k.","uniqueKey":"temperature","typeLabel":"number"},"top_p":{"type":"number","minimum":0,"maximum":1,"description":"Kernel sampling threshold.","uniqueKey":"top_p","typeLabel":"number"},"top_k":{"type":"integer","minimum":0,"description":"The number of candidate tokens with the highest probability retained during each sampling step.","uniqueKey":"top_k","typeLabel":"integer"},"thinking":{"oneOf":[{"type":"object","title":"Enabled thinking","description":"Extended thinking configuration. Optional enabled, adaptive, disabled, or passed in null. When think is enabled, think tokens count toward max_tokens.","required":["type","budget_tokens"],"properties":{"type":{"type":"string","enum":["enabled"],"isRequired":true,"uniqueKey":"thinking.oneOf.0.type","typeLabel":"enum\u003cstring>"},"budget_tokens":{"type":"integer","minimum":1024,"description":"Think about the token budget, which must be less than max_tokens.","isRequired":true,"uniqueKey":"thinking.oneOf.0.budget_tokens","typeLabel":"integer"},"block_binding":{"oneOf":[{"description":"How to handle when the returned thought block does not pass the dialog prefix check; omitted, null or empty objects use the default behavior.","type":"object","properties":{"prefix_mismatch_behavior":{"oneOf":[{"type":"string","enum":["error","drop_block",null],"default":"error","description":"error will return 400; drop_block will remove unmatched think blocks.","uniqueKey":"thinking.oneOf.0.block_binding.oneOf.0.prefix_mismatch_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["error","drop_block",null],"default":"error","description":"error will return 400; drop_block will remove unmatched think blocks.","uniqueKey":"thinking.oneOf.0.block_binding.oneOf.0.prefix_mismatch_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"thinking.oneOf.0.block_binding.oneOf.0.prefix_mismatch_behavior","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"thinking.oneOf.0.block_binding.oneOf.0","typeLabel":"object"},{"description":"How to handle when the returned thought block does not pass the dialog prefix check; omitted, null or empty objects use the default behavior.","type":"null","properties":{"prefix_mismatch_behavior":{"oneOf":[{"type":"string","enum":["error","drop_block",null],"default":"error","description":"error will return 400; drop_block will remove unmatched think blocks."},{"type":"null","enum":["error","drop_block",null],"default":"error","description":"error will return 400; drop_block will remove unmatched think blocks."}]}},"uniqueKey":"thinking.oneOf.0.block_binding.oneOf.1","typeLabel":"null"}],"uniqueKey":"thinking.oneOf.0.block_binding","typeLabel":"object | null"},"display":{"oneOf":[{"type":"string","enum":["summarized","omitted","updates",null],"default":"summarized","description":"Think about how the content is presented; omitted will hide the content but retain the signature for multiple rounds of conversation.","uniqueKey":"thinking.oneOf.0.display.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["summarized","omitted","updates",null],"default":"summarized","description":"Think about how the content is presented; omitted will hide the content but retain the signature for multiple rounds of conversation.","uniqueKey":"thinking.oneOf.0.display.oneOf.1","typeLabel":"null"}],"uniqueKey":"thinking.oneOf.0.display","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"thinking.oneOf.0","typeLabel":"Enabled thinking · object"},{"type":"object","title":"Adaptive thinking","description":"Extended thinking configuration. Optional enabled, adaptive, disabled, or passed in null. When think is enabled, think tokens count toward max_tokens.","required":["type"],"properties":{"type":{"type":"string","enum":["adaptive"],"isRequired":true,"uniqueKey":"thinking.oneOf.1.type","typeLabel":"enum\u003cstring>"},"block_binding":{"oneOf":[{"description":"How to handle when the returned thought block does not pass the dialog prefix check; omitted, null or empty objects use the default behavior.","type":"object","properties":{"prefix_mismatch_behavior":{"oneOf":[{"type":"string","enum":["error","drop_block",null],"default":"error","description":"error will return 400; drop_block will remove unmatched think blocks.","uniqueKey":"thinking.oneOf.1.block_binding.oneOf.0.prefix_mismatch_behavior.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["error","drop_block",null],"default":"error","description":"error will return 400; drop_block will remove unmatched think blocks.","uniqueKey":"thinking.oneOf.1.block_binding.oneOf.0.prefix_mismatch_behavior.oneOf.1","typeLabel":"null"}],"uniqueKey":"thinking.oneOf.1.block_binding.oneOf.0.prefix_mismatch_behavior","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"thinking.oneOf.1.block_binding.oneOf.0","typeLabel":"object"},{"description":"How to handle when the returned thought block does not pass the dialog prefix check; omitted, null or empty objects use the default behavior.","type":"null","properties":{"prefix_mismatch_behavior":{"oneOf":[{"type":"string","enum":["error","drop_block",null],"default":"error","description":"error will return 400; drop_block will remove unmatched think blocks."},{"type":"null","enum":["error","drop_block",null],"default":"error","description":"error will return 400; drop_block will remove unmatched think blocks."}]}},"uniqueKey":"thinking.oneOf.1.block_binding.oneOf.1","typeLabel":"null"}],"uniqueKey":"thinking.oneOf.1.block_binding","typeLabel":"object | null"},"display":{"oneOf":[{"type":"string","enum":["summarized","omitted","updates",null],"default":"summarized","description":"Think about how the content is presented; omitted will hide the content but retain the signature for multiple rounds of conversation.","uniqueKey":"thinking.oneOf.1.display.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["summarized","omitted","updates",null],"default":"summarized","description":"Think about how the content is presented; omitted will hide the content but retain the signature for multiple rounds of conversation.","uniqueKey":"thinking.oneOf.1.display.oneOf.1","typeLabel":"null"}],"uniqueKey":"thinking.oneOf.1.display","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"thinking.oneOf.1","typeLabel":"Adaptive thinking · object"},{"type":"object","title":"Disabled thinking","description":"Extended thinking configuration. Optional enabled, adaptive, disabled, or passed in null. When think is enabled, think tokens count toward max_tokens.","required":["type"],"properties":{"type":{"type":"string","enum":["disabled"],"isRequired":true,"uniqueKey":"thinking.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"thinking.oneOf.2","typeLabel":"Disabled thinking · object"},{"type":"null","title":"No thinking configuration","description":"Extended thinking configuration. Optional enabled, adaptive, disabled, or passed in null. When think is enabled, think tokens count toward max_tokens.","uniqueKey":"thinking.oneOf.3","typeLabel":"null"}],"uniqueKey":"thinking","typeLabel":"Enabled thinking · object | Adaptive thinking · object | Disabled thinking · object | null"},"tools":{"type":"array","description":"A tool definition that can be called by Claude.","items":{"type":"object","properties":{"name":{"type":"string","description":"Tool name.","uniqueKey":"tools.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"Description of tool usage.","uniqueKey":"tools.items.[INDEX].description","typeLabel":"string"},"input_schema":{"type":"object","description":"JSON Schema of tool input parameters.","properties":{},"uniqueKey":"tools.items.[INDEX].input_schema","typeLabel":"object"},"type":{"type":"string","description":"Tool type; custom tools are usually custom or omitted.","uniqueKey":"tools.items.[INDEX].type","typeLabel":"string"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"uniqueKey":"tools.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["5m","1h"],"uniqueKey":"tools.items.[INDEX].cache_control.ttl","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tools","typeLabel":"object[]"},"tool_choice":{"type":"object","description":"Controls whether and how Claude selects tools.","properties":{"type":{"type":"string","enum":["auto","any","tool","none"],"description":"Tool selection mode.","uniqueKey":"tool_choice.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the tool that is forced to be called when type is tool.","uniqueKey":"tool_choice.name","typeLabel":"string"},"disable_parallel_tool_use":{"type":"boolean","description":"Whether to disable parallel tool calls.","uniqueKey":"tool_choice.disable_parallel_tool_use","typeLabel":"boolean"}},"uniqueKey":"tool_choice","typeLabel":"object"},"output_config":{"type":"object","description":"Output configuration.","properties":{"effort":{"type":"string","enum":["low","medium","high"],"description":"Output reasoning/quality input level.","uniqueKey":"output_config.effort","typeLabel":"enum\u003cstring>"},"format":{"type":"object","description":"Structured output format.","properties":{"type":{"type":"string","enum":["json_schema"],"uniqueKey":"output_config.format.type","typeLabel":"enum\u003cstring>"},"schema":{"type":"object","description":"Target JSON Schema.","properties":{},"uniqueKey":"output_config.format.schema","typeLabel":"object"}},"uniqueKey":"output_config.format","typeLabel":"object"}},"uniqueKey":"output_config","typeLabel":"object"},"output_format":{"type":"object","description":"JSON output format configuration.","properties":{"type":{"type":"string","enum":["json_schema"],"uniqueKey":"output_format.type","typeLabel":"enum\u003cstring>"},"schema":{"type":"object","description":"Target JSON Schema.","properties":{},"uniqueKey":"output_format.schema","typeLabel":"object"}},"uniqueKey":"output_format","typeLabel":"object"},"metadata":{"type":"object","description":"Request metadata.","properties":{"user_id":{"type":"string","description":"End user identification.","uniqueKey":"metadata.user_id","typeLabel":"string"}},"uniqueKey":"metadata","typeLabel":"object"},"service_tier":{"type":"string","enum":["auto","standard_only"],"description":"Service level selection.","uniqueKey":"service_tier","typeLabel":"enum\u003cstring>"},"speed":{"type":"string","enum":["standard","fast"],"description":"Inference speed mode.","uniqueKey":"speed","typeLabel":"enum\u003cstring>"},"container":{"oneOf":[{"type":"string","description":"Code execution container configuration or container ID.","uniqueKey":"container.oneOf.0","typeLabel":"string"},{"type":"object","description":"Code execution container configuration or container ID.","properties":{"id":{"type":"string","uniqueKey":"container.oneOf.1.id","typeLabel":"string"},"skills":{"type":"array","items":{"type":"string","uniqueKey":"container.oneOf.1.skills.items.[INDEX]","typeLabel":"string"},"uniqueKey":"container.oneOf.1.skills","typeLabel":"string[]"}},"uniqueKey":"container.oneOf.1","typeLabel":"object"}],"uniqueKey":"container","typeLabel":"string | object"},"context_management":{"type":"object","description":"Context management configuration.","properties":{},"uniqueKey":"context_management","typeLabel":"object"},"mcp_servers":{"type":"array","description":"MCP server definition.","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"mcp_servers.items.[INDEX].name","typeLabel":"string"},"url":{"type":"string","uniqueKey":"mcp_servers.items.[INDEX].url","typeLabel":"string"},"authorization_token":{"type":"string","uniqueKey":"mcp_servers.items.[INDEX].authorization_token","typeLabel":"string"}},"uniqueKey":"mcp_servers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"mcp_servers","typeLabel":"object[]"},"cache_control":{"type":"object","description":"Request-level prompt word cache control.","properties":{"type":{"type":"string","enum":["ephemeral"],"uniqueKey":"cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["5m","1h"],"uniqueKey":"cache_control.ttl","typeLabel":"enum\u003cstring>"}},"uniqueKey":"cache_control","typeLabel":"object"},"diagnostics":{"type":"object","description":"Diagnostic information configuration.","properties":{},"uniqueKey":"diagnostics","typeLabel":"object"},"fallback_credit_token":{"oneOf":[{"type":"string","description":"Fallback service deduction token.","uniqueKey":"fallback_credit_token.oneOf.0","typeLabel":"string"},{"type":"object","description":"Fallback service deduction token.","properties":{},"uniqueKey":"fallback_credit_token.oneOf.1","typeLabel":"object"}],"uniqueKey":"fallback_credit_token","typeLabel":"string | object"},"fallbacks":{"type":"object","description":"Model fallback configuration.","properties":{},"uniqueKey":"fallbacks","typeLabel":"object"},"inference_geo":{"type":"string","description":"Reasoning about geographic preferences.","uniqueKey":"inference_geo","typeLabel":"string"},"compaction":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"summarize","isRequired":true,"uniqueKey":"compaction.oneOf.0.type","typeLabel":"string"},"instructions":{"oneOf":[{"type":"string","maxLength":16384,"uniqueKey":"compaction.oneOf.0.instructions.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":16384,"uniqueKey":"compaction.oneOf.0.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"compaction.oneOf.0.instructions","typeLabel":"string | null"}},"additionalProperties":false,"description":"Anthropic conversation compaction. Non-null values cannot be combined with context_management.","uniqueKey":"compaction.oneOf.0","typeLabel":"object"},{"type":"null","required":["type"],"properties":{"type":{"type":"string","const":"summarize"},"instructions":{"oneOf":[{"type":"string","maxLength":16384},{"type":"null","maxLength":16384}]}},"additionalProperties":false,"description":"Anthropic conversation compaction. Non-null values cannot be combined with context_management.","uniqueKey":"compaction.oneOf.1","typeLabel":"null"}],"uniqueKey":"compaction","typeLabel":"object | null"}},"examples":[{"model":"claude-opus-5","max_tokens":1024,"messages":[{"role":"user","content":"Hello, Claude"}],"stream":false}],"uniqueKey":"","typeLabel":"object"},"examples":{"Text input":{"title":"Text input","value":{"model":"claude-sonnet-4-6","max_tokens":1024,"system":"You are a helpful assistant.","messages":[{"role":"user","content":"Write a short bedtime story about a unicorn."}]}},"Streaming output":{"title":"Streaming output","value":{"model":"claude-sonnet-4-6","max_tokens":1024,"system":"You are a helpful assistant.","messages":[{"role":"user","content":"Write a short bedtime story about a unicorn."}],"stream":true}},"Image input":{"title":"Image input","value":{"model":"claude-sonnet-4-6","max_tokens":1024,"system":"You are a helpful assistant.","messages":[{"role":"user","content":[{"type":"image","source":{"type":"url","url":"https://uploads3.wikiart.org/00475/images/vincent-van-gogh/the-starry-night-1889.jpg"}},{"type":"text","text":"Describe this painting in Chinese, including its style, colors, and mood."}]}]}},"Function calling":{"title":"Function calling","value":{"model":"claude-sonnet-4-6","max_tokens":1024,"tools":[{"name":"get_weather","description":"Get current weather for a city.","input_schema":{"type":"object","properties":{"city":{"type":"string","description":"City name, such as Shanghai."}},"required":["city"]}}],"messages":[{"role":"user","content":"What's the weather in Shanghai today?"}]}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"fecac28f-795b-4e9a-9b9f-b5fef3005fdb":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["id","type","role","model","content","stop_reason","usage"],"properties":{"id":{"type":"string","description":"Message unique ID.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"type":{"type":"string","enum":["message"],"description":"Object type, fixed to message.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["assistant"],"description":"Message role, fixed to assistant.","isRequired":true,"uniqueKey":"role","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The actual Claude model ID used.","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"content":{"type":"array","description":"List of content blocks generated by Claude.","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["text","thinking","redacted_thinking","tool_use","server_tool_use","web_search_tool_result","web_fetch_tool_result","code_execution_tool_result"],"description":"Output content block type.","isRequired":true,"uniqueKey":"content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"text Generated text for the content block.","uniqueKey":"content.items.[INDEX].text","typeLabel":"string"},"citations":{"type":"array","description":"List of textual references.","items":{"type":"object","properties":{"type":{"type":"string","description":"Reference type.","uniqueKey":"content.items.[INDEX].citations.items.[INDEX].type","typeLabel":"string"},"cited_text":{"type":"string","description":"Quoted text.","uniqueKey":"content.items.[INDEX].citations.items.[INDEX].cited_text","typeLabel":"string"},"document_index":{"type":"integer","description":"Source document index.","uniqueKey":"content.items.[INDEX].citations.items.[INDEX].document_index","typeLabel":"integer"},"document_title":{"type":"string","description":"Source document title.","uniqueKey":"content.items.[INDEX].citations.items.[INDEX].document_title","typeLabel":"string"},"start_char_index":{"type":"integer","uniqueKey":"content.items.[INDEX].citations.items.[INDEX].start_char_index","typeLabel":"integer"},"end_char_index":{"type":"integer","uniqueKey":"content.items.[INDEX].citations.items.[INDEX].end_char_index","typeLabel":"integer"},"url":{"type":"string","uniqueKey":"content.items.[INDEX].citations.items.[INDEX].url","typeLabel":"string"},"title":{"type":"string","uniqueKey":"content.items.[INDEX].citations.items.[INDEX].title","typeLabel":"string"}},"uniqueKey":"content.items.[INDEX].citations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"content.items.[INDEX].citations","typeLabel":"object[]"},"thinking":{"type":"string","description":"Extended reflection text.","uniqueKey":"content.items.[INDEX].thinking","typeLabel":"string"},"signature":{"type":"string","description":"Think about the content signature; it must remain the same the next time you pass it around.","uniqueKey":"content.items.[INDEX].signature","typeLabel":"string"},"data":{"type":"string","description":"Encrypted data for redacted_thinking.","uniqueKey":"content.items.[INDEX].data","typeLabel":"string"},"id":{"type":"string","description":"Tool call ID.","uniqueKey":"content.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name of the called tool.","uniqueKey":"content.items.[INDEX].name","typeLabel":"string"},"input":{"type":"object","description":"Tool call input parameters.","properties":{},"uniqueKey":"content.items.[INDEX].input","typeLabel":"object"},"content":{"description":"Server tool call result content.","uniqueKey":"content.items.[INDEX].content","typeLabel":"any"},"tool_use_id":{"type":"string","description":"The associated tool call ID.","uniqueKey":"content.items.[INDEX].tool_use_id","typeLabel":"string"},"is_error":{"type":"boolean","description":"Whether the server tool results are in error.","uniqueKey":"content.items.[INDEX].is_error","typeLabel":"boolean"}},"uniqueKey":"content.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"content","typeLabel":"object[]"},"stop_reason":{"type":"string","enum":["end_turn","max_tokens","stop_sequence","tool_use","pause_turn","refusal","model_context_window_exceeded"],"description":"Generate a stop reason.","isRequired":true,"uniqueKey":"stop_reason","typeLabel":"enum\u003cstring>"},"usage":{"type":"object","description":"Billing and current limiting word usage statistics.","required":["input_tokens","output_tokens"],"properties":{"input_tokens":{"type":"integer","minimum":0,"description":"Enter the number of tokens.","isRequired":true,"uniqueKey":"usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","minimum":0,"description":"Output the number of tokens.","isRequired":true,"uniqueKey":"usage.output_tokens","typeLabel":"integer"},"cache_creation_input_tokens":{"type":"integer","minimum":0,"description":"The number of input tokens used to create the cache.","uniqueKey":"usage.cache_creation_input_tokens","typeLabel":"integer"},"cache_read_input_tokens":{"type":"integer","minimum":0,"description":"The number of input tokens read from the cache.","uniqueKey":"usage.cache_read_input_tokens","typeLabel":"integer"},"cache_creation":{"type":"object","properties":{"ephemeral_5m_input_tokens":{"type":"integer","uniqueKey":"usage.cache_creation.ephemeral_5m_input_tokens","typeLabel":"integer"},"ephemeral_1h_input_tokens":{"type":"integer","uniqueKey":"usage.cache_creation.ephemeral_1h_input_tokens","typeLabel":"integer"}},"uniqueKey":"usage.cache_creation","typeLabel":"object"},"output_tokens_details":{"type":"object","properties":{"thinking_tokens":{"type":"integer","description":"Think about word count.","uniqueKey":"usage.output_tokens_details.thinking_tokens","typeLabel":"integer"}},"uniqueKey":"usage.output_tokens_details","typeLabel":"object"},"server_tool_use":{"type":"object","properties":{"web_search_requests":{"type":"integer","uniqueKey":"usage.server_tool_use.web_search_requests","typeLabel":"integer"},"web_fetch_requests":{"type":"integer","uniqueKey":"usage.server_tool_use.web_fetch_requests","typeLabel":"integer"}},"uniqueKey":"usage.server_tool_use","typeLabel":"object"},"service_tier":{"type":"string","enum":["standard","priority","batch"],"description":"Actual service level.","uniqueKey":"usage.service_tier","typeLabel":"enum\u003cstring>"},"speed":{"type":"string","enum":["standard","fast"],"description":"Actual reasoning speed.","uniqueKey":"usage.speed","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"usage","typeLabel":"object"},"stop_sequence":{"type":"string","description":"If the sequence ends due to a custom stop, it is a hit sequence.","uniqueKey":"stop_sequence","typeLabel":"string"},"stop_details":{"type":"object","description":"Structured information for rejection and other stopping situations.","properties":{"type":{"type":"string","uniqueKey":"stop_details.type","typeLabel":"string"},"category":{"type":"string","uniqueKey":"stop_details.category","typeLabel":"string"},"explanation":{"type":"string","uniqueKey":"stop_details.explanation","typeLabel":"string"},"recommended_model":{"type":"string","uniqueKey":"stop_details.recommended_model","typeLabel":"string"}},"uniqueKey":"stop_details","typeLabel":"object"},"container":{"type":"object","description":"Code execution container information.","properties":{"id":{"type":"string","uniqueKey":"container.id","typeLabel":"string"},"expires_at":{"type":"string","description":"Container expiration time.","uniqueKey":"container.expires_at","typeLabel":"string"},"skills":{"type":"array","items":{"type":"string","uniqueKey":"container.skills.items.[INDEX]","typeLabel":"string"},"uniqueKey":"container.skills","typeLabel":"string[]"}},"uniqueKey":"container","typeLabel":"object"},"context_management":{"type":"object","description":"Context management results of server-side applications.","properties":{},"uniqueKey":"context_management","typeLabel":"object"},"diagnostics":{"type":"object","description":"Diagnostic information, such as cache miss reasons.","properties":{},"uniqueKey":"diagnostics","typeLabel":"object"},"input_transformations":{"type":"array","description":"Transformations applied by the API to the input, such as chunks of thought that are discarded.","items":{"type":"object","properties":{"type":{"type":"string","enum":["thinking_dropped"],"uniqueKey":"input_transformations.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"path":{"type":"string","uniqueKey":"input_transformations.items.[INDEX].path","typeLabel":"string"},"reason":{"type":"string","enum":["model_binding_mismatch","prefix_binding_mismatch","organization_binding_mismatch","end_user_binding_mismatch"],"uniqueKey":"input_transformations.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"input_transformations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input_transformations","typeLabel":"object[]"}},"examples":[{"id":"msg_013Zva2CMHLNnXjNJJKqJ2EF","type":"message","role":"assistant","model":"claude-opus-5","content":[{"type":"text","text":"Hi! My name is Claude.","citations":[]}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":12,"output_tokens":10}}],"uniqueKey":"","typeLabel":"object"},"example":{"id":"msg_013Zva2CMHLNnXjNJJKqJ2EF","container":{"id":"container_011CpZohnwH4vuy7gazohgSP","expires_at":"2019-12-27T18:11:19.117Z","skills":[{"skill_id":"pdf","type":"anthropic","version":"latest"}]},"content":[{"citations":[{"cited_text":"The grass is green. The sky is blue.","document_index":0,"document_title":"My Document","end_char_index":0,"file_id":"file_011CNha8iCJcU1wXNR6q4V8w","start_char_index":0,"type":"char_location"}],"text":"Hi! My name is Claude.","type":"text"}],"context_management":{"applied_edits":[{"cleared_input_tokens":0,"cleared_tool_uses":0,"type":"clear_tool_uses_20250919"}]},"diagnostics":{"cache_miss_reason":{"cache_missed_input_tokens":0,"type":"model_changed"}},"model":"claude-opus-5","role":"assistant","stop_details":{"category":"cyber","explanation":"This request was declined because it conflicts with Anthropic's Usage Policy.","fallback_credit_token":"QW50aHJvcGljL0NsYXVkZQ==","fallback_has_prefill_claim":true,"recommended_model":"claude-opus-4-8","type":"refusal"},"stop_reason":"end_turn","stop_sequence":null,"type":"message","usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":2051,"cache_read_input_tokens":2051,"fallback_credit":{"status":{"type":"redeemed"}},"inference_geo":"global","input_tokens":2095,"iterations":[{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":0,"model":"claude-fable-5-1","output_tokens":0,"type":"message"}],"output_tokens":503,"output_tokens_details":{"thinking_tokens":0},"server_tool_use":{"web_fetch_requests":2,"web_search_requests":0},"service_tier":"standard","speed":"standard"},"input_transformations":[{"path":"path","reason":"model_binding_mismatch","type":"thinking_dropped"}]},"examples":{"Example":{"title":"Example","value":{"id":"msg_013Zva2CMHLNnXjNJJKqJ2EF","container":{"id":"container_011CpZohnwH4vuy7gazohgSP","expires_at":"2019-12-27T18:11:19.117Z","skills":[{"skill_id":"pdf","type":"anthropic","version":"latest"}]},"content":[{"citations":[{"cited_text":"The grass is green. The sky is blue.","document_index":0,"document_title":"My Document","end_char_index":0,"file_id":"file_011CNha8iCJcU1wXNR6q4V8w","start_char_index":0,"type":"char_location"}],"text":"Hi! My name is Claude.","type":"text"}],"context_management":{"applied_edits":[{"cleared_input_tokens":0,"cleared_tool_uses":0,"type":"clear_tool_uses_20250919"}]},"diagnostics":{"cache_miss_reason":{"cache_missed_input_tokens":0,"type":"model_changed"}},"model":"claude-opus-5","role":"assistant","stop_details":{"category":"cyber","explanation":"This request was declined because it conflicts with Anthropic's Usage Policy.","fallback_credit_token":"QW50aHJvcGljL0NsYXVkZQ==","fallback_has_prefill_claim":true,"recommended_model":"claude-opus-4-8","type":"refusal"},"stop_reason":"end_turn","stop_sequence":null,"type":"message","usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":2051,"cache_read_input_tokens":2051,"fallback_credit":{"status":{"type":"redeemed"}},"inference_geo":"global","input_tokens":2095,"iterations":[{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":0,"model":"claude-fable-5-1","output_tokens":0,"type":"message"}],"output_tokens":503,"output_tokens_details":{"thinking_tokens":0},"server_tool_use":{"web_fetch_requests":2,"web_search_requests":0},"service_tier":"standard","speed":"standard"},"input_transformations":[{"path":"path","reason":"model_binding_mismatch","type":"thinking_dropped"}]}}},"exampleType":"examples"}},"headers":{},"exampleType":"examples"}},"security":{"1fbf2493-20df-4984-b97f-8462ba659b11":{"anthropicApiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Tikway API Key. Passed through the x-api-key request header according to the Anthropic native protocol.","scopes":[],"schemeName":"anthropicApiKey"}}},"servers":{"9408d545-61c7-4280-bc96-5c4719de30d3":{"url":"https://api.tikway.ai","description":"production environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Tikway API Key. Passed through the x-api-key request header according to the Anthropic native protocol.","scopes":[],"schemeName":"anthropicApiKey"},"schema":{"title":"x-api-key","type":"string","description":"Tikway API Key. Passed through the x-api-key request header according to the Anthropic native protocol.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"anthropicApiKey","name":"x-api-key"}],"title":"anthropicApiKey"}]},"originalFileLocation":"openapi/en/chat/anthropic.json"},"subdomain":"tikway","siteName":"Tikway","title":"Messages - Tikway","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/zh/api-reference/chat/anthropic/messages","matchLevel":1},"en":{"href":"/en/api-reference/chat/anthropic/messages","matchLevel":0}}},"lastModified":"2026-10-24T07:18:55.697Z","originalFileLocation":"en/api-reference/chat/anthropic/messages.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Tikway\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Messages - Tikway\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tikway\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tikway.mintlify.app/_mintlify/api/og/v2?division=Anthropic+protocol\u0026amp;title=Messages\u0026amp;theme=80cab077a26228715dec452f\u0026amp;signature=6258cbc31f93e7744dcda06b6bade335cfccc3aa757125ae042c25f1aec1e3e4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Messages - Tikway\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tikway.mintlify.app/_mintlify/api/og/v2?division=Anthropic+protocol\u0026amp;title=Messages\u0026amp;theme=80cab077a26228715dec452f\u0026amp;signature=6258cbc31f93e7744dcda06b6bade335cfccc3aa757125ae042c25f1aec1e3e4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tikway/BXjEGHgHOW9NRxi7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tikway\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3d3b3a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/chat/anthropic/messages.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.tikway.ai/zh/api-reference/chat/anthropic/messages\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.tikway.ai/zh/api-reference/chat/anthropic/messages\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tikway.ai/#organization\",\"name\":\"Tikway\",\"url\":\"https://docs.tikway.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tikway/jbQHUstQv4m6VXpl/logo/light.png?fit=max\u0026auto=format\u0026n=jbQHUstQv4m6VXpl\u0026q=85\u0026s=2ffadc60838b347e4b303c5324329d71\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tikway.ai#website\",\"name\":\"Tikway\",\"url\":\"https://docs.tikway.ai\",\"publisher\":{\"@id\":\"https://docs.tikway.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages#webpage\",\"url\":\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages\",\"name\":\"Messages\",\"dateModified\":\"2026-10-24T07:18:55.697Z\",\"isPartOf\":{\"@id\":\"https://docs.tikway.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Chat completions\",\"item\":\"https://docs.tikway.ai/en/api-reference/chat/openai/chat-completions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Messages\",\"item\":\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages#apireference\",\"headline\":\"Messages\",\"name\":\"Messages\",\"url\":\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tikway.ai/en/api-reference/chat/anthropic/messages#webpage\"},\"dateModified\":\"2026-10-24T07:18:55.697Z\",\"publisher\":{\"@id\":\"https://docs.tikway.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tikway.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tikway\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Tikway","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://tikway.ai"}]},"languages":[{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/chat/anthropic/messages"}]},{"language":"en","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/en/introduction"}]},{"tab":"API Reference","groups":[{"group":"Chat completions","pages":[{"group":"OpenAI protocol","pages":[{"title":"Chat Completions","deprecated":false,"version":null,"sidebarTitle":"Chat Completions","openapi":"/openapi/en/chat/openai.json post /v1/chat/completions","href":"/en/api-reference/chat/openai/chat-completions"},{"title":"Responses","deprecated":false,"version":null,"sidebarTitle":"Responses","openapi":"/openapi/en/chat/openai.json post /v1/responses","href":"/en/api-reference/chat/openai/responses"},{"title":"Get Models","description":"List models with callable endpoints on the current gateway. All types are included by default. Use type to filter by text, image, video, music, or embedding. Separate multiple types with commas or repeat type to combine them with OR.\n\nThe response uses the OpenAI object=list/data structure and includes aliases, architecture, capabilities, and video_attributes for video models. capabilities.parameters.common lists parameters shared by all callable endpoints. Endpoint arrays list only additional parameters. Combine common with an endpoint array for its complete parameter set.\n\nThis page describes the OpenAI format. Sending the anthropic-version header switches to the Anthropic model-list format; parse that response with the corresponding protocol client.","deprecated":false,"version":null,"sidebarTitle":"Get Models","openapi":"/openapi/en/chat/openai-models.json get /v1/models","href":"/en/api-reference/chat/openai/list-models"}]},{"group":"Anthropic protocol","pages":[{"title":"Messages","deprecated":false,"version":null,"sidebarTitle":"Messages","openapi":"/openapi/en/chat/anthropic.json post /v1/messages","href":"/en/api-reference/chat/anthropic/messages"},{"title":"Get Models","description":"Return the same full callable model catalog as GET /v1/models across providers and text, image, video, audio, embedding, and decision models. No implicit protocol filtering is applied. The native response envelope and pagination remain available; provider, mode, and type filters are explicit.\n\nEach model includes aliases, architecture, capabilities.endpoints, capabilities.parameters, and capabilities.reasoning_efforts, matching the OpenAI list. Merge common with the endpoint parameter array for its complete parameter set. Catalog inclusion does not imply support for generation through this protocol; use capabilities.endpoints.\n\nGET /v1/models with anthropic-version also returns this presentation.","deprecated":false,"version":null,"sidebarTitle":"Get Models","openapi":"/openapi/en/chat/anthropic-models.json get /anthropic/v1/models","href":"/en/api-reference/chat/anthropic/list-models"}]},{"group":"Gemini protocol","pages":[{"title":"Generate Content","deprecated":false,"version":null,"sidebarTitle":"Generate Content","openapi":"/openapi/en/chat/gemini.json post /v1beta/models/{model}:generateContent","href":"/en/api-reference/chat/gemini/generate-content"},{"title":"Stream Generate Content","deprecated":false,"version":null,"sidebarTitle":"Stream Generate Content","openapi":"/openapi/en/chat/gemini.json post /v1beta/models/{model}:streamGenerateContent","href":"/en/api-reference/chat/gemini/stream-generate-content"},{"title":"Get Models","deprecated":false,"version":null,"sidebarTitle":"Get Models","openapi":"/openapi/en/chat/gemini-models.json get /v1beta/models","href":"/en/api-reference/chat/gemini/list-models"},{"title":"Create Cached Content","deprecated":false,"version":null,"sidebarTitle":"Create Cached Content","openapi":"/openapi/en/chat/gemini.json post /v1beta/cachedContents","href":"/en/api-reference/chat/gemini/create-cache"},{"title":"Get Cached Content","deprecated":false,"version":null,"sidebarTitle":"Get Cached Content","openapi":"/openapi/en/chat/gemini.json get /v1beta/cachedContents/{id}","href":"/en/api-reference/chat/gemini/get-cache"},{"title":"Delete Cached Content","deprecated":false,"version":null,"sidebarTitle":"Delete Cached Content","openapi":"/openapi/en/chat/gemini.json delete /v1beta/cachedContents/{id}","href":"/en/api-reference/chat/gemini/delete-cache"}]}]},{"group":"Image generation","pages":[{"group":"GPT Image","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/gpt-image.json post /v1/images/generations","href":"/en/api-reference/images/gpt-image/generate"},{"title":"Image editing","deprecated":false,"version":null,"sidebarTitle":"Image editing","openapi":"/openapi/en/images/gpt-image.json post /v1/images/edits","href":"/en/api-reference/images/gpt-image/edit"}]},{"group":"Nano Banana","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/nano-banana.json post /v1/images/generations","href":"/en/api-reference/images/nano-banana/generate"},{"title":"Gemini protocol - image generation","deprecated":false,"version":null,"sidebarTitle":"Gemini protocol - image generation","openapi":"/openapi/en/images/nano-banana.json post /v1beta/models/{model}:generateContent","href":"/en/api-reference/images/nano-banana/generate-content"}]},{"group":"Qwen Image","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/qwen.json post /v1/images/generations","href":"/en/api-reference/images/qwen/generate"}]},{"group":"Seedream","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/seedream.json post /v1/images/generations","href":"/en/api-reference/images/seedream/generate"}]},{"group":"MAI Image","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/mai-image.json post /v1/images/generations","href":"/en/api-reference/images/mai-image/generate"}]},{"group":"Novel","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/novelai.json post /v1/images/generations","href":"/en/api-reference/images/novelai/generate"}]},{"group":"Flux","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/flux.json post /v1/images/generations","href":"/en/api-reference/images/flux/generate"}]},{"group":"Grok","pages":[{"title":"Image generation","deprecated":false,"version":null,"sidebarTitle":"Image generation","openapi":"/openapi/en/images/grok.json post /v1/images/generations","href":"/en/api-reference/images/grok/generate"}]}]},{"group":"Video generation","pages":[{"group":"Seedance","pages":[{"title":"Create a Seedance video","deprecated":false,"version":null,"sidebarTitle":"Create a Seedance video","openapi":"/openapi/en/videos/seedance.json post /v1/videos","href":"/en/api-reference/videos/seedance/create"},{"title":"Query Seedance video tasks","deprecated":false,"version":null,"sidebarTitle":"Query Seedance video tasks","openapi":"/openapi/en/videos/seedance.json get /v1/videos/{id}","href":"/en/api-reference/videos/seedance/get-task"}]},{"group":"Wan","pages":[{"title":"Create Wan video","deprecated":false,"version":null,"sidebarTitle":"Create Wan video","openapi":"/openapi/en/videos/wan.json post /v1/videos","href":"/en/api-reference/videos/wan/create"},{"title":"Query Wan video tasks","deprecated":false,"version":null,"sidebarTitle":"Query Wan video tasks","openapi":"/openapi/en/videos/wan.json get /v1/videos/{id}","href":"/en/api-reference/videos/wan/get-task"}]},{"group":"HappyHorse","pages":[{"title":"Create a HappyHorse video","deprecated":false,"version":null,"sidebarTitle":"Create a HappyHorse video","openapi":"/openapi/en/videos/happyhorse.json post /v1/videos","href":"/en/api-reference/videos/happyhorse/create"},{"title":"Query HappyHorse video tasks","deprecated":false,"version":null,"sidebarTitle":"Query HappyHorse video tasks","openapi":"/openapi/en/videos/happyhorse.json get /v1/videos/{id}","href":"/en/api-reference/videos/happyhorse/get-task"}]},{"group":"MiniMax","pages":[{"title":"Create MiniMax H3 video","deprecated":false,"version":null,"sidebarTitle":"Create MiniMax H3 video","openapi":"/openapi/en/videos/minimax.json post /v1/videos","href":"/en/api-reference/videos/minimax/create"},{"title":"Query MiniMax H3 video task","deprecated":false,"version":null,"sidebarTitle":"Query MiniMax H3 video task","openapi":"/openapi/en/videos/minimax.json get /v1/videos/{id}","href":"/en/api-reference/videos/minimax/get-task"}]},{"group":"Veo","pages":[{"title":"Create a Veo video","deprecated":false,"version":null,"sidebarTitle":"Create a Veo video","openapi":"/openapi/en/videos/veo.json post /v1/videos","href":"/en/api-reference/videos/veo/create"},{"title":"Query Veo video tasks","deprecated":false,"version":null,"sidebarTitle":"Query Veo video tasks","openapi":"/openapi/en/videos/veo.json get /v1/videos/{id}","href":"/en/api-reference/videos/veo/get-task"}]},{"group":"Grok","pages":[{"title":"Create a Grok Imagine Video video","deprecated":false,"version":null,"sidebarTitle":"Create a Grok Imagine Video video","openapi":"/openapi/en/videos/grok.json post /v1/videos","href":"/en/api-reference/videos/grok/create"},{"title":"Query Grok Imagine Video video tasks","deprecated":false,"version":null,"sidebarTitle":"Query Grok Imagine Video video tasks","openapi":"/openapi/en/videos/grok.json get /v1/videos/{id}","href":"/en/api-reference/videos/grok/get-task"}]},{"group":"Flux","pages":[{"title":"Create FLUX 3 Video videos","deprecated":false,"version":null,"sidebarTitle":"Create FLUX 3 Video videos","openapi":"/openapi/en/videos/flux.json post /v1/videos","href":"/en/api-reference/videos/flux/create"},{"title":"Query FLUX 3 Video video tasks","deprecated":false,"version":null,"sidebarTitle":"Query FLUX 3 Video video tasks","openapi":"/openapi/en/videos/flux.json get /v1/videos/{id}","href":"/en/api-reference/videos/flux/get-task"}]}]},{"group":"Embeddings","pages":[{"title":"GPT - vector","deprecated":false,"version":null,"sidebarTitle":"GPT - vector","openapi":"/openapi/en/embeddings/openapi.json post /v1/embeddings","href":"/en/api-reference/embeddings/openai/create"},{"title":"Gemini embedding","deprecated":false,"version":null,"sidebarTitle":"Gemini embedding","openapi":"/openapi/en/embeddings/openapi.json post /v1beta/models/google/{model}:embedContent","href":"/en/api-reference/embeddings/gemini/create"}]},{"group":"Transcriptions","pages":[{"title":"Speech transcription","deprecated":false,"version":null,"sidebarTitle":"Speech transcription","openapi":"/openapi/en/transcriptions/openapi.json post /v1/audio/transcriptions","href":"/en/api-reference/transcriptions/create"}]},{"group":"Speech synthesis","pages":[{"title":"Qwen voices","sidebarTitle":"Qwen voices","icon":"microphone","href":"/en/api-reference/speech/qwen/voices"},{"title":"Google TTS voices and usage","sidebarTitle":"Google voices","icon":"microphone","href":"/en/api-reference/speech/google/voices"},{"group":"Qwen3-TTS","pages":[{"title":"Qwen text to speech","deprecated":null,"version":null,"sidebarTitle":"Qwen text to speech","openapi":"/openapi/en/speech/qwen.json post /v1/audio/speech","href":"/en/api-reference/speech/qwen/create"}]},{"group":"Google TTS","pages":[{"title":"Google text to speech","deprecated":null,"version":null,"sidebarTitle":"Google text to speech","openapi":"/openapi/en/speech/google.json post /v1/audio/speech","href":"/en/api-reference/speech/google/create"}]},{"group":"Qwen Audio","pages":[{"title":"Qwen Audio text to speech","deprecated":null,"version":null,"sidebarTitle":"Qwen Audio text to speech","openapi":"/openapi/en/speech/qwen-audio.json post /v1/audio/speech","href":"/en/api-reference/speech/qwen-audio/create"}]}]},{"group":"Decisions","pages":[{"group":"OpenAI","pages":[{"title":"OpenAI decision evaluation","deprecated":null,"version":null,"sidebarTitle":"OpenAI decision evaluation","openapi":"/openapi/en/decisions/openai.json post /v1/decisions","href":"/en/api-reference/decisions/openai/create"}]},{"group":"Jev","pages":[{"title":"Jev decision evaluation","deprecated":null,"version":null,"sidebarTitle":"Jev decision evaluation","openapi":"/openapi/en/decisions/jev.json post /v1/decisions","href":"/en/api-reference/decisions/jev/create"}]}]},{"group":"Utilities","pages":[{"group":"Balance","pages":[{"title":"Get balance","deprecated":null,"version":null,"sidebarTitle":"Get balance","openapi":"/openapi/en/utilities/balance.json get /v1/user/balance","href":"/en/api-reference/utilities/balance"}]}]}]}]}]},"title":"Messages - Tikway","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}