---
title: "Get analytics"
method: GET
path: "/analytics/{bot_id}"
tags: ["Analytics"]
---

# Get analytics

`GET /analytics/{bot_id}`

Get all the analytics for a given period of time

## Path parameters

- `bot_id` string, required

## Query parameters

- `lang` string, required
- `platform` 'messenger' | 'RCS' | 'skype' | 'sms' | 'slack' | 'telegram' | 'twitter' | 'viber' | 'webchat' | 'whatsapp' | 'maxit' | 'application' | 'api' | 'other'
- `next_page_token` string
- `start_date` string, date, required
- `end_date` string, date, required

## Response `200`

successful operation

## Other responses

- `400` — Invalid ID supplied (user or bot)
- `404` — conversations not found

---

[API](https://skmtc.net/smartly/apis/smartly-ai-apis.md) · [All operations](https://skmtc.net/smartly/apis/smartly-ai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartly/smartly-ai-apis/revisions/1e26909d86c9/schema)
