> ## 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.

# Application pipeline stats

> Returns aggregate counts (per stage, per source) for the Insights view. Requires authentication.



## OpenAPI

````yaml /spec.json get /applications/stats
openapi: 3.1.1
info:
  title: Reactive Resume
  version: 5.2.2
  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:
  /applications/stats:
    get:
      tags:
        - Applications
      summary: Application pipeline stats
      description: >-
        Returns aggregate counts (per stage, per source) for the Insights view.
        Requires authentication.
      operationId: getApplicationStats
      parameters: []
      responses:
        '200':
          description: Aggregate application counts.
          content:
            application/json:
              schema:
                type: object
                properties:
                  total:
                    type: number
                  byStage:
                    type: array
                    items:
                      type: object
                      properties:
                        status:
                          enum:
                            - saved
                            - applied
                            - screening
                            - interview
                            - offer
                            - rejected
                          type: string
                        count:
                          type: number
                      required:
                        - status
                        - count
                  bySource:
                    type: array
                    items:
                      type: object
                      properties:
                        source:
                          type: string
                        count:
                          type: number
                      required:
                        - source
                        - count
                required:
                  - total
                  - byStage
                  - bySource
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
      description: The API key to authenticate requests.

````