Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Prompts → get_prompt_by_command_api_v1_prompts_command__command__get

AI-generated

Summary

Retrieve a prompt by its command identifier from the Open Web UI API.

Inputs

  • Command (required) — The command string identifier of the prompt to retrieve.
  • Skip Authentication — Whether to skip authentication for this request. Defaults to false.

Output shape

A single prompt object corresponding to the specified command or an error if not found.

The command parameter is required and used as a path parameter in the GET request to '/api/v1/prompts/command/{command}'. Authentication is applied by default unless skipped. The base URL defaults to 'http://open-webui:8080'.

Examples

Example 1: Fetch the prompt associated with command 'exampleCommand'.

Set 'Command' path parameter to 'exampleCommand' with default authentication enabled and method GET.

Links

Discussion