> ## 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 current subscription status



## OpenAPI

````yaml /openapi.json get /subscriptions/current
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:
  /subscriptions/current:
    get:
      tags:
        - Subscriptions
      summary: Get current subscription status
      operationId: SubscriptionController_getCurrentSubscription
      parameters: []
      responses:
        '200':
          description: Returns current subscription status and usage
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentSubscriptionResponseDto'
        '404':
          description: User not found
        '500':
          description: Internal server error
      security:
        - bearer: []
components:
  schemas:
    CurrentSubscriptionResponseDto:
      type: object
      properties:
        currentPlan:
          type: string
          description: Current subscription plan
          example: free
          enum:
            - free
            - pro
        status:
          type: string
          description: Subscription status
          example: active
          enum:
            - active
            - past_due
            - canceled
            - trialing
        limits:
          description: Plan limits
          allOf:
            - $ref: '#/components/schemas/PlanFeaturesDto'
        usage:
          description: Current usage metrics
          allOf:
            - $ref: '#/components/schemas/UsageMetricsDto'
      required:
        - currentPlan
        - status
        - limits
        - usage
    PlanFeaturesDto:
      type: object
      properties:
        monitorCount:
          description: Maximum number of monitors allowed
          example: 5
          oneOf:
            - type: number
            - type: string
              enum:
                - unlimited
        statusPageCount:
          description: Maximum number of status pages allowed
          example: 1
          oneOf:
            - type: number
            - type: string
              enum:
                - unlimited
        notificationChannels:
          type: array
          description: Available notification channels
          example:
            - email
          items:
            type: string
            enum:
              - email
              - slack
              - discord
              - teams
              - webhook
        checkFrequencyMinutes:
          type: number
          description: Minimum check frequency in minutes
          example: 5
        retentionDays:
          type: number
          description: Number of days to retain monitoring data
          example: 30
        projectCount:
          description: Maximum number of projects
          example: 1
          oneOf:
            - type: number
            - type: string
              enum:
                - unlimited
        teamMembersPerProject:
          description: Maximum team members per project
          example: 1
          oneOf:
            - type: number
            - type: string
              enum:
                - unlimited
        teamMembers:
          description: Maximum total team members across all projects
          example: 1
          oneOf:
            - type: number
            - type: string
              enum:
                - unlimited
        apiCallsPerDay:
          description: Maximum API calls per day
          example: 10000
          oneOf:
            - type: number
            - type: string
              enum:
                - unlimited
        storageLimit:
          description: Storage limit in MB
          example: 5120
          oneOf:
            - type: number
            - type: string
              enum:
                - unlimited
      required:
        - monitorCount
        - statusPageCount
        - notificationChannels
        - checkFrequencyMinutes
        - retentionDays
        - projectCount
        - teamMembersPerProject
        - teamMembers
        - apiCallsPerDay
        - storageLimit
    UsageMetricsDto:
      type: object
      properties:
        monitors:
          $ref: '#/components/schemas/PlanFeatureDto'
        statusPages:
          $ref: '#/components/schemas/PlanFeatureDto'
        teamMembers:
          $ref: '#/components/schemas/PlanFeatureDto'
        projects:
          $ref: '#/components/schemas/PlanFeatureDto'
        apiCalls:
          $ref: '#/components/schemas/PlanFeatureDto'
        storage:
          $ref: '#/components/schemas/PlanFeatureDto'
      required:
        - monitors
        - statusPages
        - teamMembers
        - projects
        - apiCalls
        - storage
    PlanFeatureDto:
      type: object
      properties:
        current:
          type: number
          description: Current usage value
          example: 3
        limit:
          description: Maximum limit allowed
          example: 5
          oneOf:
            - type: number
            - type: string
              enum:
                - unlimited
        percentage:
          type: number
          description: Usage percentage
          example: 60
      required:
        - current
        - limit
        - percentage
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````