OpenMeter Product Catalog
Get add-on
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Get add-on by id.
get/v3/openmeter/addons/{addonId}
Path parameters
addonIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
Response
Addon response.
Example response
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"labels": {
"env": "test"
},
"created_at": "2023-01-01T01:01:01.001Z",
"updated_at": "2023-01-01T01:01:01.001Z",
"deleted_at": "2023-01-01T01:01:01.001Z",
"key": "resource_key",
"currency": "USD",
"effective_from": "2023-01-01T01:01:01.001Z",
"effective_to": "2023-01-01T01:01:01.001Z",
"rate_cards": [
{
"labels": {
"env": "test"
},
"key": "resource_key",
"feature": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH"
},
"billing_cadence": "P1Y",
"tax_config": {
"code": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH"
}
},
"entitlement": {
"usage_period": "P1Y"
}
}
],
"validation_errors": [
{
"field": "addons/pro/ratecards/token/featureKey"
}
]
}Changes
Changed in 2 of the 75 revisions of this API.4
- ○
api operation id
get-openmeter-addonremoved and replaced withget-product-catalog-addonapi-operation-id-removed
- ○
added the optional property
rate_cards/items/entitlementto the response with the200statusresponse-optional-property-added
- ○
added the optional property
rate_cards/items/unit_configto the response with the200statusresponse-optional-property-added
This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○