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

# Get all upgrade requests



## OpenAPI

````yaml /openapi.json get /admin/upgrade-requests
openapi: 3.0.0
info:
  title: Uptime Monitor API
  description: >-
    API documentation for the Uptime Monitor application. This API allows users
    to create and manage website monitors, perform checks, and view statistics.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.justanotheruptime.com
security: []
tags:
  - name: auth
    description: Authentication endpoints
  - name: projects
    description: Project management endpoints
  - name: monitors
    description: Monitor management endpoints
  - name: checks
    description: Check-related endpoints
  - name: statistics
    description: Monitor statistics endpoints
paths:
  /admin/upgrade-requests:
    get:
      tags:
        - Admin
      summary: Get all upgrade requests
      operationId: AdminController_getUpgradeRequests
      parameters: []
      responses:
        '200':
          description: Returns a list of all upgrade requests
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UpgradeRequestDto'
      security:
        - bearer: []
components:
  schemas:
    UpgradeRequestDto:
      type: object
      properties:
        id:
          type: string
        userId:
          type: string
        name:
          type: string
        email:
          type: string
        targetSubscription:
          type: string
          enum:
            - free
            - pro
        message:
          type: string
        status:
          type: string
        adminNotes:
          type: string
        requestedAt:
          format: date-time
          type: string
        processedAt:
          format: date-time
          type: string
        processedBy:
          type: string
      required:
        - id
        - userId
        - name
        - email
        - targetSubscription
        - status
        - requestedAt
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````