---
title: "Get Persona Messages"
method: GET
path: "/analytics/admin/persona/messages"
tags: ["public"]
---

# Get Persona Messages

`GET /analytics/admin/persona/messages`

## Request

- Base URL: `https://cloud.onyx.app/api`
- URL: `https://cloud.onyx.app/api/analytics/admin/persona/messages`
- Auth: HTTP bearer

Fetch daily message counts for a single persona within the given time range.

## Query parameters

- `persona_id` integer, required
- `start` string, date-time, nullable
- `end` string, date-time, nullable

## Response `200`

Successful Response

- PersonaMessageAnalyticsResponse[]
  - `total_messages` integer, required
  - `date` string, date, required
  - `persona_id` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-28** `76bc90bf55b6`: 1 info
  - endpoint added
- **2026-01-06** `2d941ea53eb3`: 1 breaking
  - api path removed without deprecation
- **2025-08-21** `9321c45d93b5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onyx-dot-app/apis/onyx-api/changes/analytics/admin/persona/messages/get.md)

---

[API](https://skmtc.dev/onyx-dot-app/apis/onyx-api.md) - [All operations](https://skmtc.dev/onyx-dot-app/apis/onyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onyx-dot-app/apis/onyx-api/revisions/76bc90bf55b6?raw)
