Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Any → chat_completion_api_chat_completions_post

AI-generated

Summary

Send a POST request to the Open Web UI's chat completions API endpoint to generate chat completion responses based on provided request body parameters.

Inputs

  • Skip Authentication — Optionally disable authentication for this request (default is false, meaning authentication is used).
  • Authentication (required) — Uses the configured 'Open WebUI Auth' credentials unless authentication is skipped.
  • Method (required) — HTTP method to use; fixed to POST for this operation (though UI shows options, only POST is relevant here).
  • Request Body (required) — JSON object containing the parameters to send in the chat completions request body adhering to the expected schema.
  • Media Type (required) — The content type of the request, fixed to 'application/json' for this operation.

Output shape

a single JSON response object containing the chat completion result returned by the API

The operation sends a POST request to the fixed path '/api/chat/completions' on the base URL defined by the OpenWebUI Auth credential (default 'http://open-webui:8080'). The request body parameters are required and must conform to the expected JSON schema. Authentication is applied unless explicitly skipped. The response content shape depends on the API but is returned as a parsed JSON object.

Links

Discussion