Skip to content
Kiln AI

REST API

Call Kiln over HTTP

PyPI - Version Docs

We also offer an open-source self-hostable REST API (web API) for Kiln, based on FastAPI.

To install the Kiln rest API, run the following command:

Terminal window
pip install kiln_server

The REST API docs explain the endpoints, parameters, response format, and errors.

The REST API supports OpenAPI, which means you can generate typed client libraries for almost any language using code generators: