Authentication
All API requests require an API key. Create one from the dashboard and send it as a Bearer token. Anthropic clients can send it as x-api-key instead; when both headers are present, Authorization is used.
Authorization: Bearer ark_live_YOUR_KEYOpenAI-compatible tools take the base URL https://ark.dewaweb.com/v1 and add /chat/completions or /responses themselves. Anthropic-compatible tools such as Claude Code take https://ark.dewaweb.com without /v1, because they add /v1/messages themselves.