Skip to main content

How to expose the Knowledge Graph Manager

Overview​

By default, the Knowledge Graph Manager (KGM) is not reachable from outside the Witboost cluster.

If you need to make it accessible — for example, to call its /sparql or /search endpoints — you can expose it through the Witboost Core proxy.

1. Configure the Proxy​

Add the following configuration under the ui.appConfig section of the Witboost Helm Chart (values.yaml):

proxy:
endpoints:
'/kgm':
target: 'http://kgm:8080'
credentials: require

This tells Witboost Core to transparently forward authenticated requests to the KGM service.

2. Call the proxied endpoints​

Once the proxy is configured, the KGM API becomes available at:

<witboost-url>/api/proxy/kgm

All requests must include an Authorization header containing a valid Witboost user or Service Account JWT.

Example:

Authorization: Bearer <token>

Learn more about: