API Reference
Base URL
https://api.thalosforge.com/v1
Authentication
All requests require an API key in the Authorization header:
Authorization: Bearer sk_live_xxxxx
Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /decide | Make a single decision |
POST | /batch | Make multiple decisions |
GET | /usage | Get usage statistics |
GET | /health | Health check (no auth) |
Rate Limits
| Plan | Requests/Minute | Requests/Month |
|---|---|---|
| Free | 10 | 1,000 |
| SDK | 100 | 1,000,000 |
| RTL | 1,000 | 10,000,000 |
| Enterprise | Custom | Unlimited |
Rate limit headers are included in every response:
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1703097600
Detailed Documentation
- POST /decide - Single decision endpoint
- POST /batch - Batch decision endpoint
- GET /usage - Usage statistics
- Error Codes - Error handling