Claude API
Use Anthropic Messages format:x-api-key is also accepted.)
Required fields:
model, messages, max_tokens.
Official docs: MessagesDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Anthropic Messages API on Omniall AI.
POST https://api.omniall.ai/v1/messages
anthropic-version: 2023-06-01
Authorization: Bearer sk-...
x-api-key is also accepted.)
| Scenario | How |
|---|---|
| Text chat / stream | messages + max_tokens (+ stream) |
| Image understanding | Image content blocks in messages |
| PDF / document analysis | document content blocks |
| Web search | Server tool web_search_* (when enabled) |
| Agent | Claude tools + tool_choice |
| Extended thinking | thinking: { type: "enabled", budget_tokens } |
model, messages, max_tokens.
Official docs: Messages