To access the Ollama REST API at /api you need an AuthKey.
Please contact lars.wessels@iosb.fraunhofer.de
Simple REST API call with curl to test your AuthKey:
curl -H "Authorization: Bearer YYYYYYYY:XXXXXXXXXX...XXXXXXXXXX" \
https://icps-ollama.iosb.fraunhofer.de/api/generate -d '{
"model": "llama3:8b",
"prompt": "Why is the sky blue?"
}'
For futher information refer to the Ollama API Documentation.