get:
  tags:
    - admin
  summary: Get detailed search analytics
  responses:
    "200":
      description: A JSON object containing popular searches.
      content:
        application/json:
          schema:
            allOf:
              - type: object
                properties:
                  searches:
                    type: array
                    items:
                      type: object
                      properties:
                        value:
                          type: string
                          description: The string that was searched
                        score:
                          type: number
                          description: Number of times this string has been searched
                  startDate:
                    type: string
                    description: A UNIX timestamp of the start date
                    nullable: true
                  endDate:
                    type: string
                    description: A UNIX timestamp of the end date
                    nullable: true
              - $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps