BeeBridge AIBeeBridge AI
API Reference
AI Model APIChat
⚠️Compliance notice: Use this project only for lawfully authorized API gateway, internal management, and private deployment scenarios. Follow upstream terms of service, platform rules, regulatory requirements, and content safety requirements.

Native Claude Format

Requests in Anthropic Claude Messages API format. Requires anthropic-version in the request header.

POST
/v1/messages
AuthorizationBearer <token>

Authenticate with a Bearer token. Format: Authorization: Bearer sk-xxxxxx

In: header

Header Parameters

anthropic-versionstring

Anthropic API version

x-api-key?string

Anthropic API key (optional; a Bearer token can also be used)

modelstring
messages
system?string|
max_tokensinteger
Range1 <= value
temperature?number
Range0 <= value <= 1
top_p?number
top_k?integer
stream?boolean
stop_sequences?array<string>
tools?
tool_choice?
thinking?
metadata?

Response Body

application/json

curl -X POST "https://api.beeaicloud.com/v1/messages" \  -H "anthropic-version: 2023-06-01" \  -H "Content-Type: application/json" \  -d '{    "model": "claude-3-opus-20240229",    "messages": [      {        "role": "user",        "content": "string"      }    ],    "max_tokens": 1  }'
{
  "id": "string",
  "type": "message",
  "role": "assistant",
  "content": [
    {
      "type": "string",
      "text": "string"
    }
  ],
  "model": "string",
  "stop_reason": "end_turn",
  "usage": {
    "input_tokens": 0,
    "output_tokens": 0,
    "cache_creation_input_tokens": 0,
    "cache_read_input_tokens": 0
  }
}

How is this guide?

Native Claude Format | BeeBridge AI