POST
https://api.rodiumai.io/v1/messagesAPI
Create message
Native Anthropic request/response (and SSE). Auth with x-api-key or Bearer rd_sk_…
Auth
Use the same Rodium API key as OpenAI mode. Prefer x-api-key with the Anthropic SDK; Bearer also works.
Request body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Required | Anthropic catalogue id (e.g. anthropic/claude-sonnet-4-6). Claude-first MVP. |
| messages | array | Required | Anthropic Messages array (role + content blocks or text). |
| max_tokens | integer | Required | Maximum output tokens (required by Anthropic Messages). |
| system | string | array | Optional | Optional system prompt. |
| stream | boolean | Optional | When true, returns native Anthropic SSE (message_start, content_block_delta, …). |
| temperature | number | Optional | Sampling temperature when supported. |
| tools | array | Optional | Anthropic tool definitions (non-stream recommended for tool rounds). |
Examples
…