Accessing the OpenWebUI API
-
My goal is to connect OpenWebUI via n8n
I tried with
App ID: http://e704da83-fe32-3032-133f-01ba96ab147b/api/models
and also https://openwebui.domain.tld/api/models
but none of them worksI use the JWT Token with:
Authorization:
Bearer YOUR_API_KEYand saddly it doesnt work.
does anybody succeed ?
-
Works for me . What failed for you? I used a API Key (NOTE: this is different from JWT token, I don't know how to use a JWT token)
-
thanks
so it only works for me in n8n
if I use the external domain (https://openwebui.domain.com/api/models)
it does'nt work with App ID: http://e704da83-fe32-3032-133f-01ba96ab147b/api/models -
J JOduMonT referenced this topic
-
Do you have any error codes or so to share? Also just to make sure, if you run
host e704da83-fe32-3032-133f-01ba96ab147b
from a webterminal into n8n, does it resolve correctly to the openwebui container?If yes, it is also possible that openweb ui validates the hostname which in this case wouldn't be known by it. So either way using the actual domain of the app will be the correct way, also https will only work there.