---
title: "Histogram of message count per session"
method: GET
path: "/v1/analytics/sessions/message-distribution"
tags: ["analytics"]
---

# Histogram of message count per session

`GET /v1/analytics/sessions/message-distribution`

## Query parameters

- `channel` string, nullable
- `status` string, nullable
- `start_date` string, date, required
- `end_date` string, date, required

## Response `200`

Successful Response

- MessageDistributionRow[]
  - `bucket_index` integer, required
  - `bucket` string, required
  - `session_count` integer, required
  - `percentage` number, required

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `422` — Validation Error

## Changes

- **2026-08-12** `5a5597ebb2d6` — 4 info
  - added the optional property `retry_after` to the response with the `400` status
  - added the optional property `retry_after` to the response with the `401` status
  - added the optional property `retryable` to the response with the `400` status
  - added the optional property `retryable` to the response with the `401` status

[Change history](https://skmtc.dev/oneloop-hq/apis/feather-api/changes/v1/analytics/sessions/message-distribution/get.md)

---

[API](https://skmtc.dev/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.dev/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/revisions/5a5597ebb2d6/schema)
