API Reference¶
Champa Intelligence provides a comprehensive REST API for programmatic access to all platform features. The API follows RESTful principles, uses JSON for request/response payloads, and requires JWT-based authentication.
API Overview¶
Base URL¶
All API endpoints are relative to this base URL.
Authentication¶
All API requests require authentication using either:
- JWT Token (for user sessions)
- API Token (for programmatic access)
See Authentication for detailed information.
Response Format¶
All API responses follow a consistent JSON structure:
Error Response:
API Sections¶
Core APIs¶
-
Executive-level portfolio overview, KPIs, and trend analysis across all process definitions.
-
Process intelligence analytics, lazy-loaded dashboard sections, and comprehensive monitoring data.
-
Multi-node cluster health, JVM metrics, database performance, and system diagnostics.
-
Prometheus-format metrics endpoints for Grafana integration and alerting.
Feature APIs¶
-
AI-powered process analysis, natural language insights, and recommendations.
-
End-to-end business journey tracking across multiple processes.
Error Codes¶
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | Request successful |
| 201 | Created | Resource created successfully |
| 400 | Bad Request | Invalid request parameters |
| 401 | Unauthorized | Authentication required |
| 403 | Forbidden | Insufficient permissions |
| 404 | Not Found | Resource not found |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Server Error | Server error occurred |
Support¶
For API support and questions:
- Email: info@champa-bpmn.com
- Documentation: https://champa-bpmn.com/docs
- GitHub Issues: Report bugs and request features
Next Steps¶
Explore the detailed API documentation for each module:
- Authentication API - Login, token management, and permissions
- Portfolio API - Portfolio-level analytics
- Dashboard API - Process intelligence data
- Health Monitoring API - Cluster health and metrics
- Metrics API - Prometheus integration