v1
latestOpenAPI 3.1.0AGPL-3.0-only2026-07-1773264353.7 KBMetrics
Create a billable metric
post/api/v1/metrics
Request body
Example request
{
"product_family_id": "pf_7n42DGM5Tflk9n8mt7Fhc7",
"product_id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
}Response
Metric created
Example response
{
"id": "bm_7n42DGM5Tflk9n8mt7Fhc7",
"product_family_id": "pf_7n42DGM5Tflk9n8mt7Fhc7",
"product_id": "prd_7n42DGM5Tflk9n8mt7Fhc7"
}