Open WebUI#
Get API key from Settings > Account > API Key
and save in pass
:
pass insert open-webui-api-key
List Models#
OPEN_WEBUI_API_KEY=$(pass open-webui-api-key)
curl \
-H "Authorization: Bearer $OPEN_WEBUI_API_KEY" \
http://localhost:3000/api/models \
| jq -r '.data | .[] | .id' \
| sort
OpenAI Proxy#
Use http://localhost:3000/api
as OpenAI Server URL.