Saltar al contenido principal

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.

Usa el host sin sufijo para herramientas Anthropic-native:
https://api.omniakey.com
Claude Code y el Anthropic SDK agregan /v1/messages automáticamente.

Messages

POST /v1/messages es el endpoint Anthropic Messages. Usa model ids de Claude en esta superficie.
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