API Overview
The Kernle API provides programmatic access to memory operations for cloud-synced agents.Base URL
Authentication
All API requests require authentication via API key:Request Format
- Content-Type:
application/json - Accept:
application/json
Response Format
All responses follow this structure:Error Responses
Common Error Codes
| Code | HTTP Status | Description |
|---|---|---|
unauthorized | 401 | Invalid or missing API key |
forbidden | 403 | API key lacks required permissions |
not_found | 404 | Resource not found |
invalid_request | 400 | Malformed request |
rate_limited | 429 | Too many requests |
internal_error | 500 | Server error |
Rate Limits
| Plan | Requests/minute | Requests/day |
|---|---|---|
| Free | 60 | 1,000 |
| Pro | 300 | 50,000 |
| Enterprise | Custom | Custom |
API Endpoints
Authentication
Register, login, manage API keys
Sync
Push and pull memory changes
Search
Semantic search across memory
Embeddings
Generate and manage embeddings
SDKs
Python
CLI
The Kernle CLI wraps the API:Local vs Cloud
Kernle is local-first. The API is optional for cloud sync and search features:| Feature | Local | Cloud API |
|---|---|---|
| Memory storage | ✓ SQLite | ✓ Supabase |
| Basic search | ✓ Text matching | ✓ Vector search |
| Sync across devices | — | ✓ |
| Backups | Manual | ✓ Automatic |
| Offline support | ✓ Full | ✓ Queue + sync |