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

# Get resume statistics

> Returns view and download statistics for the specified resume, including total counts and the timestamps of the last view and download. Requires authentication.



## OpenAPI

````yaml /spec.json get /resumes/{id}/statistics
openapi: 3.1.1
info:
  title: Reactive Resume
  version: 5.1.0
  description: Reactive Resume API
  license:
    name: MIT
    url: https://github.com/amruthpillai/reactive-resume/blob/main/LICENSE
  contact:
    name: Amruth Pillai
    email: hello@amruthpillai.com
    url: https://amruthpillai.com
servers:
  - url: http://localhost:3000/api/openapi
security:
  - apiKey: []
externalDocs:
  url: https://docs.rxresu.me
  description: Reactive Resume Documentation
paths:
  /resumes/{id}/statistics:
    get:
      tags:
        - Resume Statistics
      summary: Get resume statistics
      description: >-
        Returns view and download statistics for the specified resume, including
        total counts and the timestamps of the last view and download. Requires
        authentication.
      operationId: getResumeStatistics
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: The unique identifier of the resume.
      responses:
        '200':
          description: The resume's view and download statistics.
          content:
            application/json:
              schema:
                type: object
                properties:
                  isPublic:
                    type: boolean
                    description: Whether the resume is currently public.
                  views:
                    type: number
                    description: Total number of times the resume has been viewed.
                  downloads:
                    type: number
                    description: Total number of times the resume has been downloaded.
                  lastViewedAt:
                    anyOf:
                      - type: string
                        format: date-time
                        x-native-type: date
                      - type: 'null'
                    description: Timestamp of the last view, or null if never viewed.
                  lastDownloadedAt:
                    anyOf:
                      - type: string
                        format: date-time
                        x-native-type: date
                      - type: 'null'
                    description: >-
                      Timestamp of the last download, or null if never
                      downloaded.
                required:
                  - isPublic
                  - views
                  - downloads
                  - lastViewedAt
                  - lastDownloadedAt
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
      description: The API key to authenticate requests.

````