---
title: "GET /_twake/v1/metrics/activity"
method: GET
path: "/_twake/v1/metrics/activity"
tags: ["Metrics"]
---

# GET /_twake/v1/metrics/activity

`GET /_twake/v1/metrics/activity`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/docs/_twake/v1/metrics/activity/get.ts> (a function with typed inputs; its response is checked against the schema)

Get user activity metrics

## Response `200`

Activity metrics found

- ActivityMetric
  - `dailyActiveUsers` number
  - `weeklyActiveUsers` number
  - `monthlyActiveUsers` number
  - `weeklyNewUsers` number
  - `monthlyNewUsers` number

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `500`: Internal error

## Changes

- **2025-01-09** `164fc886d7a3`: 2 info
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`
- **2024-12-10** `ebae94f58300`: 1 info
  - endpoint added
- **2024-01-09** `c7a6d3a400a7`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/changes/_twake/v1/metrics/activity/get.md)

---

[API](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation.md) - [All operations](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/revisions/3428c7bb5a46?raw)
