| .. | ||
| account_manager.md | ||
| database.md | ||
| encryption.md | ||
| model_manager.md | ||
| operation_logger.md | ||
| provider_manager.md | ||
| README.md | ||
| tenant_manager.md | ||
Dify Admin API Documentation
Overview
This documentation covers the core API modules of the Dify Admin system. Each module provides specific functionality for managing the administration platform.
Module Documentation
Account Management
- User account creation and management
- Password hashing and verification
- Tenant association
Tenant Management
- Workspace/tenant creation
- RSA key pair generation
- Tenant search and retrieval
Model Management
- AI model configuration
- Model encryption and storage
- Bulk operations
Provider Management
- AI service provider management
- API key encryption
- Provider configuration
Database Operations
- Connection pooling
- SQL execution helpers
- Database initialization
Operation Logging
- Audit trail recording
- Log querying
- Log maintenance
Encryption Services
- Hybrid encryption (RSA + AES)
- Key management
- API key protection
Getting Started
To use these APIs, import the required module and instantiate the appropriate class:
from api.account_manager import AccountManager
account_mgr = AccountManager()
Security Notes
- All sensitive operations use encryption
- API keys are never stored in plaintext
- Detailed logging for audit purposes