Skip to main content

LanOnasis API Reference

Welcome to the LanOnasis API documentation. Our REST API provides complete access to the Memory-as-a-Service platform with comprehensive endpoints for memory management, search, analytics, and real-time features. 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

https://api.lanonasis.com/api/v1
Production: https://api.lanonasis.com/api/v1
Sandbox: https://sandbox-api.lanonasis.com/api/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

curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.lanonasis.com/api/v1/memory

Quick Start

Get started with our API in minutes:

import { MemoryClient } from '@lanonasis/memory-client';

const client = new MemoryClient({
apiKey: 'your-api-key',
baseUrl: 'https://api.lanonasis.com/api/v1'
});

// Create a memory
const memory = await client.createMemory({
content: 'Important project notes',
metadata: { project: 'web-app' },
tags: ['work', 'important']
});

// Search memories
const results = await client.searchMemories('project notes');
# Create a memory
curl -X POST https://api.lanonasis.com/api/v1/memory \
-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

Core Memory Operations

Search & Discovery

Batch Operations

  • POST /batch - Perform multiple operations in a single request

Real-time Features

Analytics & Monitoring

Response Format

All API responses follow a consistent format:

Success Response

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

Error Response

{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {
// Additional error details
}
}
}

Rate Limits

TierRequests/MinuteRequests/HourBurst Limit
Free601,000100
Pro30010,000500
EnterpriseCustomCustomCustom

SDKs & Libraries

We provide official SDKs for popular languages:

  • TypeScript/JavaScript: @lanonasis/memory-client
  • Python: lanonasis-python
  • CLI: lanonasis-cli

View all SDKs →

Interactive API Explorer

Try our API directly in your browser with our interactive explorer:

Open API Explorer →

Support

Need help? We're here to assist:

  • Documentation: Browse our comprehensive guides
  • Community: Join our Discord community
  • Support: Contact our support team
  • Status: Check our system status

Get Support →

Next Steps

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