pmo.run

API Overview

Base URL

https://api.pmo.run

Available Endpoints

TCO (Total Cost of Ownership)

MethodPathDescription
POST/tco/calculateStateless TCO calculation
POST/tco/scenariosCreate a saved scenario
GET/tco/scenariosList saved scenarios
GET/tco/scenarios/{id}Get a scenario by ID
PUT/tco/scenarios/{id}Update a scenario
DELETE/tco/scenarios/{id}Delete a scenario

Health

MethodPathDescription
GET/healthHealth check

Request Format

All endpoints accept and return JSON. Include Content-Type: application/json in your requests.

Example

curl -X POST https://api.pmo.run/tco/calculate \
  -H "Content-Type: application/json" \
  -d '{
    "options": [
      {
        "name": "Option A",
        "initial_cost": 200,
        "annual_costs": [{ "name": "Toner", "amount": 180 }],
        "years": 5
      }
    ]
  }'

More modules (NPV, IRR, PERT) are coming soon.