Full REST API for integrating ThinkLocAI into your applications. Streaming support, OAuth, and comprehensive documentation.
// ThinkLocAI REST API
const response = await fetch('/api/chat', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model: 'llama-3.1-70b',
messages: [
{ role: 'user', content: 'Zusammenfassung...' }
],
stream: true
})
});Full RESTful API with JSON responses for all ThinkLocAI features.
Server-Sent Events for real-time token streaming of responses.
Secure authentication with bearer tokens and refresh mechanism.
Event-based notifications for asynchronous workflows.
Complete OpenAPI 3.0 documentation for automatic client generation.
Native SDKs for Python, JavaScript/TypeScript, and more languages.
Integrate AI into your existing automation platforms like n8n or Zapier.
Connect to ERP, CRM, and other enterprise systems via API.
Build tailored AI applications on top of the ThinkLocAI API.
Get started with our API documentation and build your AI application.