Skip to main content
GET
Get the decision behind a selected rate

Authorizations

Authorization
string
header
default:ShippoToken
required

Shippo API token, sent as Authorization: ShippoToken <API_TOKEN>.

Path Parameters

request_id
string<uuid>
required

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.

request_id
string<uuid>
required
test
boolean
required

Whether this request was created in test mode.

status
enum<string>
required

Current status of the request.

Available options:
processing,
purchased,
dry_run_completed,
no_match,
failed
dry_run
boolean
required

Whether this request evaluates selection without purchasing a label.

created_at
string<date-time>
required
decision
DecisionBlock · object
required

The record of one completed rule evaluation: the rule that matched, the rate selected, the facts evaluated, and the full rule trace. It is written once and never changes. estimate_available is always false in this beta.

shipment_id
string | null
transaction_id
string | null
tracking_number
string | null
label_url
string | null
evaluated_at
string<date-time> | null
label_processed_at
string<date-time> | null