Decision Memory

Generate a structured decision plan

Run the same validated simulation request contract as /v1/simulate, but return only the structured DecisionPlan summary. This is intended for LLM and dashboard clients that need the compact plan object without the full DecisionEnvelope payload.

post/v1/decisions/plan

Request

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

Request body

OR

Example 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

recommended_actionstring required
confidencenumber required
expected_valuenumber required
rationalestring required
integrityobject nullable

Cryptographic proof of inputs/outputs: {request_hash, result_hash}.

calibrationstring nullable

Human-readable calibration summary, e.g. '12 outcomes | bias=-8.3% (over-optimistic) | hit_rate=75%'. Null until MIN_SAMPLES (5) outcomes are recorded for this org.

Changes

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