List costs (org-wide)
Returns a paginated list of costs for the given product. Returns a paginated list of every active cost in the
query Parameters
limitPage size
cursorPagination cursor
scopeFilter by cost scope
limitPage size
cursorPagination cursor
List costs (org-wide) › Responses
Paginated list with data and pagination envelope
archived_atcreated_atdescriptionhead_version_ididkeyorganization_idproduct_idrequires_continuous_coveragescopestatusupdated_atversionCreate a cost
Creates a cost. When the route includes {productId}, the cost is PRODUCT-scoped to that product. The bare /costs route creates an ORG-scoped cost — used for shared upstream fees (payment processor, registry, etc.) that span multiple products.
Create a cost › Request Body
descriptionkeyproduct_idCreate a cost › Responses
Created
archived_atcreated_atdescriptionhead_version_ididkeyorganization_idproduct_idrequires_continuous_coveragescopestatusupdated_atversionList cost versions (with lifecycle filter)
path Parameters
idCost UUID
query Parameters
statusLifecycle status filter (repeatable)
List cost versions (with lifecycle filter) › Responses
OK
archived_reasoncreated_atcreated_byeffective_fromeffective_toidID is the *_versions.id UUID. Phase 2.D needs it so the FE stage-mode chip can wire selection→pin map without a separate number→ID lookup; older clients can ignore the field.
published_atstatususage_countversionList costs (org-wide)
Returns a paginated list of costs for the given product. Returns a paginated list of every active cost in the
path Parameters
productIdProduct UUID
query Parameters
limitPage size
cursorPagination cursor
scopeFilter by cost scope
limitPage size
cursorPagination cursor
List costs (org-wide) › Responses
Paginated list with data and pagination envelope
archived_atcreated_atdescriptionhead_version_ididkeyorganization_idproduct_idrequires_continuous_coveragescopestatusupdated_atversionCreate a cost
Creates a cost. When the route includes {productId}, the cost is PRODUCT-scoped to that product. The bare /costs route creates an ORG-scoped cost — used for shared upstream fees (payment processor, registry, etc.) that span multiple products.
path Parameters
productIdProduct UUID (omit for org-scoped costs)
Create a cost › Request Body
descriptionkeyproduct_idCreate a cost › Responses
Created
archived_atcreated_atdescriptionhead_version_ididkeyorganization_idproduct_idrequires_continuous_coveragescopestatusupdated_atversionGet a cost
Returns a single cost by UUID.
path Parameters
productIdProduct UUID
costIdCost UUID
Get a cost › Responses
Wrapped in data envelope
archived_atcreated_atdescriptionhead_version_ididkeyorganization_idproduct_idrequires_continuous_coveragescopestatusupdated_atversionUpdate a cost
Updates an existing cost by UUID.
path Parameters
productIdProduct UUID
costIdCost UUID
Update a cost › Request Body
descriptioneffective_atADR-0006 edit-as-publish controls.
requires_continuous_coverageBucket-A: policy flag stored on the parent costs row. Edits
propagate live; no cost_versions row is created. Pointer so we
can distinguish "not provided" from "set to false".
save_as_draftUpdate a cost › Responses
Wrapped in data envelope
archived_atcreated_atdescriptionhead_version_ididkeyorganization_idproduct_idrequires_continuous_coveragescopestatusupdated_atversionCopy a cost
Clones a cost (active or archived) into a new active cost. Prices that reference the source via formula expressions (cost.
path Parameters
productIdProduct UUID
costIdSource cost UUID
Copy a cost › Responses
Wrapped in data envelope
archived_atcreated_atdescriptionhead_version_ididkeyorganization_idproduct_idrequires_continuous_coveragescopestatusupdated_atversion