Перейти к основному содержанию

Documentation Index

Fetch the complete documentation index at: https://docs.omniakey.com/llms.txt

Use this file to discover all available pages before exploring further.

Use the bare API host for Anthropic-native tools:
https://api.omniakey.com
Claude Code and the Anthropic SDK append /v1/messages automatically.

Messages

POST /v1/messages is the Anthropic Messages endpoint. Use Claude model ids on this surface.
curl https://api.omniakey.com/v1/messages \
  -H "Authorization: Bearer your-omniakey-api-key" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4-8",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Refactor this function for readability."}]
  }'

Claude Code

export ANTHROPIC_BASE_URL="https://api.omniakey.com"
export ANTHROPIC_AUTH_TOKEN="your-omniakey-api-key"
claude