PhariaOS Applications Proxy

The PhariaOS Applications Proxy enables you to access deployed applications.

By default, the PhariaOS Applications Proxy is available at https://pharia-os-applications.<your.pharia-ai.domain.com>.

The request must begin with the application ID and be followed by the destination request endpoint provided by the application itself.

For example, if your application exposes the execute endpoint, you can call your app with the following request:

curl --request POST \
  --url 'https://pharia-os-applications.<your.pharia-ai.domain.com>/<application-id>/execute' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "question": "what is your favorite color?"
}'

A valid request and resource path returns the expected resource in the response.

If the request path does not resolve to an available application, the response status code is 502 (Bad Gateway).