---
title: "List all Usage Metrics"
method: GET
path: "/usage-metrics"
tags: ["Usage Metrics"]
---

# List all Usage Metrics

`GET /usage-metrics`

List all Usage Metrics

## Query parameters

- `limit` integer
- `after` string
- `before` string
- `name` string
- `id` string
- `eventType` string
- `eventProperty` string
- `aggregationType` string

## Headers

- `Authorization` string, required
- `Sequence-Version` '2024-07-30'

## Response `200`

OK

- ListUsageMetricEndpointProductResponseModel
  - `items` UsageMetric[], required — Usage metrics
    - `id` string, required — Unique ID
    - `sequenceAccountId` string, required — Sequence Account ID
    - `name` string, required — Human-readable name for this metric, which should be unique
    - `description` string, nullable — Description for this metric
    - `metricType` 'SIMPLE' | 'GROUPED', required
    - `eventType` string, required — The `eventType` of the Usage Event to be aggregated
    - `aggregationType` 'COUNT' | 'UNIQUE' | 'SUM' | 'CUSTOM', required
    - `aggregationProperty` string, nullable — Property within the event to aggregate
    - `groupingProperty` string, nullable — Property within the event to group results by
    - `unit` string, nullable — Human-readable unit of the aggregated metric, eg. API calls)
    - `createdAt` string, nullable — Created at
    - `deletedAt` string, nullable — Created at
    - `propertyFilters` object, required
    - `caseSensitive` boolean, nullable
    - `propertiesToNegate` string[], nullable
    - `parameters` CustomMetricParameter[], required — Required parameters
      - `id` string, required
      - `usageMetricId` string, required
      - `name` string, required
      - `type` 'INTEGER' | 'POSITIVE_INTEGER' | 'NUMBER' | 'POSITIVE_NUMBER', required
      - `description` string, required
      - `defaultValue` string, required
  - `pagination` PaginationMeta1, required — Results pagination
    - `after` string, nullable — Cursor for the page after this (if it exists)
    - `before` string, nullable — Cursor for the page before this (if it exists)
    - `totalResultSize` integer, nullable — Total number of entries across all pages

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2026-07-20** `c48cffa2c23d` — 11 breaking
  - the response property `items/items/aggregationProperty` became nullable for the status `200`
  - the response property `items/items/caseSensitive` became nullable for the status `200`
  - the response property `items/items/createdAt` became nullable for the status `200`
  - the response property `items/items/deletedAt` became nullable for the status `200`
  - …7 more
- **2026-06-17** `55aec2d373b0` — 1 warning, 4 info
  - deleted the `header` request parameter `sequence-version`
  - added the new optional `header` request parameter `Sequence-Version`
  - for the `query` request parameter `limit`, the type/format was generalized from `integer`/`int32` to `integer`/``
  - added the optional property `items/items/aggregationProperty` to the response with the `200` status
  - …1 more
- **2026-06-17** `9c48c189e29d` — 1 breaking, 3 warning, 1 info
  - for the `query` request parameter `limit`, the type/format was changed from `integer`/`` to `integer`/`int32`
  - deleted the `header` request parameter `Sequence-Version`
  - removed the optional property `items/items/aggregationProperty` from the response with the `200` status
  - removed the optional property `items/items/groupingProperty` from the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/sequencehq/apis/sequence/changes/usage-metrics/get.md)

---

[API](https://skmtc.dev/sequencehq/apis/sequence.md) · [All operations](https://skmtc.dev/sequencehq/apis/sequence/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sequencehq/sequence/revisions/e520d2f95b7b/schema)
