ナビゲーションにスキップ

Create a text response

Recommended OpenAI-compatible surface for reasoning, tools, structured outputs, and streaming. Unknown request fields are ignored, as on the OpenAI API; POST /v1/capabilities/run refuses them.

認証

AuthorizationBearer

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

OR
x-api-keystring

Anthropic-compatible API key header. Use a 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.

レスポンス

OpenAI-compatible JSON response or server-sent event stream

エラー

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error