Port: 9001
Technology: Go + Gin Framework
Language: Go 1.25+
Database: PostgreSQL (web_db)
Purpose
The Web API is responsible for:- User authentication and authorization
- Organization and workspace management
- Project management
- Credential storage and encryption
- API key generation and validation
- Dashboard API endpoints
- Configuration management
- Audit logging
Key Features
User Management
- User registration and login
- JWT-based authentication
- OAuth 2.0 integration (Google, GitHub, etc.)
- Session management
- Password reset and recovery
- Multi-factor authentication support
Organization & Workspace
- Create and manage organizations
- Multi-tenancy with organization isolation
- Workspace boundaries for projects
- Project grouping and organization
- Role-based access control (RBAC)
Credential Management
- Secure storage of API keys (encrypted with AES-256)
- Provider credential validation
- Credential rotation support
- Audit trail for credential access
- Permission-based credential access
API Key Management
- Generate API keys for service authentication
- Revoke keys on demand
- Track key usage and rotation
- IP-based restrictions
- Rate limiting per key