Skip to main content
This is the API Reference for Prem AI. Here you can find documentation for all of the endpoints that are available in the Prem API. You can use the sidebar to navigate to the different sections. Prem provides a REST API that you can use to interact with the platform with any programming language that can make HTTP requests.

πŸš€ End-to-End Walkthroughs

New to Prem? Start here! These comprehensive walkthroughs guide you through complete workflows from data ingestion to fine-tuning, showing you how to use multiple API endpoints together.

API Endpoints

Build your data pipeline

Run and observe models

Authentication

All API endpoints are authenticated using Bearer tokens. You’ll need to create an API key first - see our API Key guide for instructions. Once you have your API key, include it in the Authorization header:
Authorization: Bearer YOUR_API_KEY
The authentication is automatically picked up from the OpenAPI specification file:
"security": [
  {
    "bearerAuth": []
  }
]