Skip to Content

REST API for Inference

Context

The REST API facilitates easy access and usage of existing BayesiaLab models by hosting your XBL files on Bayesia’s secure servers. Instead of utilizing a locally-installed JAR file, Bayesia provides a (stateless) REST service that allows you to interact with your models using simple HTTP calls. By not requiring any Java programming, this simplifies the integration of BayesiaLab models into applications, e.g., websites.

However, you cannot create or modify your BayesiaLab models using the REST API. It is limited to performing inference.

Example