Trade Operations
lot sampling minimum risk plan
Minimum sample plan searches for the first sample size and cutoff meeting both finite-lot risk limits up to a supplied ceiling. Use it when an agent needs minimizing inspections subject to two error targets.
POST https://handel.halowerk.com/v1/lot-sampling-minimum-risk-planInputs
| Field | Type | Required | Description |
|---|---|---|---|
| lot | integer | Yes | |
| good_defects | integer | Yes | |
| bad_defects | integer | Yes | |
| ceiling | integer | Yes | |
| alpha | number | Yes | |
| beta | number | Yes |
Show full input schema
{
"type": "object",
"properties": {
"lot": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"good_defects": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"bad_defects": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"ceiling": {
"type": "integer",
"minimum": 1,
"maximum": 500
},
"alpha": {
"type": "number",
"minimum": 1e-06,
"maximum": 0.999999
},
"beta": {
"type": "number",
"minimum": 1e-06,
"maximum": 0.999999
}
},
"required": [
"lot",
"good_defects",
"bad_defects",
"ceiling",
"alpha",
"beta"
],
"additionalProperties": false
}Published input example
{
"lot": 1000,
"good_defects": 10,
"bad_defects": 80,
"alpha": 0.05,
"beta": 0.1,
"ceiling": 150
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.
More endpoints in this hub
- Trade Operations0.005 USDC
allergen check
POSThttps://handel.halowerk.com/v1/allergen-checkReturns what a product declares about allergens: the allergen tags, the trace warnings, the ingredients text in its original language, and the completeness of the record. The distinction it holds to throughout is between not declared and no
- Trade Operations0.01 USDC
bank line text
POSThttps://handel.halowerk.com/v1/bank-line-textReturn booking date, signed amount, currency and payment reference from one bank line. Local processing; no model, OCR or external transfer. Up to 6000 characters; labelled EN/DE lines. Item: SKU | quantity | unit (invoice: unit price). Mis
- Trade Operations0.005 USDC
document / accounts payable header
POSThttps://handel.halowerk.com/v1/baumarkt/document/accounts-payable-headerAccounts payable handoff: document ID, dates, supplier and payable facts. Reuses the existing invoice-extract motor. Technical source-only checks; no legal/EN16931 conformity certificate. Missing facts remain unknown. PDF text may be partia