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.

This API Allows You To Perform The Following Actions:

  • Chat Completions (Chat with a model of your choice- fine-tuned or pre-trained).
  • Models (See what models are available).
  • Internal Models (See what internal models are available on your account including models you’ve fine-tuned).

Authentication

All API endpoints are authenticated using Bearer tokens and picked up from the specification file.

"security": [
  {
    "bearerAuth": []
  }
]