Skip to main content
POST
https://memoryapi-production.up.railway.app
/
search
import requests

response = requests.post(
    "https://memoryapi-production.up.railway.app/search",
    headers={"X-API-Key": "xinobi"},
    json={
        "query": "beach sunset",
        "unique_id": "your-bucket-id"
    }
)
{
  "results": {
    "media": [
      {"videoNo": "VI123", "videoName": "beach", "score": 0.89}
    ],
    "text": [
      {"id": "456", "content": "Amazing sunset at the beach!"}
    ]
  }
}
Search all content in a bucket using natural language.

Parameters

query
string
required
What to search for
unique_id
string
required
Bucket ID
top_k
integer
default:"10"
Max results
import requests

response = requests.post(
    "https://memoryapi-production.up.railway.app/search",
    headers={"X-API-Key": "xinobi"},
    json={
        "query": "beach sunset",
        "unique_id": "your-bucket-id"
    }
)
{
  "results": {
    "media": [
      {"videoNo": "VI123", "videoName": "beach", "score": 0.89}
    ],
    "text": [
      {"id": "456", "content": "Amazing sunset at the beach!"}
    ]
  }
}