API Reference
The Synjar API allows you to programmatically interact with your knowledge base. Use it to upload documents, search your knowledge base, and manage workspaces.
Interactive Docs
For an interactive API playground, visit /api/docs on your Synjar instance (e.g., https://api.synjar.com/api/docs).
Base URL
# Cloud
https://api.synjar.com/v1
# Self-hosted
https://your-domain.com/api/v1
Authentication
All API requests require authentication via Bearer token.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.synjar.com/v1/workspaces
Endpoints
| Resource | Description |
|---|---|
| Workspaces | Create and manage workspaces |
| Documents | Upload, process, and manage documents |
| Search | Semantic search across your knowledge base |
| Search Links | Public semantic search API |
| Instruction Sets | Curated document collections for LLM context |
See API Quickstart for code examples.
Rate Limits
| Plan | Requests/minute |
|---|---|
| Community | 100 |
| Starter | 500 |
| Professional | 2000 |
| Enterprise | Custom |