Skip to main content

LanOnasis API Reference

Welcome to the LanOnasis Memory-as-a-Service API documentation. Our REST API allows you to integrate powerful memory management and semantic search capabilities into your applications.

Base URL

Production: https://api.lanonasis.com/v1
Sandbox: https://sandbox-api.lanonasis.com/v1

Authentication

All API requests require authentication using API keys. Include your API key in the request headers:

Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Quick Start

# Create a memory
curl -X POST https://api.lanonasis.com/v1/memories \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Meeting Notes",
"content": "Discussed project timeline and deliverables",
"tags": ["meeting", "project"],
"metadata": {
"date": "2024-01-15",
"participants": ["john", "jane"]
}
}'

API Endpoints

🧠 Memory Management

🔍 Search & Discovery

🔐 Authentication

📊 Analytics

Response Format

All API responses follow a consistent format:

{
"success": true,
"data": {
// Response data here
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"request_id": "req_123456789"
}
}

Error Handling

Error responses include detailed information:

{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters",
"details": {
"field": "title",
"issue": "Title is required"
}
},
"meta": {
"timestamp": "2024-01-15T10:30:00Z",
"request_id": "req_123456789"
}
}

Rate Limits

PlanRequests/minuteRequests/hourStorage
Free1001,00010MB
Pro1,00010,0001GB
Enterprise10,000100,000Unlimited

SDKs & Libraries

We provide official SDKs for popular programming languages:

Getting Help

Next Steps

  1. Get your API key
  2. Create your first memory
  3. Try semantic search
  4. Explore our SDKs