Setup
Edit
.env
with your preferred configuration. See Setup Configuration guides for all available options.Deployment Methods
Start Server
Access API
- API: http://localhost:8000
- Documentation: http://localhost:8000/docs
Authentication
IfREQUIRE_AUTHENTICATION=true
in your .env
file:
- Register:
POST /api/v1/auth/register
- Login:
POST /api/v1/auth/login
- Use token: Include
Authorization: Bearer <token>
header or use cookies
API Examples
Authentication
Authentication
Register a user:Login and get token:
Dataset Management
Dataset Management
Create a dataset:List datasets:
Data Operations
Data Operations
Add data (upload file):Build knowledge graph:Search data:
Multi-tenant Operations
Multi-tenant Operations
Create tenant:Add user to tenant:Create role:Assign user to role:Grant dataset permissions: