Anthropic
Create message (Anthropic-compatible)
Creates a model response using Anthropic's native request format. Supports Claude models with vision and streaming.
Authentication: Use x-api-key header or Authorization: Bearer header.
post/v1/messages
Request
- Base URL: https://api.tokenlab.sh
- URL: https://api.tokenlab.sh/v1/messages
- Auth: HTTP bearer
Headers
X-TokenLab-Delivery-Policy'auto' | 'verified' | 'official'
Per-request Delivery policy. Overrides the API key and Workspace defaults. Auto tries TokenLab Verified first and may switch once to Official only before output, request acceptance, or persistent resource creation.
Request body
Example request
{
"model": "claude-sonnet-4-6"
}Response
Successful response
Example response
{
"id": "msg_01XFDUDYJgAACzvnptvVoYEL"
}Changes
No recorded changes to this operation across all 1 revision of this API.