Documentation Index
Fetch the complete documentation index at: https://docs.xinobi-ai.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Store videos, images, and text in buckets. Search everything with natural language.
Buckets
Organize content into memory buckets
Upload
Images, videos, text — even combined
Search
AI-powered natural language search
Simple
One API key, 6 endpoints
Quick Start
import requests
# 1. Create a bucket
response = requests.post(
"https://memoryapi-production.up.railway.app/memory-bucket/create",
headers={"X-API-Key": "xinobi"},
json={"name": "My Memories"}
)
bucket_id = response.json()["bucket_id"]
# 2. Upload text (JSON)
requests.post(
"https://memoryapi-production.up.railway.app/upload",
headers={"X-API-Key": "xinobi", "Content-Type": "application/json"},
json={"unique_id": bucket_id, "text": "Beach sunset in Hawaii"}
)
# 3. Upload image (multipart form)
requests.post(
"https://memoryapi-production.up.railway.app/upload/file",
headers={"X-API-Key": "xinobi"},
data={"unique_id": bucket_id},
files={"file": open("sunset.jpg", "rb")}
)
# 4. Search
response = requests.post(
"https://memoryapi-production.up.railway.app/search",
headers={"X-API-Key": "xinobi"},
json={"query": "beach vacation", "unique_id": bucket_id}
)
print(response.json()["results"])
Endpoints
| Method | Endpoint | Description |
|---|
POST | /memory-bucket/create | Create a bucket |
POST | /memory-bucket/delete | Delete a bucket |
POST | /upload | Upload text/URL (JSON) |
POST | /upload/file | Upload image/video (form) |
POST | /search | Search a bucket |
POST | /search/multiple | Search multiple buckets |
Auth
Base URL
https://memoryapi-production.up.railway.app