Decision

Score a simulation with custom weights

post/v1/score

Request

  • Base URL: https://api.algenta.ai
  • URL: https://api.algenta.ai/v1/score
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

scoring_weightsobject nullable

Custom scoring weights. Keys: 'expected_value', 'downside_risk'. Must sum to 1.0.

Example request

{
  "request": {
    "mode": "auto",
    "runs": 10000,
    "scenario": {
      "name": "Product launch decision",
      "objective": "maximize_net_value",
      "variables": {
        "cost": {
          "high": 90000,
          "low": 40000
        },
        "revenue": {
          "high": 200000,
          "low": 80000
        }
      }
    },
    "simulation_model": "monte_carlo"
  }
}

Response

Successful Response

scorenumber required
score_breakdownobject required

Changes

No recorded changes to this operation across all 1 revision of this API.