Skip to main content
This SDK helps you use the AI Search API in your Node.js or TypeScript projects.
It gives you semantic search with context, flexible response formats, and strong TypeScript support.
👉 To start, create a free account:

Features

  • 🔍 Semantic AI Search – Ask natural language questions
  • 💬 Context Awareness – Add chat-like history
  • 📝 Flexible Responses – Choose Markdown or plain text
  • TypeScript First – IntelliSense & type safety
  • 📊 Usage Tracking – Check your credits anytime

Installation

You can install the SDK with npm or yarn:
Or install from source:

Quick Start

Import and create a client with your API key:

API Reference

Client Configuration

Balance


Usage Examples

Check Balance

Error Handling


TypeScript Support

This client is written in TypeScript. You can use strong typing:

Response Formats

You can choose how answers are returned:
  • Markdown (default): rich formatting, lists, code blocks
  • Text: simple string

Error Codes


Environment Variables

You can store your API key in .env:
Then use it in your code:

Browser Support

This SDK is made for Node.js.
For browser use:
  • Configure CORS
  • Keep your API keys secure

Resources