Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
POST /v1/messages
curl https://bearlab.ai/v1/messages \ -H "x-api-key: $BEARLAB_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "Content-Type: application/json" \ -d '{ "model": "your-claude-model-id", "max_tokens": 256, "messages": [{"role": "user", "content": "你好"}] }'
model
messages
user
assistant
max_tokens
stream
anthropic-version
Authorization: Bearer sk-...