---
title: "Get user analytics"
method: GET
path: "/v1/bots/{bot_id}/users"
tags: ["Users"]
---

# Get user analytics

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

## Path parameters

- `bot_id` string, required

## Query parameters

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

## Response `200`

A successful response.

- GetUsersResponse
  - `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)
