Kiln AI Docs
Kiln Website
  • Welcome to Kiln AI
  • Docs
    • Quickstart
    • Models and AI Providers
    • Synthetic Data Generation
    • Fine Tuning Guide
    • Evaluations
    • Guide: Train a Reasoning Model
    • Reasoning & Chain of Thought
    • Prompts
    • Reviewing and Rating
    • Collaboration
    • Organizing Datasets
    • Structured Data / JSON
    • Keyboard Shortcuts
    • Privacy
    • Repairing Responses
    • Troubleshooting & Logs
    • Contact Us
  • Developers
    • Python Library Setup
    • Rest API
    • Kiln Data Model
Powered by GitBook
On this page
  • Docs
  • Client Side Libraries
  1. Developers

Rest API

Call Kiln over HTTP

PreviousPython Library SetupNextKiln Data Model

Last updated 4 months ago

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

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

pip install kiln_server

Docs

The explain the endpoints, parameters, response format, and errors.

Client Side Libraries

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

FastAPI
REST API docs
OpenAPI Generator List
Swagger Codegen