minicor envelope with teach: true is a teaching call: it creates or updates a sample, and it never touches live traffic.
Shape
minicor is the sample input, exactly as your product would send it on a live call.
Fields
What a teach call does
- The first teach call to an unknown method and path creates the job in the Learning state and starts the builder.
- Every teach call records a sample: the input, the intent, and the checks derived from it.
- The builder runs until this sample and every existing sample pass.
- If the job is already Live, the work happens on a new version and production traffic is untouched until you go live again.
GET /_builds/:id.
Send the payload your product actually produces, not a cleaned-up version. The sample is the contract for live calls, and the job is only as honest as its inputs.