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

# Get statistics for a specific author



## OpenAPI

````yaml /api-reference/ai-cms/openapi.json get /reports/getAuthorStatistics/{authorId}
openapi: 3.1.0
info:
  title: Blog API
  version: 1.0.0
servers:
  - url: https://api.octaviatech.app/cms
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Tags
    description: Tag management endpoints
paths:
  /reports/getAuthorStatistics/{authorId}:
    get:
      tags:
        - Reports
      summary: Get statistics for a specific author
      parameters:
        - in: path
          name: authorId
          required: true
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
            example: '{{objectId}}'
        - in: query
          name: from
          schema:
            type: string
            format: date-time
            example: '2025-10-01T00:00:00Z'
        - in: query
          name: to
          schema:
            type: string
            format: date-time
            example: '2025-10-31T23:59:59Z'
      responses:
        '200':
          description: OK
          content:
            application/json:
              examples:
                OK:
                  value:
                    success: true
                    statusCode: 200
                    message: OK
                    data:
                      authorId: '{{objectId}}'
                      articles:
                        count: 22
                        lastArticleAt: '2025-10-25T09:10:00Z'
                      likes: 120
                      dislikes: 5
                      views: 1_234
        '400':
          description: Bad request (authorId is not a valid ObjectId)
          content:
            application/json:
              examples:
                BadRequest:
                  value:
                    success: false
                    statusCode: 400
                    message: Invalid authorId
                    data: null
        '404':
          description: Not found
          content:
            application/json:
              examples:
                NotFound:
                  value:
                    success: false
                    statusCode: 404
                    message: No author usage statistics found
                    data: null
        '500':
          description: Server error
          content:
            application/json:
              examples:
                ServerError:
                  value:
                    success: false
                    statusCode: 500
                    message: Failed to find author usage statistics
                    data: null
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````