Skip to main content

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

MethodEndpointDescription
POST/memory-bucket/createCreate a bucket
POST/memory-bucket/deleteDelete a bucket
POST/uploadUpload text/URL (JSON)
POST/upload/fileUpload image/video (form)
POST/searchSearch a bucket
POST/search/multipleSearch multiple buckets

Auth

X-API-Key: xinobi

Base URL

https://memoryapi-production.up.railway.app