Development Status: This API documentation covers functionality that has been tested and is currently working. The platform is in active development with many planned features still being implemented.
API Overview
Current Working Features
The platform currently provides a basic but functional API for incident management:
Base URL: http://localhost:8080/api/v1 (development server)
Format: JSON (application/json)
Authentication: Not required (development mode)
Database: SQLite with local file storage
Core Functionality
β Working:
Complete incident CRUD operations
Incident state management (ack, mitigate, resolve, close)
Timeline event tracking
Health monitoring
CLI integration
π In Development:
Authentication and authorization
Real-time WebSocket events
Metrics and analytics endpoints
Connector management API
Rate limiting and security
Quick Start
1. Start the Server
# Build and start the servermake build
./bin/server
# Server starts on http://localhost:8080# Health check: curl http://localhost:8080/health
2. Create Incident
# Create new incident (no auth required in dev mode)curl -X POST http://localhost:8080/api/v1/incidents \
-H "Content-Type: application/json"\
-d '{
"title": "Database connection issues",
"severity": "SEV-2",
"description": "Multiple users reporting login failures"
}'
3. Use CLI
# CLI integrates with the API server./bin/im declare --title "API test incident" --sev SEV-3
./bin/im timeline list
Development Focus: The platform is designed API-first, so REST API functionality is prioritized over web UI development. Most features are accessible via CLI and API before being added to the web interface.