Production-ready APIs
for your sovereign AI.
Integrate RAG, Text-to-SQL and AI agents into your applications in a few lines of code. Secure REST APIs, webhooks, official SDKs.
curl -X POST \
"https://platform.akorbit.com/api/v1/agents/ag_rh_001/query" \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"query": "What is the remote work policy?",
"user_id": "user_482",
"stream": false
}'
# API response
{
"answer": "The remote work policy allows 3 days/week...",
"sources": ["Convention_RH_2024.pdf"],
"confidence": 0.97
}
Secured by Bearer token
All API requests are authenticated via a Bearer token. Manage your keys from the Akorbit console with granular permission levels.
Create your account
Sign up at platform.akorbit.com and access your developer workspace.
Generate an API key
Create an API key with the permissions suited to your use case.
Integrate in a few lines
Use our SDKs or call the REST API directly from your application.
readingestagentsadminKey endpoints
A consistent and documented API for all your needs: document ingestion, RAG, AI agents, Text-to-SQL and workflows.
/documents/ingest
Ingestion
Ingest and index a document
file → rapport_Q3.pdf collection_id→ "col_finance_001" ocr → true language → "fr"
{ "document_id": "doc_8f2a...", "status": "indexed", "chunks": 142, "ocr_applied": true }
/vectors/ingest
Ingestion
Ingest vector embeddings
{ "collection_id": "col_rh_001", "vectors": [{ "id": "chunk_001", "embedding": [0.12, 0.87, ...], "text": "Article 3 — Contract term: 12 months", "metadata": {"source": "doc.pdf"} }] }
{ "inserted": 48, "collection_id": "col_rh_001", "status": "success" }
/chat/query
RAG
Query a collection with RAG
{ "collection_id": "col_finance_001", "query": "What is the Q3 net margin?", "top_k": 5, "stream": false }
{ "answer": "The Q3 net margin is 18.4%...", "sources": [{ "file": "Rapport_Q3.pdf", "page": 12, "score": 0.94 }] }
/agents/{agent_id}/query
Agents
Run an AI agent on a query
{ "query": "What is my leave policy?", "user_id": "user_482", "session_id": "sess_abc123", "stream": false }
{ "answer": "According to the 2024 HR agreement, you are entitled to...", "agent_id": "ag_rh_001", "sources": ["Convention_RH.pdf"], "confidence": 0.97 }
/sql/query
Text-to-SQL
Convert a question to SQL and execute
{ "datasource_id": "db_erp_001", "query": "Top 5 products by revenue this quarter?", "execute": true }
{ "sql": "SELECT name, SUM(amount)...", "results": [{"name":"Alice",...}], "rows": 5 }
/workflows/{workflow_id}/run
Workflow
Trigger an automated workflow
{ "input": { "document_url": "https://...", "action": "summarize_and_tag" } }
{ "run_id": "run_7d9f...", "status": "running", "webhook_url": "https://..." }
What you can build
Document chatbot
Embed an AI assistant into your intranet or internal tools.
- Sourced answers from your documents
- Multi-language support
- Conversation history
Business AI agent
Create specialized agents for HR, finance, support or sales.
- Access to your internal systems
- Automated actions triggered
- Human escalation when needed
Document pipeline
Automate extraction, classification and indexing of documents.
- Automatic OCR
- Category-based classification
- Real-time notifications
Workflow automation
Trigger complex workflows from your business events.
- Webhook triggers
- Sequential processing chains
- Logs and monitoring
Data analysis
Connect your data warehouses and query them in natural language.
- SQL generated automatically
- Results in structured JSON
- Compatible with all SQL warehouses
Product integration
Embed Akorbit AI directly into your SaaS product.
- White-labeling available
- Per-user rate limiting
- Built-in analytics dashboard
Integrate in your favorite language
Python
Official SDKJavaScript
Node.js / BrowserPHP
Official SDKREST / cURL
Compatible with all languagesReady to integrate AI into your product?
Get your API key and start building in minutes.