Guides · response acceptance
Would your app accept the answer?
A USD-only quote flow receives valid JSON with a price in euros. Inspect the response and the caller’s decision, then define what your own application should accept.
Domestic shipping
Packaging samples
Quotequote_example_A- Package
- 1 parcel · 2.4 kg
- Billing currency
- USD
This shipment requires USD. The response is priced in EUR.
Response inspector
Authored fixtureGET /quotes/quote_example_A200 OK{
"quote_id": "quote_example_A",
"total_minor": 2750,
"currency": "EUR",
"available": true
}
- JSON parse
- Passed
- Field types
- Passed
- Caller contract
- Failed
Three questions. Keep the findings separate.
Source
Where did the answer come from?
Record stored, retrieved, generated-classified or unknown origin separately. If the evidence cannot distinguish retrieval from generation, keep origin unknown.
Shape
Does it meet the declared structure?
Check parsing, required fields and types.
Meaning
May this caller use the answer?
Assert requested identity, amount, currency and availability.
Declare the acceptance boundary before the run.
Freeze the training inputs, reserve disjoint request families and use the same caller invariants for known, held-out and negative-control cases. Keep cold and later observations, serving origin and the caller’s decision separate. Missing evidence remains unresolved.
The response-acceptance example in the adapter documentation contains the four authored case plans, input controls, expected decisions and downloadable acceptance record. These are plans to fill with observations, not model-quality results.
{
"quote_id": "quote_example_A",
"total_minor": 2750,
"currency": "EUR",
"available": true
}