Anthropic Messages
Aikey365 implements an Anthropic Messages-compatible route:
text
POST /v1/messagesTypical Base URL:
text
https://aikey365.comMinimal request
bash
curl https://aikey365.com/v1/messages \
-H "x-api-key: $AIKEY365_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_MODEL_ID",
"max_tokens": 256,
"messages": [{"role": "user", "content": "Hello"}]
}'Bearer token authentication is also handled by the Aikey365 middleware. For Anthropic ecosystem tools, prefer the gateway credential mechanism supported by the current client version.
Model listing
GET /v1/models detects Anthropic-specific headers and can return the corresponding model representation.
Advanced capabilities
Tools, extended reasoning, caching, and multimodal features can depend on both the model and the upstream route. Validate each capability separately.