> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onyx.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Persona Unique Users

> Get unique users per day for a single persona.

> [!NOTE]
>
> **Business Edition Feature**
>
> This feature requires a Business or Enterprise plan. [View plans](https://docs.onyx.app/admins/billing/overview.md)
> or [contact sales](https://onyx.app/contact-sales) to learn more.

> [!NOTE]
>
> **Required permission:** View Agent Analytics (`read:agent_analytics`), or Admin (`admin`).


## OpenAPI

````yaml GET /analytics/admin/persona/unique-users
openapi: 3.1.0
info:
  title: Onyx API
  description: Onyx API for AI-powered enterprise search and chat
  version: Development
servers:
  - url: https://cloud.onyx.app/api
security: []
paths:
  /analytics/admin/persona/unique-users:
    get:
      tags:
        - public
      summary: Get Persona Unique Users
      description: Get unique users per day for a single persona.
      operationId: get_persona_unique_users
      parameters:
        - name: persona_id
          in: query
          required: true
          schema:
            type: integer
            title: Persona Id
        - name: start
          in: query
          required: true
          schema:
            type: string
            format: date-time
            title: Start
        - name: end
          in: query
          required: true
          schema:
            type: string
            format: date-time
            title: End
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PersonaUniqueUsersResponse'
                title: >-
                  Response Get Persona Unique Users Analytics Admin Persona
                  Unique Users Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    PersonaUniqueUsersResponse:
      properties:
        unique_users:
          type: integer
          title: Unique Users
        date:
          type: string
          format: date
          title: Date
        persona_id:
          type: integer
          title: Persona Id
      type: object
      required:
        - unique_users
        - date
        - persona_id
      title: PersonaUniqueUsersResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Authorization header with Bearer token

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.