🚀 MetQube API

API Gateway for MetQube Services

Base URL: https://api.metqube.com

Authentication: Most endpoints require authentication. Use the User Management API to obtain access tokens.

API Version: All APIs are versioned. Check individual service documentation for version details.

👥 User Management API

Comprehensive user, role, permission, and tenant management system. Handles authentication, authorization, and user lifecycle management.

Available Endpoints:

POST /user-mgmnt/auth/login - User authentication
POST /user-mgmnt/auth/register - User registration
GET /user-mgmnt/users - List users
GET /user-mgmnt/users/{id} - Get user details
GET /user-mgmnt/docs - API documentation
GET /user-mgmnt/health - Health check
Active

🔍 Query Engine API

Powerful SQL query execution engine with support for multiple data sources, query scheduling, and real-time WebSocket connections for query results.

Available Endpoints:

POST /query-engine/api/v1/queries - Execute SQL query
GET /query-engine/api/data_sources - List data sources
POST /query-engine/api/data_sources - Create data source
GET /query-engine/api/v1/queries/{id} - Get query status
WS /query-engine/ws/{run_id} - WebSocket for real-time results
GET /query-engine/docs - API documentation
GET /query-engine/health - Health check
Active

📖 Quick Start

To get started with the MetQube API:

  1. Authenticate using the User Management API to obtain an access token
  2. Use the access token in the Authorization header for protected endpoints
  3. Execute queries and manage data sources through the Query Engine API

For detailed examples, request/response formats, and API specifications, visit the individual API documentation endpoints listed above.