Look up a single pricing version
Returns one specific version of a pricing rule by id. Useful for
resolving a pricing_rule_id recorded in an audit event when that
version is no longer the current one.
Authorizations
JWT obtained through Barndoor's authentication flow. Pass the token
verbatim in Authorization: Bearer <token>. Use the Barndoor SDK's
loginInteractive() helper to obtain a token in scripts and notebooks.
Path Parameters
Response
The requested pricing version
A single pricing rule version. Each "rule" (logical row) has a stack
of versions; the latest version with effective_from <= now() is the
one that bills.
Upstream model name (or * wildcard)
"gpt-4o-mini"
0.15
0.6
When this version takes effect. Past = active; future = scheduled
How the row tracks Barndoor's managed defaults:
tracking— show the user a prompt when defaults changepinned— never sync; this is your numberauto— silently follow updates to the managed defaults
tracking, pinned, auto How this version of the pricing rule was produced
admin_create, admin_edit, admin_schedule, import, sync_manual, sync_auto, admin_archive, admin_restore When set, the rule only applies to routes served by this provider
