Skip to content

API Reference

Anubha Parashar edited this page Jul 10, 2026 · 1 revision

API Reference

Local base URL: http://localhost:8000

Endpoints

Method Endpoint Description
GET /health Health response
GET /api/flows Both process variants
GET /api/flows/{variant} One process variant
GET /api/summary Project and workflow summary
GET /api/automation-opportunities Automation backlog
POST /api/savings Savings estimate

Accepted variant names are with_sow and without_sow.

Savings Request

{
  "selected_opportunity_ids": ["opp-1"],
  "automation_coverage_pct": 50,
  "jobs_per_month": 20,
  "work_hours_per_day": 8,
  "loaded_hourly_rate": 75
}

Current Dependency

Summary, opportunity, and savings endpoints need backend/app/data/automation_opportunities.json, which was not visible in the inspected snapshot.

For the complete specification and proposed parser endpoints, see docs/API_REFERENCE.md.

Clone this wiki locally