{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "ff7f8825c5600d0f2b65912581fbc5ead48a2e07",
  "registry_committed_at": "2026-11-20T13:13:17Z",
  "disclaimer": "Independent reference. Not affiliated with Lago.",
  "vendor": "lago",
  "event": "billable_metric.deleted",
  "resource": "billable_metric",
  "url": "https://hookdeck.com/webhooks/lago/events#billable_metric.deleted",
  "description": "Billable metric is deleted, with its alerts and charges",
  "trigger": null,
  "listed_in": "https://getlago.com/docs/api-reference/webhooks/messages",
  "confidence": "documented",
  "schema_source": "official schema",
  "identified_by": "webhook_type field in the body",
  "payload": {
    "provenance": "vendor-source",
    "value_realism": "doc-example-values",
    "field_count": 21,
    "key_fields": [],
    "delivery": {
      "title": "From Lago docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": {
      "webhook_type": "billable_metric.deleted",
      "object_type": "billable_metric",
      "organization_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
      "billable_metric": {
        "lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
        "name": "Storage",
        "code": "storage",
        "description": "GB of storage used in my application",
        "recurring": false,
        "rounding_function": "round",
        "rounding_precision": 2,
        "created_at": "2022-09-14T16:35:31Z",
        "expression": "round((event.properties.ended_at - event.properties.started_at) * event.properties.units)",
        "field_name": "gb",
        "aggregation_type": "sum_agg",
        "weighted_interval": "seconds",
        "filters": [
          {
            "key": "region",
            "values": [
              "us-east-1"
            ]
          }
        ]
      }
    }
  }
}