Create an Anthropic-compatible message

Anthropic Messages-compatible endpoint. Send the BeatAPI key with x-api-key or Bearer authentication.

身份验证

x-api-keystring

Anthropic-compatible API key header. Use a BeatAPI API key.

OR
AuthorizationBearer

Send your API key as Authorization: Bearer <BEATAPI_API_KEY>.

请求

This endpoint expects an object.
modelstring必需

Public text model id exposed by BeatAPI. Call GET /v1/models to discover the models enabled for your environment.

响应

Anthropic-compatible JSON response or server-sent event stream

错误

401
Unauthorized Error
402
Payment Required Error
429
Too Many Requests Error
502
Bad Gateway Error
503
Service Unavailable Error