Overview

LLMule provides a RESTful API for interacting with decentralized LLM providers. The API follows OpenAI-compatible patterns for easy integration with existing tools and libraries.

Authentication

All API requests require authentication using an API key provided during registration.

curl -H "x-api-key: your_api_key" <https://api.llmule.xyz/v1/>...

Base URL

<https://api.llmule.xyz>

Endpoints

Authentication

Register for Beta Access

POST /auth/register

Request Body:

{
  "email": "[email protected]"
}

Chat Completions

Create Chat Completion

POST /v1/chat/completions

Headers:

x-api-key: your_api_key
Content-Type: application/json

Request Body: