Quickstart
This guide will help you make your first API call in under 5 minutes.Prerequisites
An Assisters account (sign up free)
An API key from your dashboard
Python 3.8+ or Node.js 18+ installed
Step 1: Get Your API Key
- Log in to your Assisters Dashboard
- Navigate to API Keys
- Click Create New Key
- Copy your key (it starts with
ask_)
Step 2: Install the SDK
Since Assisters API is OpenAI-compatible, you can use the official OpenAI SDK:Step 3: Make Your First Request
Step 4: Use Streaming (Optional)
For real-time responses, enable streaming:Step 5: Try Other Endpoints
Create Embeddings
Content Moderation
Understanding the Response
A typical chat completion response looks like this:The
usage field shows token consumption, which determines your billing. See token counting for details.Environment Variables
For production, use environment variables instead of hardcoding your API key:Next Steps
Authentication
Learn about API keys and security best practices
API Reference
Explore all available endpoints and parameters
Models
Choose the right model for your use case
Rate Limits
Understand rate limits and how to handle them
Troubleshooting
401 Unauthorized Error
401 Unauthorized Error
429 Rate Limit Error
429 Rate Limit Error
- You’ve exceeded your tier’s rate limit (RPM or TPM)
- Wait a moment and retry, or upgrade your plan
- Check
X-RateLimit-*headers for current limits
Model Not Found
Model Not Found
- Check the model name matches exactly (case-sensitive)
- Some models may require a paid plan
- See available models for the full list