3.2 KiB
issue, last_synced_at, last_synced_comment_id, snapshot
| issue | last_synced_at | last_synced_comment_id | snapshot | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1833 | 2026-05-19T12:30:00Z | 0 |
|
Feature: [Feature] API-first Management — REST Endpoints for Programmatic OmniRoute Configuration
GitHub Issue: #1833 — opened by @diegosouzapw on 2026-04-30T19:55:40Z Status: 📋 Cataloged | Priority: TBD
📝 Original Request
Summary
Implement a dedicated REST management API with scoped API keys for programmatic OmniRoute configuration. This enables CI/CD integration, infrastructure-as-code workflows, third-party monitoring, and CLI scripting without requiring MCP or the dashboard.
Origin
This feature request originates from Discussion #1567 by @shannonlowder — a well-specified proposal for management-scoped API keys and settings endpoints.
Motivation
While OmniRoute already provides programmatic access through the MCP Server (29 tools), a dedicated REST API would:
- Enable CI/CD integration without MCP dependency
- Support infrastructure-as-code workflows (Terraform, Pulumi)
- Allow third-party monitoring tool integration
- Provide CLI scripting for batch operations
- Lower the barrier for automation (standard HTTP vs MCP protocol)
Proposed Scope
Management API Keys
- Create management-scoped API keys (separate from request proxy keys)
- Scoped permissions:
providers:read,providers:write,combos:read,combos:write,settings:read,settings:write, etc.
REST Endpoints
GET/POST/PUT/DELETE /api/v1/management/providers— CRUD for provider connectionsGET/POST/PUT/DELETE /api/v1/management/combos— CRUD for combosGET/PUT /api/v1/management/settings— Read/update settingsGET /api/v1/management/health— Detailed health checkGET /api/v1/management/metrics— Usage metrics and analytics
Export/Import
GET /api/v1/management/export— Full config export (JSON)POST /api/v1/management/import— Config import with merge/overwrite options
Implementation Notes
- Auth: Reuse existing API key infrastructure with added management scope
- Validation: Zod schemas for all inputs (consistent with existing patterns)
- DB: All operations through
src/lib/db/domain modules - Audit: Log all management operations to
mcp_auditor newmanagement_audittable
Labels
enhancement, api
Ref: https://github.com/diegosouzapw/OmniRoute/discussions/1567
💬 Community Discussion
@kilo-code-bot (2026-04-30T19:55:46Z): This issue appears to be a duplicate of https://github.com/diegosouzapw/OmniRoute/issues/1568.
API-first management for OmniRoute - management-scoped API keys & settings endpoints (#1568)
Similarity score: 95%
This comment was generated by Kilo Auto-Triage.
Participants
- @diegosouzapw
- @kilo-code-bot
Key Points
- Needs detailed analysis
🎯 Refined Feature Description
Feature needs manual refinement and interpretation to fill logical gaps and outline high-level technical scope.
What it solves
- TBD
How it should work (high level)
- TBD
- TBD
Affected areas
- TBD
📎 Attachments & References
- Check issue body for references
🔗 Related Ideas
- None yet