api_herb_batch_cost
Read-onlyIdempotent
Compute actual retail herb blend batch ingredient costs and gross margin from herb:grams:price_per_gram input. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batches | Yes | batches; see operation description for units and format | |
| ingredients | Yes | ingredients; see operation description for units and format | |
| packaging_per_batch | No | packaging per batch; see operation description for units and format | |
| selling_price_per_batch | Yes | selling price per batch; see operation description for units and format |