---
title: "Get billable metric by ID"
method: GET
path: "/api/billable-metrics/{id}"
tags: ["Billable Metrics"]
---

# Get billable metric by ID

`GET /api/billable-metrics/{id}`

Retrieve a billable metric with its filters and associated charges.

## Path parameters

- `id` string, required

## Response `200`

Billable metric details

- BillableMetricResponse
  - `id` string, required
  - `name` string, required
  - `code` string, required
  - `description` string
  - `aggregationType` 'COUNT' | 'SUM' | 'MAX' | 'UNIQUE_COUNT' | 'LATEST' | 'WEIGHTED_SUM', required
  - `fieldName` string
  - `recurring` boolean, required
  - `filters` BillableMetricFilterResponse[], required
    - `id` string, required
    - `billableMetricId` string, required
    - `key` string, required
    - `values` string[], required
  - `createdAt` string, required
  - `updatedAt` string, required

## Other responses

- `404` — Billable metric not found

---

[API](https://skmtc.net/novabilling/apis/novabilling-api.md) · [All operations](https://skmtc.net/novabilling/apis/novabilling-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/novabilling/novabilling-api/revisions/0e449a4e0dc8/schema)
