Build AI Features in Minutes
Explore the APIs powering autocomplete, search, text enhancement, and context-aware responses—all with minimal setup and maximum control.
No-Code / Low-Code Context Management
Flexible options for teams & developersManage app and user-level context directly through the natrul.ai workspace or build your own ingestion pipelines via API. Easily upload, update, or remove indexed documents without writing backend logic.
Use Cases: team onboarding, AI-ready support docs, developer-controlled automations
POST /api/v1/apps/add-context
FormData: app_id, owner_id, files[]
Query Assistant
Ask questions, get answers from your own contentSend natural language queries to receive AI-generated answers grounded in the content you’ve uploaded. No model training required — it works out of the box.
Use Cases: custom AI chatbot, internal Q&A tools, contextual FAQs
POST /api/v1/ai/query
Body: {"query": "What are our onboarding steps?", "app_id": "YOUR_APP_ID", "user_key": "USER_KEY" (optional, any added user)}
Context-Aware Retrieval
Smart search through app & user dataRetrieve relevant results from uploaded documents using vector search tailored to your app or user ID. Results are ranked by semantic relevance.
Use Cases: smart document search, helpdesk AI, organization-specific lookup
POST /api/v1/ai/retrieve-context
Body: {"query": "reset password", "app_id": "YOUR_APP_ID", "user_key": "USER_KEY" (optional, any added user)}
Smart Autocomplete
Instantly complete phrases from indexed contextAuto-complete partial user input using terms from your indexed documents. Perfect for predictive inputs or assistive form fields.
Use Cases: autocomplete search bars, field prediction, code suggestion
POST /api/v1/ai/complete-input
Body: {"query": "Auto", "app_id": "YOUR_APP_ID", "user_key": "USER_KEY" (optional, any added user)}
Text Enhancement
Improve grammar and clarity automaticallyEnhance the tone and structure of user-generated input while preserving the original intent. Ideal for customer replies or professional output.
Use Cases: support replies, AI-assisted writing, marketing content cleanup
POST /api/v1/ai/enhance-input
Body: {"query": "i dont know whats happening", "app_id": "YOUR_APP_ID", "user_key": "USER_KEY" (optional, any added user)}
Coming Soon
Features we're working on bring to natrul.aiChat API Coming Soon
Maintain memory across user questions in app-specific conversationsEnable persistent, AI-powered chat experiences within your app. This feature will allow for back-and-forth conversation threads that retain context over time — tailored to each app's content and use case.
Use Cases: in-app chatbots, customer support agents, AI-powered tutors, project-specific conversation threads
This feature is in development and will be available to select plans when released.