Create a message
The Anthropic Messages API: system prompts, multi-turn messages with text, image, tool_use and tool_result blocks, client tools and tool_choice, extended thinking, stop_sequences and streaming with the standard event sequence. Any claude-* model name runs DeepSeek V4.1 Flash, and the reply echoes the name you sent. Thinking (thinking.type enabled or adaptive, or output_config.effort) turns reasoning on; it comes back as thinking blocks. Anthropic server tools are ignored. Usage reports cache_read_input_tokens for prompt tokens billed at the cached rate. Errors use the Anthropic shape.
Request
- Base URLhttps://api.openscale.so/anthropic/v1
- URLhttps://api.openscale.so/anthropic/v1/messages
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
Response
The message, or an SSE stream when stream is true: message_start, content_block_start, content_block_delta, content_block_stop, message_delta and message_stop.
Changes
No recorded changes to this operation across all 1 revision of this API.