generate_messages_api_v1_messages_post
Converts Anthropic Messages API requests to OpenAI Chat Completions format, processes through Open WebUI, and returns responses in Anthropic format for any configured model.
Instructions
Anthropic Messages API compatible endpoint.
Accepts the Anthropic Messages API format, converts internally to OpenAI Chat Completions format, routes through the existing chat completion pipeline, then converts the response back to Anthropic Messages format.
Supports both streaming and non-streaming requests. All models configured in Open WebUI are accessible via this endpoint.
Authentication: Supports both standard Authorization header and Anthropic's x-api-key header (via middleware translation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_data | Yes |