Powerful REST API

Build custom applications with our complete REST API. Streaming responses, webhooks, and enterprise-grade features.

Complete API Features

Everything developers need

Streaming Responses

Real-time streaming with WebSocket support for live responses.

REST Endpoints

Complete RESTful API for all operations.

Authentication

JWT tokens and API key support for secure access.

Rate Limiting

Fair-use rate limiting with configurable tiers.

Webhooks

Event-driven architecture for asynchronous processing.

SDK Support

Official SDKs for Python, JavaScript, and Go.

Core Endpoints

Start with these essential endpoints

POST/chat/query

Send a message and get AI response

POST/chat/stream

Stream AI responses in real-time

GET/documents

List all training documents

POST/documents/upload

Upload new training data

GET/usage

Get usage statistics

GET/agents

List all AI agents

Quick Start

Get up and running in minutes

# Install SDK

npm install @mindsentry/sdk

# Initialize Client

const { Mindsentry } = require('@mindsentry/sdk');

const client = new Mindsentry({
  apiKey: 'your-api-key',
  agentId: 'your-agent-id'
});

# Send a Query

const response = await client.chat.query({
  message: 'What is your return policy?',
  stream: true
});

response.on('chunk', (chunk) => {
  console.log(chunk.text);
});

Use Cases

What can you build?

Custom AI chatbot in your application
Embed AI into mobile apps
Build complex automation workflows
Create voice assistants
Real-time chat interfaces
Batch processing of multiple queries
Custom integrations
Enterprise deployments

Authentication

Secure your API with JWT tokens or API keys.

API Key Auth

Pass API key in Authorization header

Authorization: Bearer your-api-key

JWT Token

Exchange credentials for JWT token

Authorization: Bearer eyJhbGc...

Rate Limiting

Based on your plan. Includes headers showing limits.

X-RateLimit-Remaining: 4999

Ready to Build with Our API?

Get your API key today and start building. Full documentation and SDKs included.

Get API Key