report_outcome
Report whether a price from compute_price was used. Pass receipt.id from that result as usage_event_id. Outcomes are what later routing and confidence learn from. With outcome pricing on, a rejection within the call's outcome window gives back part of what it cost; the result says what was refunded. Needs a Last Price credential. Report only what actually happened.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | Yes | Whether the price was used. | |
| evidence_url | No | Optional evidence: an https link to the record. | |
| evidence_note | No | Optional evidence: a short note on why. | |
| quality_score | No | Optional: how good the price was, 0 to 1. | |
| usage_event_id | Yes | The usage event of the priced call: receipt.id on the compute_price result. | |
| evidence_reference | No | Optional evidence: an order, ticket or invoice id in your own system. |