---
title: "Get metrics for all categories"
method: GET
path: "/categories/{teamId}/metrics"
tags: ["Categories"]
---

# Get metrics for all categories

`GET /categories/{teamId}/metrics`

## Request

- Base URL: `https://connect.signl4.com/api`
- URL: `https://connect.signl4.com/api/categories/{teamId}/metrics`
- Auth: none required
- TypeScript: <https://skmtc.dev/signl4/apis/signl4-api-v1/docs/categories/:teamId/metrics/get.ts> (a function with typed inputs; its response is checked against the schema)

Sample Request:
            
    GET /categories/cbb70402-1359-477f-ac92-0171cf2b5ff7/metrics

## Path parameters

- `teamId` string, required

## Response `200`

Returns a list of category metrics

- CategoryMetrics[]
  - `categoryId` string, nullable
  - `last24h` integer
  - `lastAlert` string, date-time, nullable
  - `subscriberCount` integer

## Other responses

- `400`: If the input is not valid
- `403`: If you have no permission to access this resource
- `404`: If the resource was not found
- `500`: If any server side errors occur

## Changes

- **2025-05-16** `80a3a05166d4`: 3 warning, 27 info
  - removed the optional property `items/last24Hours` from the response with the `200` status (media type: text/plain)
  - removed the optional property `items/last24Hours` from the response with the `200` status (media type: application/json)
  - removed the optional property `items/last24Hours` from the response with the `200` status (media type: text/json)
  - added the optional property `items/last24h` to the response with the `200` status (media type: text/plain)
  - …26 more

[Operation history](https://skmtc.dev/signl4/apis/signl4-api-v1/changes/categories/:teamId/metrics/get.md)

---

[API](https://skmtc.dev/signl4/apis/signl4-api-v1.md) - [All operations](https://skmtc.dev/signl4/apis/signl4-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/signl4/apis/signl4-api-v1/revisions/bf9d377a0764?raw)
