---
title: "Get user activity by day of week and time of day"
method: GET
path: "/v1/bots/{bot_id}/users/activity"
tags: ["Users"]
---

# Get user activity by day of week and time of day

`GET /v1/bots/{bot_id}/users/activity`

## Path parameters

- `bot_id` string, required

## Query parameters

- `version` string, required
- `start_time` string, required
- `end_time` string, required
- `channel_type` string
- `language` string

## Response `200`

A successful response.

- GetUserActivityResponse
  - `data` SeriesData
    - `series` Serie[]
      - `values` integer[]
      - `mean` integer — The mean value.
      - `max` integer — The max value.
      - `min` integer — The min value.
      - `sum` integer — The sum of all values.
      - `labels` object
    - `series_labels` string[]
    - `x_values` string[]

---

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