ollama/ namespace sends a request to the Ollama server named by the OLLAMA_BASE_URL environment variable of the PromptGuard deployment, default http://localhost:11434/v1. That variable is set by whoever runs PromptGuard, not by the caller, so this route is for a self-hosted PromptGuard running next to your Ollama server.
Configure the deployment
SetOLLAMA_BASE_URL on the PromptGuard API to your Ollama server’s OpenAI-compatible base URL, including /v1:
Send the request
Prefix the model id withollama/. PromptGuard removes the prefix before forwarding, so the rest must be the model name your Ollama server knows (ollama list shows them).
PromptGuard refuses a proxy request with an empty Authorization header, and Ollama ignores the header, so send any non-empty value if your server has no key.