DocsGetting started

OpenAPI specification

Model IDs and options in examples are illustrative. Select an available model from GET /v1/models and check its capabilities and current prices.

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_KEY

OpenAI-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.