Skip to main content
The Raily SDKs let your application search your connected data with a single call — install, add your endpoint URL and API key, and get back ranked, structured results.

Python

pip install raily-ai

TypeScript / JavaScript

npm install @raily/sdk
Both SDKs share the same shape:
client.search("your search query", limit=5)  # → ranked results with display fields
New to it? Start with the SDK quickstart — get a key and run your first search in a couple of minutes.

What you get

  • One callsearch(query, limit) returns ranked results; no setup beyond a key.
  • Typed results — each hit has a score, the source it came from, and your source’s display fields (title, text, dates, …).
  • Sync and async (Python) and promise-based (TypeScript), safe to reuse across requests.
  • Clear errors — a dedicated RailyAuthError for key problems, RailyError for the rest.