Apenia API — Access LLM & DeepScoring Models
Docs v1 — Let your app talk to Apenia’s Language Models and DeepScoring engine in minutes.
📌 Base URLs
-
Sandbox: https://api.sandbox.apenia.com/v1
-
Production: https://api.apenia.com/v1
Authorization: Bearer <API_KEY>
Content-Type: application/json
1️⃣ Getting Started
-
Sign up on Apenia Developer Portal
-
Create a Project → Generate API key (read, invoke scopes)
-
Keep the key server-side only
2️⃣ LLM — Text Generation
Endpoint
POST /models/lm/predict
Request
{
"model": "apenia-lm-1.0",
"prompt": "Draft a short SMS to confirm a transaction of KES 2,500.",
"max_tokens": 120,
"temperature": 0.2
}