Back – Docs
OLLMDocs

Getting Started

Quickstart guide for using the OLLM API

Getting Started

Welcome to the OLLM documentation.

This is an example callout component.

First Request

POST/v1/chat/completions
const response = await fetch("https://api.ollm.com/v1/chat/completions", {
method: "POST",
headers: {
  Authorization: "Bearer YOUR_API_KEY",
  "Content-Type": "application/json",
},
body: JSON.stringify({
  prompt: "Hello, world!",
}),
});