# Demand-Variability Safety Stock – Named Scenario Comparison

> Demand-Variability Safety Stock – Named Scenario Comparison is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Compares up to 20 named safety stock scenarios by varying lead time, service level Z-score, and daily demand standard deviation against a baseline configuration.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-safety-stock-scenario?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/demand-variability-safety-stock-named-scenario-comparison-04267ba7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WRA9fvP7BY_KRxclIN4EB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability demand-variability-safety-stock-named-scenario-comparison-04267ba7 -d '<json body>'
```

Example prompt: Compare three safety stock scenarios against my baseline of 10 lead days, a service Z of 1.65, and daily demand stddev of 4: one called 'High Service' with Z=1.96, one called 'Long Lead' with lead_days=20, and one called 'Volatile Demand' with daily_demand_stddev=8.

## When to prefer this

Choose this endpoint when you need to compare multiple explicitly named inventory scenarios against a single safety stock baseline — ideal for retail planning, sensitivity analysis across service levels, or lead time disruption modeling. Prefer over a one-input sensitivity table when you need non-uniform, labeled overrides across different parameter combinations simultaneously.

## Known failure modes

- Invalid Z-score outside 0–5 range returns validation error
- Scenario array with fewer than 1 or more than 20 items rejected
- Missing required baseline fields (service_z, daily_demand_stddev, lead_days) causes request failure
- Override object with no properties (minProperties:1 not met) rejected
- Negative values for lead_days or daily_demand_stddev rejected

## How this service works

Demand-variability safety stock - Named scenario comparison: Named scenario comparison for Demand-variability safety stock. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded named scenario comparison deliverable.

## Output

Returns a named comparison of safety stock calculations for each supplied scenario, showing how changes to lead days, service level Z-score, and daily demand standard deviation affect the required safety stock buffer relative to the baseline configuration.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "baseline": {
   "type": "object",
   "default": {
    "lead_days": 10,
    "service_z": 1.65,
    "daily_demand_stddev": 4
   },
   "required": [
    "service_z",
    "daily_demand_stddev",
    "lead_days"
   ],
   "properties": {
    "lead_days": {
     "type": "number",
     "default": 10,
     "maximum": 1000000000000,
     "minimum": 0
    },
    "service_z": {
     "type": "number",
     "default": 1.65,
     "maximum": 5,
     "minimum": 0
    },
    "daily_demand_stddev": {
     "type": "number",
     "default": 4,
     "maximum": 1000000000000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  },
  "scenarios": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "label",
     "overrides"
    ],
    "properties": {
     "label": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "overrides": {
      "type": "object",
      "properties": {
       "lead_days": {
        "type": "number",
        "default": 10,
        "maximum": 1000000000000,
        "minimum": 0
       },
       "service_z": {
        "type": "number",
        "default": 1.65,
        "maximum": 5,
        "minimum": 0
       },
       "daily_demand_stddev": {
        "type": "number",
        "default": 4,
        "maximum": 1000000000000,
        "minimum": 0
       }
      },
      "minProperties": 1,
      "additionalProperties": false
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "label": "Supplied alternative",
     "overrides": {
      "service_z": 1.815
     }
    }
   ],
   "maxItems": 20,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/demand-variability-safety-stock-named-scenario-comparison-04267ba7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
