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.

Try the same quote twice

Can this shipment proceed?

DispatchShipments New shipment

Domestic shipping

Packaging samples

Quote quote_example_A
FromPortland warehousePortland, OR
ToSeattle studioSeattle, WA
Package
1 parcel · 2.4 kg
Billing currency
USD
Ground shippingExpected shipment price
$27.50 USD
Quote cannot be used

This shipment requires USD. The response is priced in EUR.

Response inspector

Authored fixture
GET /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

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.

Authored counterexampleQuote flow requires USD
{
  "quote_id": "quote_example_A",
  "total_minor": 2750,
  "currency": "EUR",
  "available": true
}
Valid JSON. Wrong currency for this flow. Parsing alone cannot grant the USD-only action; a schema can encode that rule too.

Resources

Choose the next boundary to inspect

Inspect the ordinary comparator

See fixed-order assertions and negative controls. Adapt the checks to your own caller.

Explore the fixture contract

Prepare an adapter candidate

Review eligible inputs, activation and serving checks when a response model fits the task.

Read adapter setup

Understand serving and cache limits

Separate background submission, completion and a later eligible response before interpreting an observation.

Read the serving boundary

Continue when the model earns its place.

Keep the fixture when it proves the task. If you need a response-model candidate, prepare the Full stack and local compute, then collect your own caller evidence.