Get the decision behind a selected rate
Returns the rule-evaluation decision for a request: the rule that matched, the rate selected, the facts the engine evaluated, and the full rule trace. Read-only.
This is the answer to “why this carrier, why this price” — the audit record for the decision; it does not change once written.
In this beta the matched rule is always default, the single rule provisioned for your account. matched_priority and fallback_triggered describe ordering and fallback behavior that become meaningful when customer-defined rules ship.
Available once evaluation has written a decision, including while a purchase is still processing. A 409 with code decision_pending means the poll status is still processing and no decision has been written yet; retry. A terminal poll body (purchased, dry_run_completed, no_match, or failed) that omits decision_log_id will never gain a decision, and this endpoint returns 404 with code decision_not_available. A 404 with no code means the request id does not exist or does not belong to your account.
Authorizations
Response
Successful Response
Returned by GET /automations/labels/{request_id}/decision: the request's status and identifiers plus its full decision record. Available once rule evaluation has completed.